void-packages/srcpkgs/python-enum34/template
2014-11-11 23:01:46 +01:00

21 lines
578 B
Text

# Template file for 'python-enum34'
pkgname=python-enum34
version=1.0.3
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="Steven R <dev@styez.com>"
homepage="https://pypi.python.org/pypi/enum34/"
license="BSD"
distfiles="${PYPI_SITE}/e/enum34/enum34-${version}.tar.gz"
checksum=399bb2814e4fcf3d1fe3ab3bb582e16b5c0edc357cbf6356911e7f246a2fe84c
pre_build() {
# remove doc
sed -i "/'enum' :/,+6d" setup.py
}