1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/community/py3-google-auth-httplib2/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

31 lines
959 B
Text

# 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.1.0
pkgrel=2
pkgdesc="Google Authentication Library: httplib2 transport"
url="https://github.com/googleapis/google-auth-library-python-httplib2"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-google-auth py3-httplib2"
checkdepends="py3-flask py3-mock py3-pytest py3-pytest-localserver py3-six"
source="https://files.pythonhosted.org/packages/source/g/google-auth-httplib2/google-auth-httplib2-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
afc54c502046b29504641772ac135e2a11a6daaf6d76dcdb5daecebcd20887d098579eca8dab49fa59667544d323aee10bb99199d3c62e72582353dbddad88e2 google-auth-httplib2-0.1.0.tar.gz
"