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
|
2014-06-30 13:45:14 +00:00
|
|
|
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"
|
2014-06-30 13:45:14 +00:00
|
|
|
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>"
|
2014-06-30 13:45:14 +00:00
|
|
|
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-06-30 13:45:14 +00:00
|
|
|
|
2014-11-11 22:01:46 +00:00
|
|
|
pre_build() {
|
|
|
|
# remove doc
|
|
|
|
sed -i "/'enum' :/,+6d" setup.py
|
2014-06-30 13:45:14 +00:00
|
|
|
}
|