public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-numpy-stl] rawhide: Update to 4.0.0 (rhbz#2489816)
@ 2026-06-24 10:52 Lumir Balhar
  0 siblings, 0 replies; only message in thread
From: Lumir Balhar @ 2026-06-24 10:52 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-numpy-stl
Branch : rawhide
Commit : 60cf015559867b8d56184f554ec85fcef6ed4f0d
Author : Lumir Balhar <lbalhar@redhat.com>
Date   : 2026-06-22T14:51:57+02:00
Stats  : +11/-14 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-numpy-stl/c/60cf015559867b8d56184f554ec85fcef6ed4f0d?branch=rawhide

Log:
Update to 4.0.0 (rhbz#2489816)

---
diff --git a/.gitignore b/.gitignore
index 296a634..26e7ff1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@
 /numpy-stl-2.16.3.tar.gz
 /numpy-stl-2.17.1.tar.gz
 /numpy_stl-3.2.0.tar.gz
+/numpy_stl-4.0.0.tar.gz

diff --git a/python-numpy-stl.spec b/python-numpy-stl.spec
index 88c5849..20d71aa 100644
--- a/python-numpy-stl.spec
+++ b/python-numpy-stl.spec
@@ -1,26 +1,20 @@
 Name:           python-numpy-stl
-Version:        3.2.0
+Version:        4.0.0
 Release:        %autorelease
 Summary:        Library for reading, writing and modifying STL files
 
 License:        BSD-3-Clause
 URL:            https://github.com/WoLpH/numpy-stl/
-Source:         %{pypi_source numpy_stl}
-
-BuildRequires:  gcc
+Source:         https://github.com/WoLpH/numpy-stl/archive/refs/tags/v%{version}.tar.gz#/numpy_stl-%{version}.tar.gz
+BuildArch:      noarch
 
 BuildRequires:  python3-devel
-BuildRequires:  python3-Cython
 BuildRequires:  python3-pytest
 BuildRequires:  python3-sphinx
+BuildRequires:  python3-furo
 BuildRequires:  python3-PyQt5
 BuildRequires:  /usr/bin/xvfb-run
 
-# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
-%if 0%{?fedora} >= 42 || 0%{?rhel} >= 11
-ExcludeArch:    %{ix86}
-%endif
-
 %description
 Simple library to make working with STL files (and 3D objects in general) fast
 and easy. Due to all operations heavily relying on numpy this is one of the
@@ -42,7 +36,9 @@ BuildArch:      noarch
 Documentation for %{name}.
 
 %prep
-%autosetup -n numpy_stl-%{version} -p1
+%autosetup -n numpy-stl-%{version} -p1
+# Drop all coverage options from pytest invocation
+sed -i '/-cov[-=]/d' pyproject.toml
 
 %generate_buildrequires
 %pyproject_buildrequires
@@ -50,7 +46,7 @@ Documentation for %{name}.
 %build
 %pyproject_wheel
 # generate html docs
-sphinx-build-3 docs html
+PYTHONPATH=. sphinx-build-3 docs html
 # remove the sphinx-build leftovers
 rm -rf html/.{doctrees,buildinfo}
 
@@ -63,7 +59,7 @@ rm -rf html/.{doctrees,buildinfo}
 
 
 %files -n python3-numpy-stl -f %{pyproject_files}
-%doc README.rst
+%doc README.md CHANGELOG.md
 %{_bindir}/stl
 %{_bindir}/stl2bin
 %{_bindir}/stl2ascii

diff --git a/sources b/sources
index 5cb8aeb..6c0afc5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (numpy_stl-3.2.0.tar.gz) = de626973b50df580c07ec503ffefdc12a969c9de014e19343c7fccff54a17dfe0ad95ff1d988f2f3c685e053f00e6495b7845397331a99e84a03e01359e11b58
+SHA512 (numpy_stl-4.0.0.tar.gz) = 887ceed25ea1b387550ec285c478c9729932e6d35c389ab1d9741c5743915a057093af51f4cb1c25aaf4d975ccbbbb2d61b28a12682570e768948f22695ecf1d

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

only message in thread, other threads:[~2026-06-24 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 10:52 [rpms/python-numpy-stl] rawhide: Update to 4.0.0 (rhbz#2489816) Lumir Balhar

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