public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyperclip] epel10: Restore EPEL8 compatibility
@ 2026-09-21 8:22 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-21 8:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pyperclip
Branch : epel10
Commit : f674d72193d3918959e6a30bff2eb072f431ccc4
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2022-08-12T15:23:51-04:00
Stats : +32/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-pyperclip/c/f674d72193d3918959e6a30bff2eb072f431ccc4?branch=epel10
Log:
Restore EPEL8 compatibility
- Work around no python3-sphinx-latex package in EPEL8
- Work around no /usr/bin/pytest in EPEL8
---
diff --git a/python-pyperclip.spec b/python-pyperclip.spec
index 896b9e5..8d265ad 100644
--- a/python-pyperclip.spec
+++ b/python-pyperclip.spec
@@ -75,7 +75,38 @@ Summary: Pyperclip documentation
%if %{with doc_pdf}
BuildRequires: make
BuildRequires: python3dist(sphinx)
+%if ! 0%{?el8}
BuildRequires: python3-sphinx-latex
+%else
+BuildRequires: tex(amsmath.sty)
+BuildRequires: tex(amsthm.sty)
+BuildRequires: tex(anyfontsize.sty)
+BuildRequires: tex(article.cls)
+BuildRequires: tex(capt-of.sty)
+BuildRequires: tex(cmap.sty)
+BuildRequires: tex(color.sty)
+BuildRequires: tex(ctablestack.sty)
+BuildRequires: tex(fancyhdr.sty)
+BuildRequires: tex(fancyvrb.sty)
+BuildRequires: tex(fncychap.sty)
+BuildRequires: tex(framed.sty)
+BuildRequires: tex(geometry.sty)
+BuildRequires: tex(hyperref.sty)
+BuildRequires: tex(kvoptions.sty)
+BuildRequires: tex(luatex85.sty)
+BuildRequires: tex(needspace.sty)
+BuildRequires: tex(parskip.sty)
+BuildRequires: tex(polyglossia.sty)
+BuildRequires: tex(tabulary.sty)
+BuildRequires: tex(titlesec.sty)
+BuildRequires: tex(upquote.sty)
+BuildRequires: tex(utf8x.def)
+BuildRequires: tex(wrapfig.sty)
+BuildRequires: texlive-collection-fontsrecommended
+BuildRequires: texlive-collection-latex
+BuildRequires: texlive-dvipng
+BuildRequires: texlive-dvisvgm
+%endif
BuildRequires: latexmk
%endif
@@ -103,7 +134,7 @@ PYTHONPATH="${PWD}/src" %make_build -C docs latex SPHINXOPTS='%{?_smp_mflags}'
%py3_install
%check
-%global __pytest /usr/bin/xvfb-run -a /usr/bin/pytest
+%global __pytest /usr/bin/xvfb-run -a %{python3} -m pytest
# Explicitly skip backends that we know will fail in the mock environment if
# their dependencies happen to be present. See notes in the BuildRequires.
%pytest -k 'not TestGtk and not TestXSel and not TestWlClipboard and not TestKlipper' -v
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-21 8:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 8:22 [rpms/python-pyperclip] epel10: Restore EPEL8 compatibility Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox