void-packages/srcpkgs/python-trollius/template

29 lines
859 B
Bash
Raw Normal View History

2015-08-01 17:21:06 +00:00
# Template file for 'python-trollius'
pkgname=python-trollius
2016-02-20 16:52:41 +00:00
version=2.1
2016-05-31 22:40:22 +00:00
revision=2
2015-08-01 17:21:06 +00:00
noarch=yes
wrksrc="trollius-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
2016-05-31 22:40:22 +00:00
depends="python-six python-futures"
2015-08-01 17:21:06 +00:00
pycompile_module="trollius"
2016-05-31 22:40:22 +00:00
short_desc="Infrastructure for writing single-threaded concurrent code (Python2)"
2015-08-01 17:21:06 +00:00
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"
2016-02-20 16:52:41 +00:00
checksum=cd165d9d9578d3aadbf26e71a88d9a70c4e444792a5628dc9af255f62030cc90
2015-08-01 17:21:06 +00:00
python3.4-trollius_package() {
noarch=yes
2016-05-31 22:40:22 +00:00
depends="python3.4-six"
2015-08-01 17:21:06 +00:00
pycompile_version="3.4"
pycompile_module="trollius"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}