aboutsummaryrefslogtreecommitdiffstats
path: root/community/dockerpy-creds/APKBUILD
blob: 962215d56dba8a33b1f16687e2fafea8d5241773 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=dockerpy-creds
pkgver=0.4.0
pkgrel=2
pkgdesc="Python bindings for the docker credentials store API"
url="https://github.com/shin-/dockerpy-creds"
arch="noarch"
license="Apache-2.0"
depends="py3-six"
makedepends="py3-setuptools python3-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/shin-/dockerpy-creds/archive/$pkgver.tar.gz"

check() {
    cd "$builddir"
    python3 setup.py check
}

build() {
    cd "$builddir"
    python3 setup.py build
}

package() {
    cd "$builddir"
    python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="5c7c75a654693c6439592201bba6082af2962fab8d25af980ebb3ad2aede42973c31dbc2693eea1212f911980725bab257f973c7498b3555f68fae1630cfc62c  dockerpy-creds-0.4.0.tar.gz"