void-packages/srcpkgs/python-enum34/template
2015-11-30 23:25:14 +01:00

24 lines
629 B
Bash

# Template file for 'python-enum34'
pkgname=python-enum34
version=1.1.1
revision=1
noarch=yes
wrksrc="enum34-${version}"
build_style="python-module"
hostmakedepends="python-setuptools"
depends="python"
pycompile_module="enum"
short_desc="Backport of Python 3.4 enum module"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://pypi.python.org/pypi/enum34/"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/e/enum34/enum34-${version}.tar.gz"
checksum=9d4a9220e4ebabd7ff60d853e69c3dd89debad5ddeb9ac5e768af811ece7708e
pre_build() {
# remove doc
sed -i "/'enum' :/,+6d" setup.py
}
post_install() {
vlicense enum/LICENSE
}