aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker-py
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-04-18 06:52:00 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-04-18 06:52:00 +0000
commit50f41e51bcdbc1d1ca013307a1c7cc62917794d4 (patch)
tree1f5405f0c0e7da6ab87c521a4306a6e14e758b65 /community/docker-py
parent66fa02797c9678e5208f36b7db2bd3d6adabfb6e (diff)
downloadaports-50f41e51bcdbc1d1ca013307a1c7cc62917794d4.tar.bz2
aports-50f41e51bcdbc1d1ca013307a1c7cc62917794d4.tar.xz
community/docker-py: upgrade to 2.2.1, modernize APKBUILD
Diffstat (limited to 'community/docker-py')
-rw-r--r--community/docker-py/APKBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/docker-py/APKBUILD b/community/docker-py/APKBUILD
index 6f1dbba99b..d2f0e3bd5f 100644
--- a/community/docker-py/APKBUILD
+++ b/community/docker-py/APKBUILD
@@ -1,29 +1,30 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=docker-py
-pkgver=1.10.6
+pkgver=2.2.1
pkgrel=0
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"
-makedepends="python2-dev py-setuptools py2-six flake8 py-mock"
-install=""
-subpackages=""
+makedepends="python2-dev py2-pip py-setuptools py2-six flake8 py-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
+}
+
build() {
cd "$builddir"
- python2 setup.py build || return 1
+ python2 setup.py build
}
package() {
cd "$builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="44de9fbfe0493473fcfa11f3a36befb3 docker-py-1.10.6.tar.gz"
-sha256sums="dd1aa55dbe507538318e51e5303077d146d5176abd6b05fe9bcde24c289410bc docker-py-1.10.6.tar.gz"
-sha512sums="6360f9743472c42b3b080204195a0ba62ec85503cc3d4053dca1fb68e8dbed54bd90ed530d9b6ed0b29367aecbe3731d076c89e8d49365c133754bc38c3f15b9 docker-py-1.10.6.tar.gz"
+sha512sums="9eda776d0055587e68a8933969d0b540c6439dd26fe4dfc13ee50c46ccf55294c130d625f235a74bb48bc58aff93e0371b79cfeb971588e9f7d745a3b6930dc5 docker-py-2.2.1.tar.gz"