void-packages/srcpkgs/python-zope.component/template
2016-08-27 22:17:22 -04:00

33 lines
1 KiB
Bash

# Template file for 'python-zope.component'
pkgname=python-zope.component
version=4.3.0
revision=1
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"
depends="python-setuptools python-zope.interface python-zope.event"
short_desc="Zope component architecture for Python2"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
homepage="https://github.com/zopefoundation/zope.component"
license="ZPL-2.1"
distfiles="${PYPI_SITE}/z/zope.component/zope.component-${version}.tar.gz"
checksum=bb4136c7443610f8c2d2d357cad247c3e90bb5e6f0b7a02b0edfb11924ff9bc2
post_install() {
vlicense LICENSE.txt LICENSE
}
python3.4-zope.component_package() {
noarch=yes
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 LICENSE
}
}