python-enum34: update to 1.1.10

This commit is contained in:
Colin Booth 2021-05-08 17:25:33 -07:00 committed by Érico Nogueira Rolim
parent 7a4d40a4ec
commit 8cf21eb0ed
1 changed files with 6 additions and 7 deletions

View File

@ -1,22 +1,21 @@
# Template file for 'python-enum34'
pkgname=python-enum34
version=1.1.6
revision=2
version=1.1.10
revision=1
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"
license="BSD-3-Clause"
homepage="https://pypi.org/project/enum34/"
distfiles="${PYPI_SITE}/e/enum34/enum34-${version}.tar.gz"
checksum=8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1
checksum=cce6a7477ed816bd2542d03d53db9f0db935dd013b70f336a95c73979289f248
pre_build() {
# remove doc
sed -i "/'enum' :/,+6d" setup.py
vsed -i "/'enum' :/,+6d" setup.py
}
post_install() {
vlicense enum/LICENSE