22 lines
572 B
Bash
22 lines
572 B
Bash
# Template file for 'python-enum34'
|
|
pkgname=python-enum34
|
|
version=1.0.4
|
|
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=d3c19f26a6a34629c18c775f59dfc5dd595764c722b57a2da56ebfb69b94e447
|
|
|
|
pre_build() {
|
|
# remove doc
|
|
sed -i "/'enum' :/,+6d" setup.py
|
|
}
|