void-packages/srcpkgs/python-enum34/template

25 lines
631 B
Bash

# Template file for 'python-enum34'
pkgname=python-enum34
version=1.1.3
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=865506c22462236b3a2e87a7d9587633e18470e7a93a79b594791de2d31e9bc8
pre_build() {
# remove doc
sed -i "/'enum' :/,+6d" setup.py
}
post_install() {
vlicense enum/LICENSE
}