public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-nashpy] rawhide: Fix F45FTBFS + spec cleanup and modernization
Date: Thu, 06 Aug 2026 00:57:04 GMT	[thread overview]
Message-ID: <178597782419.1.15404556894227369540.rpms-python-nashpy-8fa747a9add2@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-nashpy
            Branch : rawhide
            Commit : 8fa747a9add2f88758673c0eb8c75671dd4f38ae
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-08-05T21:56:21-03:00
            Stats  : +12/-21 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-nashpy/c/8fa747a9add2f88758673c0eb8c75671dd4f38ae?branch=rawhide

            Log:
            Fix F45FTBFS + spec cleanup and modernization

Resolves: rhbz#2485911
Resolves: rhbz#2504551

---
diff --git a/.gitignore b/.gitignore
index c436608..0b1a9ac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,15 +1 @@
-/Nashpy-0.0.21.tar.gz
-/Nashpy-0.0.23.tar.gz
-/Nashpy-0.0.24.tar.gz
-/Nashpy-0.0.25.tar.gz
-/Nashpy-0.0.28.tar.gz
-/Nashpy-0.0.30.tar.gz
-/Nashpy-0.0.31.tar.gz
-/Nashpy-0.0.32.tar.gz
-/Nashpy-0.0.35.tar.gz
-/Nashpy-0.0.36.tar.gz
-/Nashpy-0.0.37.tar.gz
-/Nashpy-0.0.38.tar.gz
-/Nashpy-0.0.40.tar.gz
-/Nashpy-0.0.41.tar.gz
-/Nashpy-0.0.43.tar.gz
+/Nashpy-*.tar.gz

diff --git a/python-nashpy.spec b/python-nashpy.spec
index 2d15014..6d50b5f 100644
--- a/python-nashpy.spec
+++ b/python-nashpy.spec
@@ -4,19 +4,23 @@
 %global pypi_name nashpy
 %global pretty_name Nashpy
 
+%global forgeurl https://github.com/drvinceknight/Nashpy
+Version:        0.0.43
+%global tag     v%{version}
+%forgemeta
+
 %global _description %{expand:
 This library implements the following algorithms for Nash equilibria
 on 2 player games: Support enumeration, Best response polytope vertex
 enumeration, Lemke Howson algorithm.}
 
 Name:           python-%{pypi_name}
-Version:        0.0.43
 Release:        %autorelease
 Summary:        A library to compute equilibria of 2 player normal form games
 
 License:        MIT
-URL:            https://github.com/drvinceknight/%{pretty_name}
-Source0:        %{url}/archive/v%{version}/%{pretty_name}-%{version}.tar.gz
+URL:            %{forgeurl}
+Source0:        %{forgesource}
 
 BuildArch:      noarch
 
@@ -35,6 +39,7 @@ BuildRequires:  python3dist(sphinx-rtd-theme)
 # See testenv.deps in tox.ini, but note that it is mostly linters etc.,
 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
 BuildRequires:  python3dist(hypothesis)
+BuildRequires:  python3dist(pytest)
 BuildRequires:  python3dist(pytest-randomly)
 %endif
 
@@ -54,9 +59,9 @@ Documentation for %{name}.
 %endif
 
 %prep
-%autosetup -n %{pretty_name}-%{version}
+%forgeautosetup
 
-%generate_buildrequires	
+%generate_buildrequires
 %pyproject_buildrequires
 
 
@@ -74,7 +79,7 @@ rm -rf html/.{doctrees,buildinfo}
 %pyproject_install
 %pyproject_save_files nashpy
 
-%check	
+%check
 %if %{with tests}
 %pytest --ignore-glob='benchmarks/*' -v
 %endif

                 reply	other threads:[~2026-08-06  0:57 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=178597782419.1.15404556894227369540.rpms-python-nashpy-8fa747a9add2@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --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