diff options
-rw-r--r-- | community/dockerpy-creds/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/dockerpy-creds/APKBUILD b/community/dockerpy-creds/APKBUILD new file mode 100644 index 0000000000..57f30d9727 --- /dev/null +++ b/community/dockerpy-creds/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=dockerpy-creds +pkgver=0.2.1 +pkgrel=0 +pkgdesc="Python bindings for the docker credentials store API" +url="https://github.com/shin-/dockerpy-creds" +arch="noarch" +license="APACHE" +depends="python2 py2-six" +makedepends="python2-dev py-setuptools" +source="$pkgname-$pkgver.tar.gz::https://github.com/shin-/dockerpy-creds/archive/$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +check() { + cd "$builddir" + python2 setup.py check +} + +build() { + cd "$builddir" + python2 setup.py build +} + +package() { + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="456c3fc8d0ed2fda7ec7cf9f455e7a6511e8bac84f9deb16ede0a907a3ed6538777174f8367ece656f9cf4f947d9f2cdbd971e5d7867049c3b1f4c09e2314d50 dockerpy-creds-0.2.1.tar.gz" |