public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Federico Pellegrin <fede@evolware.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-anytree] epel10: Bump to 2.13.0, use new Python macros (rhbz#2377452)
Date: Tue, 29 Sep 2026 03:04:58 GMT	[thread overview]
Message-ID: <179065109881.1.7912329683540503198.rpms-python-anytree-e9e850d74008@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-anytree
Branch : epel10
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

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

                 reply	other threads:[~2026-09-29  3:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179065109881.1.7912329683540503198.rpms-python-anytree-e9e850d74008@fedoraproject.org \
    --to=fede@evolware.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox