24 lines
629 B
Bash
24 lines
629 B
Bash
# Template file for 'python-enum34'
|
|
pkgname=python-enum34
|
|
version=1.1.2
|
|
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=2475d7fcddf5951e92ff546972758802de5260bf409319a9f1934e6bbc8b1dc7
|
|
|
|
pre_build() {
|
|
# remove doc
|
|
sed -i "/'enum' :/,+6d" setup.py
|
|
}
|
|
post_install() {
|
|
vlicense enum/LICENSE
|
|
}
|