python-trollius: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
ae44096a2a
commit
f1a3e674b5
2 changed files with 14 additions and 8 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-trollius'
|
# Template file for 'python-trollius'
|
||||||
pkgname=python-trollius
|
pkgname=python-trollius
|
||||||
version=2.1
|
version=2.1
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="trollius-${version}"
|
wrksrc="trollius-${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-six python-futures"
|
depends="python-six python-futures"
|
||||||
pycompile_module="trollius"
|
pycompile_module="trollius"
|
||||||
short_desc="Infrastructure for writing single-threaded concurrent code (Python2)"
|
short_desc="Infrastructure for writing single-threaded concurrent code (Python2)"
|
||||||
|
@ -16,13 +15,19 @@ license="Apache-2.0"
|
||||||
distfiles="${PYPI_SITE}/t/trollius/trollius-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/t/trollius/trollius-${version}.tar.gz"
|
||||||
checksum=cd165d9d9578d3aadbf26e71a88d9a70c4e444792a5628dc9af255f62030cc90
|
checksum=cd165d9d9578d3aadbf26e71a88d9a70c4e444792a5628dc9af255f62030cc90
|
||||||
|
|
||||||
python3.4-trollius_package() {
|
python3-trollius_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-six"
|
depends="python3-six"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="trollius"
|
pycompile_module="trollius"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-trollius>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-trollius_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-trollius>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-trollius
Symbolic link
1
srcpkgs/python3-trollius
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-trollius
|
Loading…
Add table
Add a link
Reference in a new issue