32 lines
981 B
Bash
32 lines
981 B
Bash
# Template file for 'python-zope.component'
|
|
pkgname=python-zope.component
|
|
version=4.5
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
build_style=python-module
|
|
pycompile_module="zope/component"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-setuptools python-zope.interface python-zope.event"
|
|
short_desc="Zope component architecture for Python2"
|
|
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
|
license="ZPL-2.1"
|
|
homepage="https://github.com/zopefoundation/zope.component"
|
|
distfiles="${PYPI_SITE}/z/zope.component/zope.component-${version}.tar.gz"
|
|
checksum=6edfd626c3b593b72895a8cfcf79bff41f4619194ce996a85bce31ac02b94e55
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|
|
|
|
python3-zope.component_package() {
|
|
noarch=yes
|
|
pycompile_module="zope/component"
|
|
depends="python3-setuptools python3-zope.interface python3-zope.event"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|
|
}
|