python-zope.interface: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
e391cadb45
commit
461ebc2ad9
2 changed files with 14 additions and 9 deletions
|
@ -1,13 +1,12 @@
|
|||
# Template file for 'python-zope.interface'
|
||||
pkgname=python-zope.interface
|
||||
version=4.3.2
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="zope"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
makedepends="python-devel python3.4-devel"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
makedepends="python-devel python3-devel"
|
||||
depends="python-setuptools"
|
||||
short_desc="Zope interfaces for Python2"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -26,13 +25,18 @@ post_install() {
|
|||
vlicense LICENSE.txt LICENSE
|
||||
}
|
||||
|
||||
python3.4-zope.interface_package() {
|
||||
pycompile_version="3.4"
|
||||
python3-zope.interface_package() {
|
||||
pycompile_module="zope"
|
||||
depends="python3.4-setuptools"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-zope.interface>=0"
|
||||
depends="python3-setuptools"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
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}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-zope.interface
Symbolic link
1
srcpkgs/python3-zope.interface
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-zope.interface
|
Loading…
Reference in a new issue