public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-anytree] epel10.3: Bump to 2.13.0, use new Python macros (rhbz#2377452)
@ 2026-09-29 3:22 Federico Pellegrin
0 siblings, 0 replies; only message in thread
From: Federico Pellegrin @ 2026-09-29 3:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-anytree
Branch : epel10.3
Commit : e9e850d74008ad80a6d9bdb824b7ec05ec48023d
Author : Federico Pellegrin <fede@evolware.org>
Date : 2026-07-30T07:50:31+02:00
Stats : +17/-13 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-anytree/c/e9e850d74008ad80a6d9bdb824b7ec05ec48023d?branch=epel10.3
Log:
Bump to 2.13.0, use new Python macros (rhbz#2377452)
---
diff --git a/.gitignore b/.gitignore
index 00e3326..e2db4e7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/anytree-2.7.2.tar.gz
/anytree-2.8.0.tar.gz
+/anytree-2.13.0.tar.gz
diff --git a/python-anytree.spec b/python-anytree.spec
index b09d128..f77cf46 100644
--- a/python-anytree.spec
+++ b/python-anytree.spec
@@ -1,8 +1,8 @@
%global modname anytree
Name: python-anytree
-Version: 2.8.0
-Release: 26%{?dist}
+Version: 2.13.0
+Release: 1%{?dist}
Summary: Powerful and Lightweight Python Tree Data Structure
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
@@ -27,27 +27,30 @@ Powerful and Lightweight Python Tree Data Structure with various plugins.
%prep
%setup -q -n %{modname}-%{version}
-rm -r %{modname}.egg-info
-# Prohibit that the file LICENSE will be installed in usr from the python setup
-sed -e "/LICENSE/d" -i setup.py
+rm -rf %{modname}.egg-info
+# Make sure tooling is happy with license format (in both Fedora and RHEL)
+sed -i 's/license = "Apache-2.0"/license = {text = "Apache-2.0"}/' pyproject.toml
-%build
-%py3_build
+%generate_buildrequires
+%pyproject_buildrequires
+%build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l anytree -L
-%files -n python3-anytree
+%files -n python3-anytree -f %{pyproject_files}
%license LICENSE
%doc README.rst
-%{python3_sitelib}/%{modname}/
-%{python3_sitelib}/%{modname}-%{version}*
-
%changelog
+* Thu Jul 30 2026 Federico Pellegrin <fede@evolware.org> - 2.13.0-1
+- Bump to 2.13.0, use new Python macros (rhbz#2377452)
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.0-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 54798d3..d676a4a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (anytree-2.8.0.tar.gz) = 907fe690965b143b51b61dda837625d882f83268eb25d8e59b63b129681922c76e61616de9c030ef1fb42c23b502942584e99736432393f4c7b5e1dadb8f7eea
+SHA512 (anytree-2.13.0.tar.gz) = e7b6efdbbf195ede2da730cf4c6805980f2b17562fa1544ac3da1299b2c7980062086b296669c2fa0daf3fea48d2c8545b665ba258316334483dd78f1b6815e3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-29 3:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 3:22 [rpms/python-anytree] epel10.3: Bump to 2.13.0, use new Python macros (rhbz#2377452) Federico Pellegrin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox