mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
community/py3-ndg_httpsclient: clarify license, modernize
Signed-off-by: prspkt <prspkt@protonmail.com>
This commit is contained in:
parent
c150418316
commit
7b830a8dbd
@ -7,23 +7,20 @@ pkgrel=1
|
||||
pkgdesc="HTTPS client implementation for httplib and urllib2 based on PyOpenSSL"
|
||||
url="https://github.com/cedadev/ndg_httpsclient"
|
||||
arch="noarch"
|
||||
license="BSD"
|
||||
license="BSD-2-Clause"
|
||||
depends="py3-openssl py3-asn1"
|
||||
makedepends="py3-setuptools"
|
||||
source="$_pkgname-$pkgver.tar.gz::https://github.com/cedadev/$_pkgname/archive/$pkgver.tar.gz"
|
||||
|
||||
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() {
|
||||
cd "$builddir"
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user