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-pivy] rawhide: Update to 0.6.10 + spec cleanup + Fix F45FTBFS + enabled tests
Date: Thu, 06 Aug 2026 22:06:57 GMT [thread overview]
Message-ID: <178605401707.1.13460016374810141212.rpms-python-pivy-558d04492287@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pivy
Branch : rawhide
Commit : 558d0449228767072962077c131d36571530f6ac
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-06T09:55:24-03:00
Stats : +36/-18 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-pivy/c/558d0449228767072962077c131d36571530f6ac?branch=rawhide
Log:
Update to 0.6.10 + spec cleanup + Fix F45FTBFS + enabled tests
Resolves: rhbz#2495873 - F45FailsToInstall: python3-pivy
Resolves: rhbz#2504561 - python-pivy: FTBFS in Fedora rawhide/f45
---
diff --git a/pivy-fake-memory-header.patch b/pivy-fake-memory-header.patch
new file mode 100644
index 0000000..e117679
--- /dev/null
+++ b/pivy-fake-memory-header.patch
@@ -0,0 +1,8 @@
+From: Upstream Coin3D/Pivy
+Subject: Add fake header for <memory> to fix SWIG build error
+
+diff -Naur pivy-0.6.10.orig/fake_headers/memory pivy-0.6.10/fake_headers/memory
+--- pivy-0.6.10.orig/fake_headers/memory 1970-01-01 00:00:00.000000000 +0000
++++ pivy-0.6.10/fake_headers/memory 2026-08-06 00:00:00.000000000 +0000
+@@ -0,0 +1 @@
++// Empty header to satisfy SWIG
diff --git a/python-pivy.spec b/python-pivy.spec
index 7d7c63a..c7e9971 100644
--- a/python-pivy.spec
+++ b/python-pivy.spec
@@ -1,26 +1,26 @@
-%global realname pivy
-%global githash 46ddb2c
-%global gitdate 20191108
+%global forgeurl https://github.com/FreeCAD/pivy
+Version: 0.6.10
+%global tag %{version}
+%forgemeta
Name: python-pivy
-Version: 0.6.9
Release: %autorelease
Summary: Python binding for Coin
License: ISC
-URL: https://github.com/FreeCAD/pivy
+URL: %{forgeurl}
+Source0: %{forgesource}
+Patch0: pivy-fake-memory-header.patch
-Source0: https://github.com/coin3d/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz
-
-
-BuildRequires: gcc gcc-c++ cmake swig
-BuildRequires: qt5-qtbase-devel
-BuildRequires: python3-devel
+BuildRequires: cmake
BuildRequires: Coin4-devel
-BuildRequires: SoQt-devel
-BuildRequires: SIMVoleon-devel
+BuildRequires: gcc
+BuildRequires: gcc-c++
BuildRequires: libXmu-devel
BuildRequires: mesa-libEGL-devel
+BuildRequires: python3-devel
+BuildRequires: swig
+
%global _description\
@@ -34,22 +34,27 @@ engineering visualization applications.\
%package -n python3-pivy
Summary: %summary
-%{?python_provide:%python_provide python3-pivy}
%description -n python3-pivy %_description
%package examples
Summary: Pivy example files
+BuildArch: noarch
%description examples
%{summary}
%prep
-%autosetup -p1 -n %{realname}-%{version}
+%autosetup -p1 -n pivy-%{version}
-# Examples in the docs folder should not be set executable.
+# Examples in the docs and examples folder should not be set executable.
find ./docs -name "*.py" -exec chmod -x {} \;
+find ./examples -name "*.py" -exec chmod -x {} \;
+
+
+%generate_buildrequires
+%pyproject_buildrequires
%build
@@ -64,7 +69,12 @@ chmod +x %{buildroot}%{python3_sitearch}/pivy/sogui.py
find %{buildroot}%{python3_sitearch} -name "*.py" -exec sed -i "s|#!/usr/bin/env python|#!%{__python3}|" {} \;
-
+
+%check
+export PYTHONPATH=%{buildroot}%{python3_sitearch}
+%{__python3} tests/coin_tests.py
+
+
%files -n python3-pivy
%license LICENSE
%doc AUTHORS NEWS README.md THANKS docs/* HACKING
diff --git a/sources b/sources
index b9323cd..7abd2cb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pivy-0.6.9.tar.gz) = fd9587c69ad7468b771fbae59e68620f67a3c20850edadd65bf7994c1789d3444feb419e65dce34c6ee897c98eaca9f2f29f0bbfb4d1f0bbde26e4db56f74f78
+SHA512 (pivy-0.6.10.tar.gz) = d4f52635c1e18f137322e52ead8e8e69a6519ed0902aab17a264fc296df9fe2b82221de2234aa152db9c7fd45003a6299a19ddace4488adea99c2159d31d68bb
reply other threads:[~2026-08-06 22:06 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=178605401707.1.13460016374810141212.rpms-python-pivy-558d04492287@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