void-packages/srcpkgs/python-enum34/template

22 lines
578 B
Text
Raw Normal View History

2014-05-06 22:43:38 +00:00
# Template file for 'python-enum34'
pkgname=python-enum34
2014-11-11 22:01:46 +00:00
version=1.0.3
revision=1
noarch=yes
wrksrc="enum34-${version}"
2014-05-06 22:43:38 +00:00
build_style="python-module"
2014-11-11 22:01:46 +00:00
hostmakedepends="python-setuptools"
depends="python"
2014-11-11 22:01:46 +00:00
pycompile_module="enum"
short_desc="Backport of Python 3.4 enum module"
2014-05-06 22:43:38 +00:00
maintainer="Steven R <dev@styez.com>"
homepage="https://pypi.python.org/pypi/enum34/"
2014-05-06 22:43:38 +00:00
license="BSD"
2014-11-11 22:01:46 +00:00
distfiles="${PYPI_SITE}/e/enum34/enum34-${version}.tar.gz"
checksum=399bb2814e4fcf3d1fe3ab3bb582e16b5c0edc357cbf6356911e7f246a2fe84c
2014-11-11 22:01:46 +00:00
pre_build() {
# remove doc
sed -i "/'enum' :/,+6d" setup.py
}