aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker-py
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-04-26 15:42:33 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-05-08 09:19:09 +0000
commit226d3afec45ca34be09498d601b6eb5c384421d5 (patch)
tree4d8f33587dec7c1a48ef6558b951e2c9855b73c3 /community/docker-py
parent6b2783b657ea576fcf884325bac543b03080b483 (diff)
downloadaports-226d3afec45ca34be09498d601b6eb5c384421d5.tar.bz2
aports-226d3afec45ca34be09498d601b6eb5c384421d5.tar.xz
community/docker-py: upgrade to python3
Diffstat (limited to 'community/docker-py')
-rw-r--r--community/docker-py/APKBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/community/docker-py/APKBUILD b/community/docker-py/APKBUILD
index 0cf6ef3e5f..b2f5bc8cf5 100644
--- a/community/docker-py/APKBUILD
+++ b/community/docker-py/APKBUILD
@@ -7,26 +7,26 @@ pkgdesc="An API client for docker written in Python"
url="https://github.com/dotcloud/docker-py"
arch="noarch"
license="Apache"
-depends="python2 py2-requests py2-six py2-websocket-client dockerpy-creds
- py-ipaddress py-cffi py2-cparser py2-idna py2-packaging
- py2-parsing py2-cryptography py-enum34 py2-asn1crypto"
-makedepends="python2-dev py2-pip py-setuptools py2-six flake8 py-mock"
+depends="py3-requests py3-websocket-client dockerpy-creds
+ py3-ipaddress py3-cparser py3-packaging
+ py3-parsing py3-cryptography"
+makedepends="python3-dev py3-pip py3-setuptools py3-six py3-flake8 py3-mock"
source="$pkgname-$pkgver.tar.gz::https://github.com/docker/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
check() {
cd "$builddir"
- python2 setup.py check
+ python3 setup.py check
}
build() {
cd "$builddir"
- python2 setup.py build
+ python3 setup.py build
}
package() {
cd "$builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="c66f960bd507d8c4ed99e56480c24d11b13cf49420eee2f0934cede7516a8a9b984e5e0540a1d82d830768d3a5f0218dddd61255d55e7bd1b984072cd6e48a44 docker-py-3.2.1.tar.gz"