aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-httplib2/APKBUILD
blob: c384e8be8e3dcb6c9e6e67b297644fdce67a41bb (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: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-httplib2
_pkgname=httplib2
pkgver=0.13.1
pkgrel=1
pkgdesc="Python3 HTTP client library"
url="https://github.com/httplib2/httplib2"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
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() {
	cd "$builddir"
	python3 setup.py build
}

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

sha512sums="c82e51481235d57660a7c93a639512c6b38bde60392f6da8e24b28f6083b54580d87f450bc333d5429fc2824cb0e367e3f9982ea97325a72c4289bec19fdc5e9  httplib2-0.13.1.tar.gz"