public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-simple-websocket] epel9: Backport to EPEL9, without PDF docs or -doc subpackage
@ 2026-09-28  6:10 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-28  6:10 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-simple-websocket
Branch : epel9
Commit : f9d60782bd59239f03f9f6bd452d2b6e76ef0440
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-24T07:53:47+01:00
Stats  : +1/-36 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-simple-websocket/c/f9d60782bd59239f03f9f6bd452d2b6e76ef0440?branch=epel9

Log:
Backport to EPEL9, without PDF docs or -doc subpackage

---
diff --git a/python-simple-websocket.spec b/python-simple-websocket.spec
index f809f43..9919799 100644
--- a/python-simple-websocket.spec
+++ b/python-simple-websocket.spec
@@ -1,9 +1,3 @@
-# Sphinx-generated HTML documentation is not suitable for packaging; see
-# https://bugzilla.redhat.com/show_bug.cgi?id=2006555 for discussion.
-#
-# We can generate PDF documentation as a substitute.
-%bcond doc_pdf 1
-
 Name:           python-simple-websocket
 Version:        1.0.0
 Release:        %autorelease
@@ -14,18 +8,8 @@ License:        MIT
 URL:            https://github.com/miguelgrinberg/simple-websocket
 Source:         %{url}/archive/v%{version}/simple-websocket-%{version}.tar.gz
 
-BuildRequires:  python3-devel
 BuildRequires:  %{py3_dist pytest}
 
-# Documentation
-%if %{with doc_pdf}
-BuildRequires:  make
-BuildRequires:  python3dist(sphinx)
-BuildRequires:  python3-sphinx-latex
-BuildRequires:  latexmk
-%endif
-
-
 %description
 Simple WebSocket server and client for Python
 
@@ -37,13 +21,6 @@ Summary:        %{summary}
 Simple WebSocket server and client for Python.
 
 
-%package        doc
-Summary:        Documentation for simple-websocket
-
-%description    doc
-Documentation for simple-websocket.
-
-
 %prep
 %autosetup -p1 -n simple-websocket-%{version}
 
@@ -55,12 +32,6 @@ Documentation for simple-websocket.
 %build
 %pyproject_wheel
 
-%if %{with doc_pdf}
-PYTHONPATH="${PWD}/src" %make_build -C docs latex \
-    SPHINXOPTS='-j%{?_smp_build_ncpus}'
-%make_build -C docs/_build/latex LATEXMKOPTS='-quiet'
-%endif
-
 
 %install
 %pyproject_install
@@ -72,14 +43,8 @@ PYTHONPATH="${PWD}/src" %make_build -C docs latex \
 
 
 %files -n python3-simple-websocket -f %{pyproject_files}
-%doc README.md
-
-%files doc
-%license LICENSE
 %doc CHANGES.md
-%if %{with doc_pdf}
-%doc docs/_build/latex/simple-websocket.pdf
-%endif
+%doc README.md
 %doc examples/
 
 

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

only message in thread, other threads:[~2026-09-28  6:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-28  6:10 [rpms/python-simple-websocket] epel9: Backport to EPEL9, without PDF docs or -doc subpackage 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