python-future: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
07254ea971
commit
42251a5e4f
2 changed files with 19 additions and 13 deletions
|
@ -1,15 +1,14 @@
|
||||||
# Template file for 'python-future'
|
# Template file for 'python-future'
|
||||||
pkgname=python-future
|
pkgname=python-future
|
||||||
version=0.15.2
|
version=0.15.2
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="future-${version}"
|
wrksrc="future-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
|
||||||
pycompile_module="_dummy_thread _markupbase _thread builtins configparser
|
pycompile_module="_dummy_thread _markupbase _thread builtins configparser
|
||||||
copyreg future html http libfuturize libpasteurize past queue reprlib
|
copyreg future html http libfuturize libpasteurize past queue reprlib
|
||||||
socketserver tkinter winreg xmlrpc"
|
socketserver tkinter winreg xmlrpc"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-setuptools"
|
depends="python-setuptools"
|
||||||
short_desc="Clean single-source support for Python 3 and 2 (Python2)"
|
short_desc="Clean single-source support for Python 3 and 2 (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
@ -19,27 +18,33 @@ distfiles="${PYPI_SITE}/f/future/future-${version}.tar.gz"
|
||||||
checksum=3d3b193f20ca62ba7d8782589922878820d0a023b885882deec830adbf639b97
|
checksum=3d3b193f20ca62ba7d8782589922878820d0a023b885882deec830adbf639b97
|
||||||
|
|
||||||
alternatives="
|
alternatives="
|
||||||
future:futurize:/usr/bin/futurize2.7
|
future:futurize:/usr/bin/futurize2
|
||||||
future:pasteurize:/usr/bin/pasteurize2.7"
|
future:pasteurize:/usr/bin/pasteurize2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-future_package() {
|
python3-future_package() {
|
||||||
alternatives="
|
alternatives="
|
||||||
future:futurize:/usr/bin/futurize3.4
|
future:futurize:/usr/bin/futurize3
|
||||||
future:pasteurize:/usr/bin/pasteurize3.4"
|
future:pasteurize:/usr/bin/pasteurize3"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_version="3.4"
|
replaces="python3.4-future>=0"
|
||||||
pycompile_module="_dummy_thread _markupbase _thread builtins configparser
|
pycompile_module="_dummy_thread _markupbase _thread builtins configparser
|
||||||
copyreg future html http libfuturize libpasteurize past queue reprlib
|
copyreg future html http libfuturize libpasteurize past queue reprlib
|
||||||
socketserver tkinter winreg xmlrpc"
|
socketserver tkinter winreg xmlrpc"
|
||||||
depends="python3.4-setuptools"
|
depends="python3-setuptools"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/*3.4
|
vmove usr/bin/*3
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-future_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-future>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-future
Symbolic link
1
srcpkgs/python3-future
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-future
|
Loading…
Reference in a new issue