mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
python-httplib2: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
e993283ae6
commit
2bf2e919c6
2 changed files with 14 additions and 8 deletions
|
@ -1,13 +1,12 @@
|
||||||
# Template file for 'python-httplib2'
|
# Template file for 'python-httplib2'
|
||||||
pkgname=python-httplib2
|
pkgname=python-httplib2
|
||||||
version=0.9.2
|
version=0.9.2
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
wrksrc="httplib2-${version}"
|
wrksrc="httplib2-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
||||||
depends="python ca-certificates"
|
depends="python ca-certificates"
|
||||||
pycompile_module="httplib2"
|
pycompile_module="httplib2"
|
||||||
short_desc="A comprehensive HTTP client library (Python2)"
|
short_desc="A comprehensive HTTP client library (Python2)"
|
||||||
|
@ -21,13 +20,19 @@ post_extract() {
|
||||||
chmod -R a+rX .
|
chmod -R a+rX .
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-httplib2_package() {
|
python3-httplib2_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4"
|
depends="python3"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="httplib2"
|
pycompile_module="httplib2"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-httplib2>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-httplib2_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-httplib2>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-httplib2
Symbolic link
1
srcpkgs/python3-httplib2
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-httplib2
|
Loading…
Add table
Reference in a new issue