void-packages/srcpkgs/python-trollius/template
2015-08-01 19:21:06 +02:00

28 lines
826 B
Bash

# Template file for 'python-trollius'
pkgname=python-trollius
version=2.0
revision=1
noarch=yes
wrksrc="trollius-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
pycompile_module="trollius"
short_desc="Infrastructure for writing single-threaded concurrent code"
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=a8e0e2d3a3193be3e0f113253f41675d2679d23c491f32b37f4e0a736f32a28f
python3.4-trollius_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="trollius"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}