aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-google-auth-httplib2/APKBUILD
blob: 7eb1cf94dc58133b88ad86dff1c0b284a9565434 (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: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=py3-google-auth-httplib2
_pyname=google-auth-httplib2
pkgver=0.0.3
pkgrel=1
pkgdesc="Google Authentication Library: httplib2 transport"
url="https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-google-auth py3-httplib2 py3-six"
checkdepends="py3-flask py3-mock py3-pytest py3-pytest-localserver"
source="https://files.pythonhosted.org/packages/source/g/${_pyname}/${_pyname}-${pkgver}.tar.gz"

builddir="$srcdir/$_pyname-$pkgver"


build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="da9d280f2ab3f9d99e2f011d56d94b09a12e85a5a1e9f78933a93cc57c7778d9002e1a023552a2611283da696334ba795cd7e8003b311db05e9b6b40aca34dc7  google-auth-httplib2-0.0.3.tar.gz"