public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-humanize] rawhide: Update to v4.16.0
@ 2026-06-30 19:57 Steve Traylen
0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-06-30 19:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-humanize
Branch : rawhide
Commit : 4cb3f7306841fb76e1b81f53428dc44655fda5be
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2026-06-30T21:56:25+02:00
Stats : +22/-13 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-humanize/c/4cb3f7306841fb76e1b81f53428dc44655fda5be?branch=rawhide
Log:
Update to v4.16.0
- Resolves: rhbz#2495020
- Spec file clean up
---
diff --git a/.gitignore b/.gitignore
index 7494b8d..8e12b20 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
/humanize-4.13.0.tar.gz
/humanize-4.14.0.tar.gz
/humanize-4.15.0.tar.gz
+/humanize-4.16.0.tar.gz
diff --git a/python-humanize.spec b/python-humanize.spec
index c0a618b..036797d 100644
--- a/python-humanize.spec
+++ b/python-humanize.spec
@@ -1,7 +1,7 @@
%bcond_without check
Name: python-humanize
-Version: 4.15.0
+Version: 4.16.0
Release: %autorelease
Summary: Turns dates in to human readable format, e.g '3 minutes ago'
@@ -12,20 +12,21 @@ Source0: %{pypi_source humanize}
BuildArch: noarch
BuildRequires: python3-devel
-%global _description\
-This modest package contains various common humanization utilities, like turning\
-a number into a fuzzy human readable duration ('3 minutes ago') or into a human\
-readable size or throughput.\
+
+%global _description %{expand:
+This modest package contains various common humanization utilities, like turning
+a number into a fuzzy human readable duration ('3 minutes ago') or into a human
+readable size or throughput.}
%description %_description
+
%package -n python3-humanize
Summary: %summary
-%description -n python3-humanize
-This modest package contains various common humanization utilities, like turning
-a number into a fuzzy human readable duration ('3 minutes ago') or into a human
-readable size or throughput.
+
+%description -n python3-humanize %_description
+
%prep
%autosetup -n humanize-%{version}
@@ -39,28 +40,35 @@ done
# Remove .po files
find -name '*.po' -delete
+%pyproject_patch_dependency pytest-codspeed:ignore
+%pyproject_patch_dependency pytest-cov:ignore
# Don't run coverage report during %%check
-sed -i '/pytest-cov/d' pyproject.toml
sed -i '/core:coverage.exceptions.CoverageWarning/d' pyproject.toml
sed -Ei 's/ ?--cov(-[^ ]+)? +[^ ]+//g' tox.ini
+
%generate_buildrequires
%pyproject_buildrequires %{?with_check:-t}
+
%build
%pyproject_wheel
+
%install
%pyproject_install
-%pyproject_save_files humanize
+%pyproject_save_files -l humanize
+
%if %{with check}
%check
-%pytest
+%tox
%endif
+
%files -n python3-humanize -f %{pyproject_files}
%doc README.md
+
%changelog
%autochangelog
diff --git a/sources b/sources
index 11681b3..0a1985e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (humanize-4.15.0.tar.gz) = 685bb5bd14d013cbec7ad4b815cd6895a486315d88c81a39d00b59f4ffbfc94223352d55105c6e5fbb22a79ca018b8de70b5d82941739dfe0b2d165725bc0744
+SHA512 (humanize-4.16.0.tar.gz) = ec5588287d7d5547b7fdf44234f4e52b6726a867dfd9f223e942fdb57b37b7a5e7fc44583a6cfd51f8209732f676d2b20e870e2e3b9a772c786c9cbda7fd5adc
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-30 19:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 19:57 [rpms/python-humanize] rawhide: Update to v4.16.0 Steve Traylen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox