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
@ -1,12 +1,11 @@
|
||||
# Template file for 'python-trollius'
|
||||
pkgname=python-trollius
|
||||
version=2.1
|
||||
revision=2
|
||||
revision=3
|
||||
noarch=yes
|
||||
wrksrc="trollius-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-six python-futures"
|
||||
pycompile_module="trollius"
|
||||
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"
|
||||
checksum=cd165d9d9578d3aadbf26e71a88d9a70c4e444792a5628dc9af255f62030cc90
|
||||
|
||||
python3.4-trollius_package() {
|
||||
python3-trollius_package() {
|
||||
noarch=yes
|
||||
depends="python3.4-six"
|
||||
pycompile_version="3.4"
|
||||
depends="python3-six"
|
||||
pycompile_module="trollius"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-trollius>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
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…
Reference in New Issue
Block a user