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-mathics-pygments] f45: Fixes F45FailsToInstall: python3-mathics-pygments
Date: Sun, 23 Aug 2026 03:47:48 GMT [thread overview]
Message-ID: <178745686818.1.16006731581791601429.rpms-python-mathics-pygments-f2972237291a@fedoraproject.org> (raw)
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
reply other threads:[~2026-08-23 3:47 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=178745686818.1.16006731581791601429.rpms-python-mathics-pygments-f2972237291a@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