python-backports_abc: remove python3 flavor; we use Python 3.5 now.

This commit is contained in:
Alessio Sergi 2016-10-20 19:34:00 +02:00
parent c32a92e576
commit 0ebfd3aab4
3 changed files with 4 additions and 23 deletions

View File

@ -1,33 +1,16 @@
# Template file for 'python-backports_abc'
pkgname=python-backports_abc
version=0.4
revision=2
revision=3
noarch=yes
wrksrc="backports_abc-${version}"
build_style=python-module
build_style=python2-module
pycompile_module="backports_abc.py"
hostmakedepends="python-setuptools python3-setuptools"
hostmakedepends="python-setuptools"
depends="python"
short_desc="Backport of collections.abc from Python 3.5 (Python2)"
short_desc="Backport of collections.abc from Python 3.5"
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-backports_abc_package() {
noarch=yes
depends="python3"
pycompile_module="backports_abc.py"
replaces="python3.4-backports_abc>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}
python3.4-backports_abc_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-backports_abc>=${version}_${revision}"
}

View File

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

View File

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