public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-simple-websocket] epel9: Initial import
@ 2026-09-28 6:09 Sandro Mani
0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-09-28 6:09 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-simple-websocket
Branch : epel9
Commit : da6b35fb7a209a34a1fcc51eaa9c20270e14a858
Author : Sandro Mani <manisandro@gmail.com>
Date : 2023-10-27T22:39:58+02:00
Stats : +103/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-simple-websocket/c/da6b35fb7a209a34a1fcc51eaa9c20270e14a858?branch=epel9
Log:
Initial import
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3ce8230
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/simple-websocket-1.0.0.tar.gz
diff --git a/python-simple-websocket.spec b/python-simple-websocket.spec
new file mode 100644
index 0000000..4851ad7
--- /dev/null
+++ b/python-simple-websocket.spec
@@ -0,0 +1,101 @@
+# 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: 4%{?dist}
+Summary: Simple WebSocket server and client for Python
+
+BuildArch: noarch
+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
+
+
+%package -n python3-simple-websocket
+Summary: %{summary}
+
+%description -n python3-simple-websocket
+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}
+
+
+%generate_buildrequires
+%pyproject_buildrequires
+
+
+%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
+%pyproject_save_files simple_websocket
+
+
+%check
+%pytest
+
+
+%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 examples/
+
+
+%changelog
+* Fri Oct 27 2023 Sandro Mani <manisandro@gmail.com> - 1.0.0-4
+- Add LICENSE to %%doc
+
+* Wed Oct 18 2023 Sandro Mani <manisandro@gmail.com> - 1.0.0-3
+- Simplify source URLs
+- Add LICENSE to -doc
+- BR pytest directly, drop coverage patch
+
+* Tue Oct 17 2023 Sandro Mani <manisandro@gmail.com> - 1.0.0-2
+- Use GitHub source
+- Builds docs
+- Ship examples as docs
+
+* Tue Oct 17 2023 Sandro Mani <manisandro@gmail.com> - 1.0.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..04120fb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (simple-websocket-1.0.0.tar.gz) = 63ccc19fe09f675e098f33d32659d1314b573893014bc203abb285c3ff6c04916fd6b592bcf50cc9d65d40d4ebe739e686ac53257ff8407de60312d6e21ca1b5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-28 6:09 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:09 [rpms/python-simple-websocket] epel9: Initial import Sandro Mani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox