diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/py3-ndg_httpsclient/APKBUILD (renamed from community/py-ndg_httpsclient/APKBUILD) | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/community/py-ndg_httpsclient/APKBUILD b/community/py3-ndg_httpsclient/APKBUILD index 7d2caeca4e..02394c3342 100644 --- a/community/py-ndg_httpsclient/APKBUILD +++ b/community/py3-ndg_httpsclient/APKBUILD @@ -1,6 +1,6 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=py-ndg_httpsclient +# Maintainer: prspkt <prspkt@protonmail.com> +pkgname=py3-ndg_httpsclient _pkgname=ndg_httpsclient pkgver=0.4.4 pkgrel=1 @@ -8,20 +8,23 @@ pkgdesc="HTTPS client implementation for httplib and urllib2 based on PyOpenSSL" url="https://github.com/cedadev/ndg_httpsclient" arch="noarch" license="BSD" -depends="py-openssl py-asn1 py-setuptools" -makedepends="python2-dev" +depends="py3-openssl py3-asn1" +makedepends="py3-setuptools" source="$_pkgname-$pkgver.tar.gz::https://github.com/cedadev/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" +replaces=py-ndg_httpsclient # Backwards compatibility +provides=py-ndg_httpsclient=$pkgver-r$pkgrel # Backwards compatibility + build() { cd "$builddir" - python2 setup.py build + python3 setup.py build } package() { cd "$builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" + python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="604ea4a27915cd338549c0c51f5ec3419a56f1c24472b2ecded7cb7e9939a73b3b93cdbe0b62ea27793949aa035253f767f330ffcd8d1c044ae3516db99dc59c ndg_httpsclient-0.4.4.tar.gz" |