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