python-curl: drop package
This commit is contained in:
parent
6f747b5406
commit
265d1de3a7
4 changed files with 22 additions and 33 deletions
|
@ -1,32 +0,0 @@
|
||||||
# Template file for 'python-curl'
|
|
||||||
pkgname=python-curl
|
|
||||||
version=7.43.0.3
|
|
||||||
revision=7
|
|
||||||
wrksrc="pycurl-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="curl"
|
|
||||||
hostmakedepends="python-devel python3-devel"
|
|
||||||
makedepends="libressl-devel libcurl-devel ${hostmakedepends}"
|
|
||||||
short_desc="Python2 interface to cURL library"
|
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
||||||
license="LGPL-2.1-or-later, MIT"
|
|
||||||
homepage="http://pycurl.io/"
|
|
||||||
distfiles="${PYPI_SITE}/p/pycurl/pycurl-${version}.tar.gz"
|
|
||||||
checksum=6f08330c5cf79fa8ef68b9912b9901db7ffd34b63e225dce74db56bb21deda8e
|
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
sed -i "/setup_args\['data_files'\] = /d" setup.py
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense COPYING-MIT
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-curl_package() {
|
|
||||||
pycompile_module="curl"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense COPYING-MIT
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-curl
|
|
22
srcpkgs/python3-curl/template
Normal file
22
srcpkgs/python3-curl/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Template file for 'python3-curl'
|
||||||
|
pkgname=python3-curl
|
||||||
|
version=7.43.0.3
|
||||||
|
revision=8
|
||||||
|
wrksrc="pycurl-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-devel"
|
||||||
|
makedepends="libressl-devel libcurl-devel ${hostmakedepends}"
|
||||||
|
short_desc="Python3 interface to cURL library"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="LGPL-2.1-or-later, MIT"
|
||||||
|
homepage="http://pycurl.io/"
|
||||||
|
distfiles="${PYPI_SITE}/p/pycurl/pycurl-${version}.tar.gz"
|
||||||
|
checksum=6f08330c5cf79fa8ef68b9912b9901db7ffd34b63e225dce74db56bb21deda8e
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
vsed -i "/setup_args\['data_files'\] = /d" setup.py
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense COPYING-MIT
|
||||||
|
}
|
Loading…
Reference in a new issue