mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
27 lines
952 B
Text
27 lines
952 B
Text
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
# Maintainer: prspkt <prspkt@protonmail.com>
|
|
pkgname=py3-ndg_httpsclient
|
|
_pkgname=ndg_httpsclient
|
|
pkgver=0.5.1
|
|
pkgrel=4
|
|
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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="00f83f357289ba4c958b7a2857a577e11f62783243b40ad302c321d6a8718558e092f96a57ada4d8f5d4c3f97f3d26fb2674140f78e5633ab5bad65502d1b414 ndg_httpsclient-0.5.1.tar.gz"
|