python-zope.interface: update to 4.3.3

This commit is contained in:
Alessio Sergi 2016-12-15 11:09:33 +01:00
parent 6e594bd153
commit d149a9712a

View file

@ -1,7 +1,7 @@
# Template file for 'python-zope.interface'
pkgname=python-zope.interface
version=4.3.2
revision=2
version=4.3.3
revision=1
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="zope"
@ -10,17 +10,17 @@ makedepends="python-devel python3-devel"
depends="python-setuptools"
short_desc="Zope interfaces for Python2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://pypi.python.org/pypi/zope.interface"
homepage="https://github.com/zopefoundation/zope.interface"
license="ZPL-2.1"
distfiles="${PYPI_SITE}/z/zope.interface/zope.interface-${version}.tar.gz"
checksum=6a0e224a052e3ce27b3a7b1300a24747513f7a507217fcc2a4cb02eb92945cee
checksum=8780ef68ca8c3fe1abb30c058a59015129d6e04a6b02c2e56b9c7de6078dfa88
post_install() {
# delete C source
find ${DESTDIR} -type f -name '*.c' -delete
# 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
for py_sitelib in $py2_sitelib $py3_sitelib; do
vinstall src/zope/__init__.py 644 ${py_sitelib}/zope
done
vlicense LICENSE.txt LICENSE
}