public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-aenum] rawhide: Update to 3.1.17 (rhbz#2449769)
@ 2026-06-11  3:37 Federico Pellegrin
  0 siblings, 0 replies; only message in thread
From: Federico Pellegrin @ 2026-06-11  3:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-aenum
Branch : rawhide
Commit : bf9fcded969dbdac2c55b77ca3075ce6a1dda3bf
Author : Federico Pellegrin <fede@evolware.org>
Date   : 2026-06-11T05:37:45+02:00
Stats  : +11/-4 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-aenum/c/bf9fcded969dbdac2c55b77ca3075ce6a1dda3bf?branch=rawhide

Log:
Update to 3.1.17 (rhbz#2449769)

---
diff --git a/.gitignore b/.gitignore
index 99e2abd..cb5173b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
 /aenum-3.1.0.tar.gz
 /aenum-3.1.15.tar.gz
 /aenum-3.1.16.tar.gz
+/aenum-3.1.17.tar.gz

diff --git a/python-aenum.spec b/python-aenum.spec
index ee36787..0c7f421 100644
--- a/python-aenum.spec
+++ b/python-aenum.spec
@@ -1,8 +1,8 @@
 %global pypi_name aenum
 
 Name:           python-%{pypi_name}
-Version:        3.1.16
-Release:        4%{?dist}
+Version:        3.1.17
+Release:        1%{?dist}
 Summary:        Advanced Enumerations, NamedTuples and NamedConstants for Python
 
 License:        BSD-3-Clause
@@ -53,6 +53,8 @@ Enum capabilities, however.
 %prep
 %autosetup -n %{pypi_name}-%{version}
 rm %{pypi_name}/_py2.py
+# file/class V37 was renamed to V3 but import was not fixed seemingly
+sed -i -e 's/from \.test_v37 import TestEnumV37/from \.test_v3 import TestEnumV3/g' %{pypi_name}/test.py
 
 %generate_buildrequires
 %pyproject_buildrequires
@@ -65,7 +67,8 @@ rm %{pypi_name}/_py2.py
 
 %check
 # https://github.com/ethanfurman/aenum/issues/7
-sed -i -e 's/from \. /from aenum /g' -e 's/from \./from aenum\./g' %{pypi_name}/test.py
+# plus file/class V37 was renamed to V3 but import was not fixed seemingly
+sed -i -e 's/from \. /from aenum /g' -e 's/from \./from aenum\./g' -e 's/from aenum\.test_v37 import TestEnumV37/from aenum\.test_v3 import TestEnumV3/g' %{pypi_name}/test.py
 PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} %{pypi_name}/test.py
 
 %files -n python3-%{pypi_name}
@@ -75,6 +78,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} %{pypi_name}/test.py
 %{python3_sitelib}/%{pypi_name}-%{version}.dist-info/
 
 %changelog
+* Thu Jun 11 2026 Federico Pellegrin <fede@evolware.org> - 3.1.17-1
+- Update to 3.1.17 (rhbz#2449769)
+
 * Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 3.1.16-4
 - Rebuilt for Python 3.15
 

diff --git a/sources b/sources
index 9bb6ef3..6a4e294 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (aenum-3.1.16.tar.gz) = f8a3ab40ed1a7e6fc0c299294b51ae3132f813c7abd0154ad095c8386e129c77cbdab644c34730950474a65640555cfd8e0ab1a22a918ecca9c3a055d5ad42f8
+SHA512 (aenum-3.1.17.tar.gz) = 785f89889a719a26c20e3a236c6b301c045aecae0ec43085cf7f2daa5ce8efcfd887203bd5c454b832605f3d1003888681f657230fb6cfd32bdb4fe52abb226e

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

only message in thread, other threads:[~2026-06-11  3:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-11  3:37 [rpms/python-aenum] rawhide: Update to 3.1.17 (rhbz#2449769) Federico Pellegrin

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