void-packages/srcpkgs/python-enum34/template

22 lines
565 B
Bash

# Template file for 'python-enum34'
pkgname=python-enum34
version=1.1.10
revision=1
build_style=python2-module
hostmakedepends="python-setuptools"
depends="python"
short_desc="Backport of Python 3.4 enum module"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://pypi.org/project/enum34/"
distfiles="${PYPI_SITE}/e/enum34/enum34-${version}.tar.gz"
checksum=cce6a7477ed816bd2542d03d53db9f0db935dd013b70f336a95c73979289f248
pre_build() {
# remove doc
vsed -i "/'enum' :/,+6d" setup.py
}
post_install() {
vlicense enum/LICENSE
}