1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/py3-httplib2/APKBUILD
2020-04-07 00:35:55 +01:00

28 lines
933 B
Text

# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-httplib2
_pkgname=httplib2
pkgver=0.17.1
pkgrel=0
pkgdesc="Python3 HTTP client library"
url="https://github.com/httplib2/httplib2"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
options="!check" # 54 of 121 tests in python3/httplib2test.py fail
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-httplib2" # Backwards compatibility
provides="py-httplib2=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="14857f9741955be5b3e5e4162e73d92aadbe8caaf1b25fc9d1fa54a6bdb04185f6aabe8996f42f1b9949fdd60f70f84a020c23cf0054b6ebac403475efafdadc httplib2-0.17.1.tar.gz"