void-packages/srcpkgs/python-enum34/template

25 lines
701 B
Bash

# Template file for 'python-enum34'
pkgname=python-enum34
version=1.1.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="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://bitbucket.org/stoneleaf/enum34"
license="3-clause-BSD"
distfiles="https://pypi.io/packages/eb/c2/ea4077a72a167fb75f38bac63801910dfa2d5083e23ddaa0c4062848f78c/enum34-${version}.tar.gz"
checksum=0efc3e3ee0cb7cc12ea9e4813cdf1154f69ab47e518f4924fbd9e238df41d628
pre_build() {
# remove doc
sed -i "/'enum' :/,+6d" setup.py
}
post_install() {
vlicense enum/LICENSE
}