python-zope.interface: rebuild for Python 3.5

Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
Alessio Sergi 2016-10-16 22:19:59 +02:00
parent e391cadb45
commit 461ebc2ad9
2 changed files with 14 additions and 9 deletions

View file

@ -1,13 +1,12 @@
# Template file for 'python-zope.interface' # Template file for 'python-zope.interface'
pkgname=python-zope.interface pkgname=python-zope.interface
version=4.3.2 version=4.3.2
revision=1 revision=2
wrksrc="${pkgname#*-}-${version}" wrksrc="${pkgname#*-}-${version}"
build_style=python-module build_style=python-module
python_versions="2.7 3.4"
pycompile_module="zope" pycompile_module="zope"
hostmakedepends="python-setuptools python3.4-setuptools" hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3.4-devel" makedepends="python-devel python3-devel"
depends="python-setuptools" depends="python-setuptools"
short_desc="Zope interfaces for Python2" short_desc="Zope interfaces for Python2"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -26,13 +25,18 @@ post_install() {
vlicense LICENSE.txt LICENSE vlicense LICENSE.txt LICENSE
} }
python3.4-zope.interface_package() { python3-zope.interface_package() {
pycompile_version="3.4"
pycompile_module="zope" pycompile_module="zope"
depends="python3.4-setuptools" replaces="python3.4-zope.interface>=0"
short_desc="${short_desc/Python2/Python3.4}" depends="python3-setuptools"
short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {
vmove usr/lib/python3.4 vmove usr/lib/python3*
vlicense LICENSE.txt LICENSE vlicense LICENSE.txt LICENSE
} }
} }
python3.4-zope.interface_package() {
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-zope.interface>=${version}_${revision}"
}

View file

@ -0,0 +1 @@
python-zope.interface