aboutsummaryrefslogtreecommitdiffstats
path: root/community/dockerpy-creds/APKBUILD
blob: d4252c9e11a9f053c66fd852a914ee9e580912fd (plain)
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.3
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="c289461774c302ed4e6bf4e31bc107920cf66da9de4736eb9ec7ed56a53428357e2342802137ea69781772accf6369f2d0266a4b1135b3fe3edef81d77fa8880  dockerpy-creds-0.2.3.tar.gz"