public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-nashpy] rawhide: Fix F45FTBFS + spec cleanup and modernization
@ 2026-08-06 0:57 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-06 0:57 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-06 0:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06 0:57 [rpms/python-nashpy] rawhide: Fix F45FTBFS + spec cleanup and modernization Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox