python3-humanize: update to 4.3.0.
This commit is contained in:
parent
9cfe604afc
commit
05c28db126
|
@ -1,25 +1,18 @@
|
|||
# Template file for 'python3-humanize'
|
||||
pkgname=python3-humanize
|
||||
version=2.0.0
|
||||
revision=5
|
||||
version=4.3.0
|
||||
revision=1
|
||||
wrksrc="humanize-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools_scm"
|
||||
build_style=python3-pep517
|
||||
hostmakedepends="python3-setuptools_scm python3-wheel"
|
||||
depends="python3"
|
||||
checkdepends="python3-pytest python3-freezegun"
|
||||
short_desc="Python humanize utilities"
|
||||
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/jmoiron/humanize"
|
||||
homepage="https://github.com/python-humanize/humanize"
|
||||
distfiles="${PYPI_SITE}/h/humanize/humanize-${version}.tar.gz"
|
||||
checksum=1766e8b82772abdf54a0b3620b14b21b36feba5160401838f97d18a4c58c7f71
|
||||
|
||||
do_patch() {
|
||||
# This line calls 'pkg_resources' and breaks testing due to a
|
||||
# missing distribution (possibly because it expects the package
|
||||
# to have already been installed).
|
||||
sed -i "s/VERSION = .*$/VERSION = '${version}'/" src/humanize/__init__.py
|
||||
}
|
||||
checksum=0dfac79fe8c1c0c734c14177b07b857bad9ae30dd50daa0a14e2c3d8054ee0c4
|
||||
|
||||
post_install() {
|
||||
vlicense LICENCE
|
||||
|
|
Loading…
Reference in New Issue