python-zope.interface: update to 4.1.3
This commit is contained in:
parent
60e4d58385
commit
6fdaa972b2
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-zope.interface'
|
# Template file for 'python-zope.interface'
|
||||||
pkgname=python-zope.interface
|
pkgname=python-zope.interface
|
||||||
version=4.1.2
|
version=4.1.3
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -13,14 +13,14 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="https://pypi.python.org/pypi/zope.interface"
|
homepage="https://pypi.python.org/pypi/zope.interface"
|
||||||
license="ZPL"
|
license="ZPL"
|
||||||
distfiles="${PYPI_SITE}/z/zope.interface/zope.interface-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/z/zope.interface/zope.interface-${version}.tar.gz"
|
||||||
checksum=441fefcac1fbac57c55239452557d3598571ab82395198b2565a29d45d1232f6
|
checksum=2e221a9eec7ccc58889a278ea13dcfed5ef939d80b07819a9a8b3cb1c681484f
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# delete C source
|
# delete C source
|
||||||
find ${DESTDIR} -type f -name '*.c' -delete
|
find ${DESTDIR} -type f -name '*.c' -delete
|
||||||
# remove setuptools from requires.txt
|
# remove setuptools from requires.txt
|
||||||
find ${DESTDIR} -type f -name requires.txt -exec sed -i '/^setuptools$/d' {} \;
|
find ${DESTDIR} -type f -name requires.txt -exec sed -i '/^setuptools$/d' {} \;
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-zope.interface_package() {
|
python3.4-zope.interface_package() {
|
||||||
|
@ -29,6 +29,6 @@ python3.4-zope.interface_package() {
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
vlicense ${wrksrc}/LICENSE.txt
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue