python-curl: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
071f46de03
commit
7eaf113272
|
@ -1,11 +1,10 @@
|
|||
# Template file for 'python-curl'
|
||||
pkgname=python-curl
|
||||
version=7.43.0
|
||||
revision=3
|
||||
revision=4
|
||||
wrksrc="pycurl-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-devel python3.4-devel"
|
||||
hostmakedepends="python-devel python3-devel"
|
||||
makedepends="libressl-devel libcurl-devel ${hostmakedepends}"
|
||||
pycompile_module="curl"
|
||||
short_desc="Python2 interface to cURL library"
|
||||
|
@ -19,11 +18,16 @@ pre_build() {
|
|||
sed -i "/setup_args\['data_files'\] = /d" setup.py
|
||||
}
|
||||
|
||||
python3.4-curl_package() {
|
||||
pycompile_version="3.4"
|
||||
python3-curl_package() {
|
||||
pycompile_module="curl"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-curl>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
||||
python3.4-curl_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-curl>=${version}_${revision}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-curl
Symbolic link
1
srcpkgs/python3-curl
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-curl
|
Loading…
Reference in New Issue
Block a user