From ca454092f55e603be6e5d4bf742fa59cbcd69421 Mon Sep 17 00:00:00 2001 From: icp Date: Thu, 25 Aug 2022 16:39:49 +0530 Subject: [PATCH] python3-humanize: update to 4.3.0. --- srcpkgs/python3-humanize/template | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/srcpkgs/python3-humanize/template b/srcpkgs/python3-humanize/template index c54f55be8b48..3fda21f52955 100644 --- a/srcpkgs/python3-humanize/template +++ b/srcpkgs/python3-humanize/template @@ -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 " 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