python3Packages.humanize: 4.6.0 -> 4.7.0

https://github.com/python-humanize/humanize/releases/tag/4.7.0
This commit is contained in:
Luflosi 2023-07-20 14:28:24 +02:00
parent de1cfd0e2a
commit 10aed0776a
No known key found for this signature in database
GPG key ID: 4E41E29EDCC345D0

View file

@ -3,7 +3,6 @@
, fetchFromGitHub
, freezegun
, gettext
, importlib-metadata
, pytestCheckHook
, pythonOlder
, hatch-vcs
@ -12,16 +11,16 @@
buildPythonPackage rec {
pname = "humanize";
version = "4.6.0";
version = "4.7.0";
format = "pyproject";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "python-humanize";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-sI773uzh+yMiyu1ebsk6zutfyt+tfx/zT/X2AdH5Fyg=";
hash = "sha256-ofRdrFVxIxAtv8WopJDX8Te8yaaJTnDbRM56V7pm/NM=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -32,10 +31,6 @@ buildPythonPackage rec {
gettext
];
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
postBuild = ''
scripts/generate-translation-binaries.sh
'';