python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / python-zope.event / template
blobcd5639a2b4dfc612a61e75702571233d5e2e5e86
1 # Template file for 'python-zope.event'
2 pkgname=python-zope.event
3 version=4.3.0
4 revision=2
5 noarch=yes
6 wrksrc="${pkgname#*-}-${version}"
7 build_style=python-module
8 pycompile_module="zope/event"
9 hostmakedepends="python-setuptools python3-setuptools"
10 depends="python-setuptools"
11 short_desc="Very basic event publishing system (Python2)"
12 maintainer="Toyam Cox <Vaelatern@gmail.com>"
13 homepage="https://github.com/zopefoundation/zope.event"
14 license="ZPL-2.1"
15 distfiles="${PYPI_SITE}/z/zope.event/zope.event-${version}.tar.gz"
16 checksum=e0ecea24247a837c71c106b0341a7a997e3653da820d21ef6c08b32548f733e7
18 post_install() {
19         vlicense LICENSE.txt LICENSE
22 python3-zope.event_package() {
23         noarch=yes
24         pycompile_module="zope/event"
25         depends="python3-setuptools"
26         short_desc="${short_desc/Python2/Python3}"
27         pkg_install() {
28                 vmove usr/lib/python3*
29                 vlicense LICENSE.txt LICENSE
30         }