void-packages/srcpkgs/python-enum34/template

25 lines
631 B
Bash

# Template file for 'python-enum34'
pkgname=python-enum34
version=1.1.5
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://bitbucket.org/stoneleaf/enum34"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/e/enum34/enum34-${version}.tar.gz"
checksum=35cf09a65db802269a76b7df60f548940575579a0e8a00ec45294995d28b0862
pre_build() {
# remove doc
sed -i "/'enum' :/,+6d" setup.py
}
post_install() {
vlicense enum/LICENSE
}