New package: python-zope.interface-4.1.1 with python3.4 subpkg, replaces zope.interface
Switch to setuptools; revbump Twisted.
This commit is contained in:
parent
fbe2361b75
commit
117a1b72eb
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'Twisted'
|
# Template file for 'Twisted'
|
||||||
pkgname=Twisted
|
pkgname=Twisted
|
||||||
version=14.0.0
|
version=14.0.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-devel zope.interface>=4.0.1 python-crypto python-openssl"
|
hostmakedepends="python-devel python-zope.interface>=4.0.1 python-crypto python-openssl"
|
||||||
makedepends="${hostmakedepends}"
|
makedepends="${hostmakedepends}"
|
||||||
depends="${makedepends/python-devel/}"
|
depends="${makedepends/python-devel/}"
|
||||||
pycompile_module="twisted"
|
pycompile_module="twisted"
|
||||||
|
@ -13,3 +13,7 @@ homepage="http://twistedmatrix.com/"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="https://pypi.python.org/packages/source/T/Twisted/Twisted-${version}.tar.bz2"
|
distfiles="https://pypi.python.org/packages/source/T/Twisted/Twisted-${version}.tar.bz2"
|
||||||
checksum=bdfd961ac2216f5c65b07f2c3a5e5116f6713b8c1cf076c40010c64810d26963
|
checksum=bdfd961ac2216f5c65b07f2c3a5e5116f6713b8c1cf076c40010c64810d26963
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
# Template file for 'python-zope.interface'
|
||||||
|
pkgname=python-zope.interface
|
||||||
|
version=4.1.1
|
||||||
|
revision=2
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
python-zope.interface
|
|
@ -1,14 +0,0 @@
|
||||||
# Template file for 'zope.interface'
|
|
||||||
pkgname=zope.interface
|
|
||||||
version=4.1.1
|
|
||||||
revision=1
|
|
||||||
build_style=python-module
|
|
||||||
hostmakedepends="python-distribute"
|
|
||||||
makedepends="python-devel"
|
|
||||||
pycompile_module="zope/interface"
|
|
||||||
short_desc="zope.interface package from Zope 3"
|
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
||||||
homepage="http://pypi.python.org/pypi/zope.interface"
|
|
||||||
license="ZPL"
|
|
||||||
distfiles="http://pypi.python.org/packages/source/z/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
||||||
checksum=91cba7b7cd7cb82f6f4e023fe77f94dc3df4ae5287fd55def2148dc232d0c7da
|
|
Loading…
Reference in New Issue