python3Packages.humanize: 4.9.0 -> 4.10.0
https://github.com/python-humanize/humanize/releases/tag/4.10.0
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "humanize";
|
||||
version = "4.9.0";
|
||||
version = "4.10.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "python-humanize";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-sLlgR6c65RmUNZdH2pHuxzo7dm71uUZXGqzcqyxCrk4=";
|
||||
hash = "sha256-zzasFAaWH284IEnWwWKvCL1lt/ItNfdbWhq1K30gSPU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -31,6 +31,12 @@ buildPythonPackage rec {
|
||||
gettext
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Remove dependency on pytest-cov
|
||||
substituteInPlace pyproject.toml --replace-fail \
|
||||
'"ignore:sys.monitoring isn'"'"'t available, using default core:coverage.exceptions.CoverageWarning",' ""
|
||||
'';
|
||||
|
||||
postBuild = ''
|
||||
scripts/generate-translation-binaries.sh
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user