aboutsummaryrefslogtreecommitdiffstats
path: root/community/dockerpy-creds/APKBUILD
blob: 1bf6067ff303be90611c504d474900bfbd79131b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"