void-packages/srcpkgs/python3-humanize/template
icp 5a9a6c693d
python3-humanize: update to 4.11.0.
Closes: #54023 [via git-merge-pr]
2025-02-17 22:44:10 -05:00

24 lines
712 B
Bash

# Template file for 'python3-humanize'
pkgname=python3-humanize
version=4.11.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-vcs"
depends="python3"
checkdepends="python3-pytest-cov python3-freezegun"
short_desc="Python humanize utilities"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://humanize.readthedocs.io/"
changelog="https://github.com/python-humanize/humanize/releases"
distfiles="${PYPI_SITE}/h/humanize/humanize-${version}.tar.gz"
checksum=e66f36020a2d5a974c504bd2555cf770621dbdbb6d82f94a6857c0b1ea2608be
post_patch() {
# remove tests which overflow in 32-bit hosts
vsed -e '/27 years/d' -i tests/test_time.py
}
post_install() {
vlicense LICENCE
}