New package: python-backports_abc-0.4

This commit is contained in:
Alessio Sergi 2016-06-24 20:14:14 +02:00
parent 7495d9fbe1
commit 090a8e77e1
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,28 @@
# Template file for 'python-backports_abc'
pkgname=python-backports_abc
version=0.4
revision=1
noarch=yes
wrksrc="backports_abc-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="backports_abc.py"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
short_desc="Backport of collections.abc from Python 3.5 (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/cython/backports_abc"
license="PSF"
distfiles="${PYPI_SITE}/b/backports_abc/backports_abc-${version}.tar.gz"
checksum=8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5
python3.4-backports_abc_package() {
noarch=yes
pycompile_version="3.4"
pycompile_module="backports_abc.py"
depends="python3.4"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}

View file

@ -0,0 +1 @@
python-backports_abc