aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/docker-py/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/docker-py/APKBUILD b/testing/docker-py/APKBUILD
new file mode 100644
index 0000000000..6813dcc9b3
--- /dev/null
+++ b/testing/docker-py/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=docker-py
+pkgver=1.7.2
+pkgrel=0
+pkgdesc="An API client for docker written in Python"
+url="https://github.com/dotcloud/docker-py"
+arch="noarch"
+license="APACHE"
+depends="python py-requests py-six py-websocket-client"
+depends_dev=""
+makedepends="$depends_dev python-dev py-setuptools py-six flake8 py-mock"
+install=""
+subpackages=""
+source="$pkgname-$pkgver.tar.gz::https://github.com/docker/$pkgname/archive/$pkgver.tar.gz"
+
+builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="00f7c1025893e6b2f3b423ad4d60ead6 docker-py-1.7.2.tar.gz"
+sha256sums="695c6e5dba8fbc191e3eb15889ba5353a2d44b0d52467656ced4e092c439be90 docker-py-1.7.2.tar.gz"
+sha512sums="1fa5e40b07044145fcdb5b1231b4c852f8df4d2f0feaecc386eb82efd71e598afd982104de475fce6eb6b68a6a8fb320451466bcc39ae96c43cf8c5403c0588f docker-py-1.7.2.tar.gz"