python-zope.component: fix depends
While I'm here: minor fixes and cleanup.
This commit is contained in:
parent
286ee16f39
commit
5b9b2c6416
|
@ -1,33 +1,33 @@
|
|||
# Template file for 'python-zope.component'
|
||||
pkgname=python-zope.component
|
||||
version=4.2.2
|
||||
revision=1
|
||||
_distname=zope.component
|
||||
wrksrc="${_distname}-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="zope"
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_version="2.7"
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="zope/component"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
short_desc="The Python2 core of the Zope Component Architecture"
|
||||
depends="python-setuptools python-zope.interface python-zope.event"
|
||||
short_desc="Zope component architecture for Python2"
|
||||
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
||||
license="ZPL-2.1"
|
||||
homepage="https://github.com/zopefoundation/zope.component"
|
||||
distfiles="${PYPI_SITE}/$(printf %.1s $_distname)/${_distname}/${_distname}-${version}.tar.gz"
|
||||
license="ZPL-2.1"
|
||||
distfiles="${PYPI_SITE}/z/zope.component/zope.component-${version}.tar.gz"
|
||||
checksum=282c112b55dd8e3c869a3571f86767c150ab1284a9ace2bdec226c592acaf81a
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt
|
||||
vlicense LICENSE.txt LICENSE
|
||||
}
|
||||
|
||||
python3.4-zope.component_package() {
|
||||
noarch=yes
|
||||
depends="${depends/python-/python3.4-}"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="zope/component"
|
||||
depends="python3.4-setuptools python3.4-zope.interface python3.4-zope.event"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vlicense LICENSE.txt
|
||||
vlicense LICENSE.txt LICENSE
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue