33 lines
1,023 B
Bash
33 lines
1,023 B
Bash
# Template file for 'python-trollius'
|
|
pkgname=python-trollius
|
|
version=2.1
|
|
revision=3
|
|
noarch=yes
|
|
wrksrc="trollius-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-six python-futures"
|
|
pycompile_module="trollius"
|
|
short_desc="Infrastructure for writing single-threaded concurrent code (Python2)"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
homepage="https://github.com/haypo/trollius"
|
|
license="Apache-2.0"
|
|
distfiles="${PYPI_SITE}/t/trollius/trollius-${version}.tar.gz"
|
|
checksum=cd165d9d9578d3aadbf26e71a88d9a70c4e444792a5628dc9af255f62030cc90
|
|
|
|
python3-trollius_package() {
|
|
noarch=yes
|
|
depends="python3-six"
|
|
pycompile_module="trollius"
|
|
replaces="python3.4-trollius>=0"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
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}"
|
|
}
|