aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-ndg_httpsclient/APKBUILD
blob: 65649ca921fe7fcef82e943015fe8a1b9cd57f87 (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
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"