python-zope.interface: update to 4.1.2
This commit is contained in:
parent
b8745a7b5d
commit
344098bfae
|
@ -1,38 +1,34 @@
|
|||
# Template file for 'python-zope.interface'
|
||||
pkgname=python-zope.interface
|
||||
version=4.1.1
|
||||
revision=2
|
||||
version=4.1.2
|
||||
revision=1
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
makedepends="python-devel python3.4-devel"
|
||||
depends="python"
|
||||
replaces="zope.interface>=0"
|
||||
pycompile_module="zope/interface"
|
||||
short_desc="Zope interfaces for Python2"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="https://pypi.python.org/pypi/zope.interface"
|
||||
license="ZPL"
|
||||
distfiles="https://pypi.python.org/packages/source/z/zope.interface/zope.interface-${version}.tar.gz"
|
||||
checksum=91cba7b7cd7cb82f6f4e023fe77f94dc3df4ae5287fd55def2148dc232d0c7da
|
||||
|
||||
pre_install() {
|
||||
# delete C sources
|
||||
find . -name '*.c' -type f -delete
|
||||
}
|
||||
distfiles="${PYPI_SITE}/z/zope.interface/zope.interface-${version}.tar.gz"
|
||||
checksum=441fefcac1fbac57c55239452557d3598571ab82395198b2565a29d45d1232f6
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt LICENSE
|
||||
# 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' {} \;
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
|
||||
python3.4-zope.interface_package() {
|
||||
depends="python3.4"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="zope/interface"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vlicense ${wrksrc}/LICENSE.txt LICENSE
|
||||
vlicense ${wrksrc}/LICENSE.txt
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue