# Contributor: Carlo Landmeter # Maintainer: prspkt pkgname=py3-ndg_httpsclient _pkgname=ndg_httpsclient pkgver=0.5.1 pkgrel=1 pkgdesc="HTTPS client implementation for httplib and urllib2 based on PyOpenSSL" url="https://github.com/cedadev/ndg_httpsclient" arch="noarch" license="BSD-2-Clause" depends="py3-openssl py3-asn1" makedepends="py3-setuptools" source="$_pkgname-$pkgver.tar.gz::https://github.com/cedadev/ndg_httpsclient/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces=py-ndg_httpsclient # Backwards compatibility provides=py-ndg_httpsclient=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="00f83f357289ba4c958b7a2857a577e11f62783243b40ad302c321d6a8718558e092f96a57ada4d8f5d4c3f97f3d26fb2674140f78e5633ab5bad65502d1b414 ndg_httpsclient-0.5.1.tar.gz"