python-ndg_httpsclient: drop package
This commit is contained in:
parent
7955f08fd6
commit
2d89611f8a
3 changed files with 19 additions and 35 deletions
|
@ -1,34 +0,0 @@
|
||||||
# Template file for 'python-ndg_httpsclient'
|
|
||||||
pkgname=python-ndg_httpsclient
|
|
||||||
version=0.5.1
|
|
||||||
revision=2
|
|
||||||
archs=noarch
|
|
||||||
wrksrc="ndg_httpsclient-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="ndg/httpsclient"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python-openssl python-pyasn1"
|
|
||||||
short_desc="HTTPS support for httplib and urllib2 (Python2)"
|
|
||||||
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
|
||||||
license="BSD-3-Clause"
|
|
||||||
homepage="https://github.com/cedadev/ndg_httpsclient"
|
|
||||||
distfiles="${PYPI_SITE}/n/ndg_httpsclient/ndg_httpsclient-${version}.tar.gz"
|
|
||||||
checksum=d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210
|
|
||||||
alternatives="ndg_httpclient:ndg_httpclient:/usr/bin/ndg_httpclient2"
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense ndg/httpsclient/LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-ndg_httpsclient_package() {
|
|
||||||
archs=noarch
|
|
||||||
depends="python3-openssl python3-pyasn1"
|
|
||||||
pycompile_module="ndg/httpsclient"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
alternatives="ndg_httpclient:ndg_httpclient:/usr/bin/ndg_httpclient3"
|
|
||||||
pkg_install() {
|
|
||||||
vmove "usr/bin/*3"
|
|
||||||
vmove "usr/lib/python3*"
|
|
||||||
vlicense ndg/httpsclient/LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-ndg_httpsclient
|
|
19
srcpkgs/python3-ndg_httpsclient/template
Normal file
19
srcpkgs/python3-ndg_httpsclient/template
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Template file for 'python3-ndg_httpsclient'
|
||||||
|
pkgname=python3-ndg_httpsclient
|
||||||
|
version=0.5.1
|
||||||
|
revision=3
|
||||||
|
wrksrc="ndg_httpsclient-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3-openssl python3-pyasn1"
|
||||||
|
short_desc="HTTPS support for httplib and urllib2 (Python3)"
|
||||||
|
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
||||||
|
license="BSD-3-Clause"
|
||||||
|
homepage="https://github.com/cedadev/ndg_httpsclient"
|
||||||
|
distfiles="${PYPI_SITE}/n/ndg_httpsclient/ndg_httpsclient-${version}.tar.gz"
|
||||||
|
checksum=d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210
|
||||||
|
conflicts="python-ndg_httpsclient>=0"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense ndg/httpsclient/LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue