public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-tempora] rawhide: update to upstream 5.12.0 rhbz#2499563
@ 2026-07-20 13:40 Dan Radez
  0 siblings, 0 replies; only message in thread
From: Dan Radez @ 2026-07-20 13:40 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-tempora
            Branch : rawhide
            Commit : 10575f3fac3e2e17808eb5cde594c902687e29b0
            Author : Dan Radez <dan@radez.net>
            Date   : 2026-07-20T09:39:57-04:00
            Stats  : +12/-5 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-tempora/c/10575f3fac3e2e17808eb5cde594c902687e29b0?branch=rawhide

            Log:
            update to upstream 5.12.0 rhbz#2499563

License changed to Apache-2.0, README renamed to README.md, and the
sdist no longer exposes the test extra to the build backend; test
dependencies are now BuildRequired explicitly.

---
diff --git a/python-tempora.spec b/python-tempora.spec
index a389b54..5b70c39 100644
--- a/python-tempora.spec
+++ b/python-tempora.spec
@@ -4,11 +4,11 @@
 %bcond docs 0
 
 Name:           python-%{pypi_name}
-Version:        5.9.0
+Version:        5.12.0
 Release:        %autorelease
 Summary:        Objects and routines pertaining to date and time (tempora)
 
-License:        MIT
+License:        Apache-2.0
 URL:            https://github.com/jaraco/tempora
 Source0:        https://files.pythonhosted.org/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
 BuildArch:      noarch
@@ -20,6 +20,12 @@ Objects and routines pertaining to date and time (tempora).
 Summary:        %{summary}
 
 BuildRequires:  python3-devel
+# The sdist's pyproject.toml drops the [project.optional-dependencies]
+# table, so the "test" extra is not visible to the build backend. Supply
+# the test dependencies explicitly.
+BuildRequires:  python3dist(pytest)
+BuildRequires:  python3dist(freezegun)
+BuildRequires:  python3dist(pytest-freezer)
 
 %description -n python3-%{pypi_name}
 Objects and routines pertaining to date and time (tempora).
@@ -36,7 +42,7 @@ Documentation for tempora
 %autosetup -n %{pypi_name}-%{version}
 
 %generate_buildrequires
-%pyproject_buildrequires -x %{?with_docs:doc,}test
+%pyproject_buildrequires %{?with_docs:-x doc}
 
 %build
 %pyproject_wheel
@@ -57,7 +63,8 @@ rm -rf html/.{doctrees,buildinfo}
 
 
 %files -n python3-%{pypi_name} -f %{pyproject_files}
-%doc README.rst
+%doc README.md
+%license LICENSE
 %{_bindir}/calc-prorate
 
 %if %{with docs}

diff --git a/sources b/sources
index b872c1c..d00a407 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tempora-5.9.0.tar.gz) = f515a35345968b765d7bd61d6828d9e1761d2b9ab8915015804597e9f4204942da3801de01e80ab1ed93be604bd4011f650a8bd970f09c14abad3e4af8e586eb
+SHA512 (tempora-5.12.0.tar.gz) = 3dc04ca741a86aeae6c0b6d465bf95bcfe41b7fc1c328fd1ad00df9af567d93dcf81b1a8f3953f043739e6cbaef7c9660a14c899db16a3ed8c636a69d01dca55

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-20 13:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 13:40 [rpms/python-tempora] rawhide: update to upstream 5.12.0 rhbz#2499563 Dan Radez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox