public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-sport-activities-features] rawhide: Update to 0.6.0 rhbz#2561504
@ 2026-10-31 22:27 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-10-31 22:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-sport-activities-features
Branch : rawhide
Commit : d57db4a8566d750c014d781a3e9e9abf8e7df24b
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-10-31T19:26:53-03:00
Stats  : +3/-20 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-sport-activities-features/c/d57db4a8566d750c014d781a3e9e9abf8e7df24b?branch=rawhide

Log:
Update to 0.6.0 rhbz#2561504

---
diff --git a/numpy-2.0.patch b/numpy-2.0.patch
deleted file mode 100644
index 1faa4e8..0000000
--- a/numpy-2.0.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-# Fix compatibility with NumPy 2.0 where np.cross is no longer allowed for 2D vectors
-# Ref: NumPy 2.0 release notes / deprecations
---- a/sport_activities_features/area_identification.py
-+++ b/sport_activities_features/area_identification.py
-@@ -102,9 +102,9 @@
-         v12 = np.array(p2 - p1)
-         v34 = np.array(p4 - p3)
-         v31 = np.array(p1 - p3)
--        D = np.cross(v12, v34)
--        A = np.cross(v34, v31)
--        B = np.cross(v12, v31)
-+        D = v12[0] * v34[1] - v12[1] * v34[0]
-+        A = v34[0] * v31[1] - v34[1] * v31[0]
-+        B = v12[0] * v31[1] - v12[1] * v31[0]
- 
-         # If D == 0, the two line segments are parallel
-         if self.is_equal(D, 0):

diff --git a/python-sport-activities-features.spec b/python-sport-activities-features.spec
index 2073eeb..9d8304c 100644
--- a/python-sport-activities-features.spec
+++ b/python-sport-activities-features.spec
@@ -1,6 +1,7 @@
 %global pypi_name sport-activities-features
 %global forgeurl https://github.com/firefly-cpp/sport-activities-features
-Version:        0.5.4
+%global tag %{version}
+Version:        0.6.0
 %forgemeta
 %bcond tests 1
 
@@ -10,7 +11,6 @@ Summary:        A minimalistic toolbox for extracting features from sports activ
 License:        MIT
 URL:            %forgeurl
 Source:         %forgesource
-Patch:          numpy-2.0.patch
 
 BuildArch:      noarch
 ExclusiveArch:  %{qt6_qtwebengine_arches} noarch

diff --git a/sources b/sources
index 4082deb..fa34930 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sport-activities-features-0.5.4.tar.gz) = 3ee3f2dede95dd28fc0d79d48a4ae47dbccbde96d2eb7044885771f50114d9c0fa8d640bb835035edbd67fb6065dd30f56056a25b835ba93e99dd1dbfcff1baa
+SHA512 (sport-activities-features-0.6.0.tar.gz) = a091f0809927ef6949a0e9382c988ba62377e101f4d3ba3e44e9351c8221140ff9680752c34e932142b9112e6a9f8783b2cb4535822c50774451ef32647f2be0

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

only message in thread, other threads:[~2026-10-31 22:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-31 22:27 [rpms/python-sport-activities-features] rawhide: Update to 0.6.0 rhbz#2561504 Filipe Rosset

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