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

This commit is contained in:
Alessio Sergi 2016-10-20 19:39:26 +02:00
parent 5f87264e40
commit cf6f41b342
3 changed files with 4 additions and 23 deletions

View file

@ -1,33 +1,16 @@
# Template file for 'python-backports'
pkgname=python-backports
version=1.0
revision=2
revision=3
noarch=yes
wrksrc="backports-${version}"
build_style=python-module
build_style=python2-module
pycompile_module="backports"
hostmakedepends="python python3"
hostmakedepends="python"
depends="python"
short_desc="Namespace for backported Python features (Python2)"
short_desc="Namespace for backported Python features"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://bitbucket.org/brandon/backports"
license="PSF"
distfiles="https://dev.gentoo.org/~radhermit/dist/backports-${version}.tar.gz"
checksum=ee43d5b7bf4e79e04fbab30a09421cb5cbf4f56e7c14769393a7d1c34ea5e740
python3-backports_package() {
noarch=yes
depends="python3"
pycompile_module="backports"
replaces="python3.4-backports>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}
python3.4-backports_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-backports>=${version}_${revision}"
}

View file

@ -1 +0,0 @@
python-backports

View file

@ -1 +0,0 @@
python-backports