public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/Mayavi] f45: Update to 4.9.0
@ 2026-08-21 13:56 Orion Poplawski
0 siblings, 0 replies; only message in thread
From: Orion Poplawski @ 2026-08-21 13:56 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/Mayavi
Branch : f45
Commit : 606298a5a8cb80a0a93d3491693a9fb97681665f
Author : Orion Poplawski <orion@nwra.com>
Date : 2026-08-14T21:48:37-06:00
Stats : +38/-37 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/Mayavi/c/606298a5a8cb80a0a93d3491693a9fb97681665f?branch=f45
Log:
Update to 4.9.0
Switch to pyproject macros and noarch
---
diff --git a/.gitignore b/.gitignore
index 9bf9f5f..3498255 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@ Mayavi-3.3.2.tar.gz
/mayavi-db518f882c19b04c72d1be26f6a43bd0e611ee18.tar.gz
/mayavi-4.8.2.tar.gz
/mayavi-4.8.3.tar.gz
+/mayavi-4.9.0.tar.gz
diff --git a/Mayavi.spec b/Mayavi.spec
index 863e278..f7ba633 100644
--- a/Mayavi.spec
+++ b/Mayavi.spec
@@ -1,15 +1,16 @@
-#global commit db518f882c19b04c72d1be26f6a43bd0e611ee18
+%global commit 55226bf21a8774ac085db2409754d2f5b4105d85
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: Mayavi
-Version: 4.8.3
-Release: %autorelease.6
+Version: 4.9.0
+Release: %autorelease
Summary: Scientific data 3-dimensional visualizer
# Automatically converted from old format: BSD and EPL and LGPLv2+ and LGPLv2 and LGPLv3 - review is highly recommended.
License: LicenseRef-Callaway-BSD AND LicenseRef-Callaway-EPL AND LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-LGPLv2 AND LGPL-3.0-only
URL: http://code.enthought.com/projects/mayavi/
Source0: https://github.com/enthought/mayavi/archive/%{version}/mayavi-%{version}.tar.gz
Source1: mayavi2.desktop
+
BuildRequires: gcc
BuildRequires: make
BuildRequires: python%{python3_pkgversion}-devel
@@ -17,7 +18,7 @@ BuildRequires: python%{python3_pkgversion}-Cython
BuildRequires: python%{python3_pkgversion}-setuptools
# For tests
BuildRequires: python%{python3_pkgversion}-pytest
-BuildRequires: python%{python3_pkgversion}-pytest-xvfb
+BuildRequires: python%{python3_pkgversion}-pytest-timeout
BuildRequires: python%{python3_pkgversion}-apptools+gui
BuildRequires: python%{python3_pkgversion}-apptools+preferences
BuildRequires: python%{python3_pkgversion}-qt5
@@ -26,11 +27,12 @@ BuildRequires: python%{python3_pkgversion}-traitsui
BuildRequires: python%{python3_pkgversion}-numpy
BuildRequires: python%{python3_pkgversion}-vtk
# For HTML docs
-BuildRequires: /usr/bin/sphinx-build-3
+BuildRequires: /usr/bin/sphinx-build
Requires: python%{python3_pkgversion}-mayavi
BuildRequires: desktop-file-utils
BuildRequires: xwayland-run
-ExcludeArch: %{ix86}
+%global __pytest xwfb-run -- pytest
+BuildArch: noarch
%description
The Mayavi project includes two related packages for 3-dimensional
@@ -74,9 +76,6 @@ Documentation for %{name}.
# vtk not discoverable by pkg_resources
sed -i -e "/^ *'vtk'/d" mayavi/__init__.py
-# Remove pregenerated C sources
-grep -lr '/\* Generated by Cython' | xargs rm -v
-
# fix wrong-file-end-of-line-encoding
for file in *.txt examples/mayavi/data/room_vis.wrl examples/tvtk/dscene.py \
examples/mayavi/interactive/wx_mayavi_embed*.py ; do
@@ -106,16 +105,21 @@ done
find examples -type f -exec chmod 0644 {} ";"
chmod 0644 mayavi/tests/data/cellsnd.ascii.inp
+# The won't work until vtk supports dist-git
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
# Recythonize the sources
find -name '*.pyx' -exec cython --verbose {} \;
-%py3_build
+%pyproject_wheel
# Need xwfb-run for html doc building
-SPHINXBUILD=/usr/bin/sphinx-build-3 xwfb-run -- %{__python3} setup.py build_docs
+PYTHONPATH=../build/lib.%{python3_platform}-cpython-%{python3_version_nodots} xwfb-run -- %{__python3} setup.py build_docs
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l mayavi tvtk
# fix wrong-file-end-of-line-encoding
for file in docs/build/mayavi/html/_downloads/wx_mayavi*.py; do
@@ -145,36 +149,14 @@ install -p -m 644 ./docs/source/mayavi/images/mayavi2-48x48.png \
%{_datadir}/applications/mayavi2.desktop
%{_datadir}/icons/hicolor/48x48/apps/mayavi2.png
-%files -n python%{python3_pkgversion}-mayavi
+%files -n python%{python3_pkgversion}-mayavi -f %pyproject_files
%license *LICENSE*
%doc docs/*.txt README-tvtk.txt
-%dir %{python3_sitearch}/mayavi
-%{python3_sitearch}/mayavi/[_a-gi-z]*
-%{python3_sitearch}/mayavi*.egg-info
-%{python3_sitearch}/tvtk/
%files doc
%license *LICENSE*
-%doc README-tvtk.txt docs/*.txt docs/build/mayavi docs/build/tvtk examples/
+%doc README-tvtk.txt docs/*.txt docs/build/mayavi examples/
%changelog
-* Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.3-1.6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
-
-* Fri Jun 05 2026 Python Maint <python-maint@redhat.com> - 4.8.3-1.5
-- Rebuilt for Python 3.15
-
-* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.3-1.4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
-
-* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.3-1.3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
-
-* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 4.8.3-1.2
-- Rebuilt for Python 3.14.0rc3 bytecode
-
-* Sun Aug 24 2025 Orion Poplawski <orion@nwra.com> - 4.8.3-1.1
-- Rebuild for VTK 9.5
-
%autochangelog
diff --git a/changelog b/changelog
index b395cea..cdf4d2f 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,21 @@
+* Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.3-1.6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
+
+* Fri Jun 05 2026 Python Maint <python-maint@redhat.com> - 4.8.3-1.5
+- Rebuilt for Python 3.15
+
+* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.3-1.4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
+
+* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.3-1.3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
+
+* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 4.8.3-1.2
+- Rebuilt for Python 3.14.0rc3 bytecode
+
+* Sun Aug 24 2025 Orion Poplawski <orion@nwra.com> - 4.8.3-1.1
+- Rebuild for VTK 9.5
+
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
diff --git a/sources b/sources
index 91dc49a..e295339 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mayavi-4.8.3.tar.gz) = 5a7e49c4f1c6ffd187da8c0947b6cc8ca88be2886aba3ddfa84d9ce8295ffd165398b9385ce9e22c5e195608b9448f9bca06f164019d4ac013377f123d7e06f9
+SHA512 (mayavi-4.9.0.tar.gz) = fa832bce5a7b586e225b729d93788acf0b0cf44e87ce1207cee5e6dcb07c3e302acf3ee2e4a1bb3e0f2609e089adf2a891f9ceb892067aec54e32b78a43955ab
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-21 13:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21 13:56 [rpms/Mayavi] f45: Update to 4.9.0 Orion Poplawski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox