mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
python3-humanize: update to 4.6.0.
This commit is contained in:
parent
02072f48d1
commit
01adf3d143
1 changed files with 12 additions and 4 deletions
|
@ -1,17 +1,25 @@
|
|||
# Template file for 'python3-humanize'
|
||||
pkgname=python3-humanize
|
||||
version=4.3.0
|
||||
revision=2
|
||||
version=4.6.0
|
||||
revision=1
|
||||
build_style=python3-pep517
|
||||
hostmakedepends="python3-setuptools_scm python3-wheel"
|
||||
hostmakedepends="hatchling hatch-vcs"
|
||||
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/python-humanize/humanize"
|
||||
changelog="https://github.com/python-humanize/humanize/releases"
|
||||
distfiles="${PYPI_SITE}/h/humanize/humanize-${version}.tar.gz"
|
||||
checksum=0dfac79fe8c1c0c734c14177b07b857bad9ae30dd50daa0a14e2c3d8054ee0c4
|
||||
checksum=5f1f22bc65911eb1a6ffe7659bd6598e33dcfeeb904eb16ee1e705a09bf75916
|
||||
make_check_pre="env PYTHONPATH=src"
|
||||
|
||||
post_patch() {
|
||||
# allow running tests without installing
|
||||
vsed -e "s/importlib_metadata\.version(__name__)/'${version}'/g" \
|
||||
-i src/humanize/__init__.py
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENCE
|
||||
|
|
Loading…
Add table
Reference in a new issue