public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-mathics-pygments] f45: Fixes F45FailsToInstall: python3-mathics-pygments
@ 2026-08-23  3:47 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-23  3:47 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-mathics-pygments
            Branch : f45
            Commit : f2972237291a4677a29403eb26a0f80fe199007e
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-08-22T23:15:00-03:00
            Stats  : +5/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-mathics-pygments/c/f2972237291a4677a29403eb26a0f80fe199007e?branch=f45

            Log:
            Fixes F45FailsToInstall: python3-mathics-pygments

Resolves: rhbz#2513927

---
diff --git a/python-mathics-pygments.spec b/python-mathics-pygments.spec
index 2bf012e..2a3cd0d 100644
--- a/python-mathics-pygments.spec
+++ b/python-mathics-pygments.spec
@@ -12,8 +12,7 @@ URL:            %{forgeurl}
 Source:         %{forgesource}
 
 BuildArch:      noarch
-BuildRequires:  python%{python3_pkgversion}-devel
-BuildRequires:  python%{python3_pkgversion}-pytest
+BuildRequires:  python3-devel
 
 %global _description %{expand:
 This package provides a lexer and highlighter for Mathematica/Wolfram
@@ -21,22 +20,18 @@ Language source code using the pygments engine.}
 
 %description %_description
 
-%package -n     python%{python3_pkgversion}-mathics-pygments
+%package -n     python3-mathics-pygments
 Summary:        %{summary}
 
-%description -n python%{python3_pkgversion}-mathics-pygments %_description
+%description -n python3-mathics-pygments %_description
 
 %prep
 %autosetup -n Mathics3-pygments-%{version}
-# Relax/rename the dependency on Mathics3_Scanner to use Fedora's package name and version
-sed -i 's/"Mathics3_Scanner>=10.0.0"/"mathics-scanner>=1.3.0"/' pyproject.toml
-sed -i 's/Mathics3_Scanner>=10.0.0/mathics-scanner>=1.3.0/' requirements.txt
-
 # Remove shebang from non-executable script
 sed -i '1{\@^#!/usr/bin/env python@d}' mathics_pygments/generate/build_pygments_tables.py
 
 %generate_buildrequires
-%pyproject_buildrequires
+%pyproject_buildrequires -x dev
 
 %build
 %pyproject_wheel
@@ -48,7 +43,7 @@ sed -i '1{\@^#!/usr/bin/env python@d}' mathics_pygments/generate/build_pygments_
 %check
 %pytest
 
-%files -n python%{python3_pkgversion}-mathics-pygments -f %{pyproject_files}
+%files -n python3-mathics-pygments -f %{pyproject_files}
 %license LICENSE
 %doc README.md CHANGES.rst
 

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

only message in thread, other threads:[~2026-08-23  3:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-23  3:47 [rpms/python-mathics-pygments] f45: Fixes F45FailsToInstall: python3-mathics-pygments Filipe Rosset

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