python-zope.interface: update to 4.2.0
This commit is contained in:
parent
2dfd493d10
commit
8fdd2282fe
|
@ -1,31 +1,35 @@
|
|||
# Template file for 'python-zope.interface'
|
||||
pkgname=python-zope.interface
|
||||
version=4.1.3
|
||||
version=4.2.0
|
||||
revision=1
|
||||
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"
|
||||
pycompile_module="zope/interface"
|
||||
depends="python-setuptools"
|
||||
short_desc="Zope interfaces for Python2"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="https://pypi.python.org/pypi/zope.interface"
|
||||
license="ZPL"
|
||||
license="ZPL-2.1"
|
||||
distfiles="${PYPI_SITE}/z/zope.interface/zope.interface-${version}.tar.gz"
|
||||
checksum=2e221a9eec7ccc58889a278ea13dcfed5ef939d80b07819a9a8b3cb1c681484f
|
||||
checksum=36762743940a075283e1fb22a2ec9e8231871dace2aa00599511ddc4edf0f8f9
|
||||
|
||||
post_install() {
|
||||
# delete C source
|
||||
find ${DESTDIR} -type f -name '*.c' -delete
|
||||
# remove setuptools from requires.txt
|
||||
find ${DESTDIR} -type f -name requires.txt -exec sed -i '/^setuptools$/d' {} \;
|
||||
# zope.interface provides the zope namespace
|
||||
for pyver in $python_versions; do
|
||||
vinstall src/zope/__init__.py 644 usr/lib/python${pyver}/site-packages/zope
|
||||
done
|
||||
vlicense LICENSE.txt LICENSE
|
||||
}
|
||||
|
||||
python3.4-zope.interface_package() {
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="zope/interface"
|
||||
pycompile_module="zope"
|
||||
depends="python3.4-setuptools"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
|
|
Loading…
Reference in New Issue