public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ginga] rawhide: Update to 7.10 + build with Qt6 + move to Forge macros
@ 2026-08-29 3:17 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-29 3:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ginga
Branch : rawhide
Commit : dd099782b709e19d3f41a5888c50c3d71db126c3
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-08T22:12:47-03:00
Stats : +19/-9 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ginga/c/dd099782b709e19d3f41a5888c50c3d71db126c3?branch=rawhide
Log:
Update to 7.10 + build with Qt6 + move to Forge macros
Resolves: rhbz#2423759
---
diff --git a/ginga.spec b/ginga.spec
index ba87b83..e94cccb 100644
--- a/ginga.spec
+++ b/ginga.spec
@@ -15,8 +15,11 @@ plugins are provided for features that we expect from a modern FITS viewer:
panning and zooming windows, star catalog access, cuts, star pick/fwhm,
thumbnails, etc.}
+%global forgeurl https://github.com/ejeschke/ginga
+Version: 7.1.0
+%forgemeta
+
Name: ginga
-Version: 7.0.0
Release: %autorelease
Summary: %{sum}
# License breakdown
@@ -27,24 +30,26 @@ Summary: %{sum}
# ginga/util/heaptimer.py
#
License: BSD-3-Clause AND Apache-2.0
-URL: https://ejeschke.github.io/ginga/
-Source0: %{pypi_source}
+URL: %{forgeurl}
+Source: %{forgesource}
# General build reqs
BuildRequires: desktop-file-utils
BuildRequires: fontpackages-devel
+BuildRequires: google-roboto-condensed-fonts
+BuildRequires: google-roboto-fonts
Requires: python3-%{name} = %{version}-%{release}
BuildArch: noarch
-Recommends: google-roboto-fonts
Recommends: google-roboto-condensed-fonts
+Recommends: google-roboto-fonts
%description %_description
%package -n python3-%{name}
Summary: %{sum}
-Requires: google-roboto-fonts
Requires: google-roboto-condensed-fonts
+Requires: google-roboto-fonts
%description -n python3-%{name} %_description
@@ -56,7 +61,7 @@ Requires: python3-%{name} = %{version}-%{release}
Examples for %{name}
%pyproject_extras_subpkg -n python3-ginga recommended
-%pyproject_extras_subpkg -n python3-ginga qt5
+%pyproject_extras_subpkg -n python3-ginga qt6
%prep
%autosetup
@@ -65,13 +70,16 @@ sed -i -e s/opencv-python-headless/opencv/ setup.cfg
sed -i -e /pillow-heif/d setup.cfg
%generate_buildrequires
-%pyproject_buildrequires -x recommended -x qt5 -t
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
+%pyproject_buildrequires -x recommended -x qt6 -t
%build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%py3_shebang_fix ginga/examples
%pyproject_wheel
%install
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_install
%pyproject_save_files ginga
sed -i '/Roboto.*LICENSE/d' %{pyproject_files}
@@ -97,7 +105,9 @@ ln -sf %{_fontbasedir}/google-roboto/RobotoCondensed-Regular.ttf %{buildroot}/%{
# TODO - Bundled Ubuntu_Mono
%check
-%tox
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
+%pyproject_check_import -e 'ginga.tests.*' -e 'ginga.aggw.*' -e 'ginga.gtk3w.*' -e 'ginga.gtk4w.*' -e 'ginga.tkw.*' -e 'ginga.qtw.*' -e 'ginga.mplw.*' -e 'ginga.opengl.*' -e 'ginga.web.*' -e 'ginga.examples.*' -e 'ginga.gw.*' -e 'ginga.rv.*' -e 'ginga.util.wcsmod.wcs_astlib' -e 'ginga.util.wcsmod.wcs_kapteyn' -e 'ginga.util.wcsmod.wcs_starlink'
+%pytest
%files
%doc README.md LONG_DESC.txt doc/WhatsNew.rst
diff --git a/sources b/sources
index 9235628..507dcbe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ginga-7.0.0.tar.gz) = 0289d087fda924c4b6f6cfff1dcdfb0873e93859b6bb482c49a357e3fafd62916f520da66eab473cb17ab9ed50546cc87a612aa598f1e00df87b05b7ea69ef39
+SHA512 (ginga-7.1.0.tar.gz) = d315900b3124642cd8c349300ab2ca249ddcda53a5aead841551d0976c69d510a3da8660f5119b333a88ba7ad9295b047f64e9bd07f6619241404f30f799dd45
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-29 3:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-29 3:17 [rpms/ginga] rawhide: Update to 7.10 + build with Qt6 + move to Forge macros Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox