void-packages/srcpkgs/python-enum34/template
2019-03-01 12:04:45 -03:00

24 lines
634 B
Bash

# Template file for 'python-enum34'
pkgname=python-enum34
version=1.1.6
revision=1
archs=noarch
wrksrc="enum34-${version}"
build_style=python2-module
hostmakedepends="python-setuptools"
depends="python"
pycompile_module="enum"
short_desc="Backport of Python 3.4 enum module"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://bitbucket.org/stoneleaf/enum34"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/e/enum34/enum34-${version}.tar.gz"
checksum=8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1
pre_build() {
# remove doc
sed -i "/'enum' :/,+6d" setup.py
}
post_install() {
vlicense enum/LICENSE
}