summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 72a685ee6b65b60b7c5c3a4264ca3701cc21ae24 (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
31
32
33
# Maintainer: Matthew McGinn <mamcgi@gmail.com>
# Contributor: Andrew Crerar <crerar@archlinux.org>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Hideaki Takahashi <mymelo+aur@gmail.com>
# Contributor: Vincent Demeester <vincent@sbr.pm>

pkgname=python2-docker-pycreds
pkgver=0.4.0
pkgrel=1
pkgdesc="Python bindings for the docker credentials store API"
arch=('any')
license=('Apache')
url="https://github.com/shin-/dockerpy-creds"
depends=('python2-six')
makedepends=('python2-setuptools')
checkdepends=('python2-pytest-runner' 'flake8' 'python2-pytest-cov')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/shin-/dockerpy-creds/archive/${pkgver}.tar.gz")
sha512sums=('5c7c75a654693c6439592201bba6082af2962fab8d25af980ebb3ad2aede42973c31dbc2693eea1212f911980725bab257f973c7498b3555f68fae1630cfc62c')

build() {
  cd "${srcdir}"/dockerpy-creds-${pkgver}
  python2 setup.py build
}

check_disabled() {
  cd "${srcdir}"/dockerpy-creds-${pkgver}
  python2 setup.py pytest
}

package() {
  cd dockerpy-creds-${pkgver}
  python2 setup.py install --root="${pkgdir}" --optimize=1
}