public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-klein] epel10.2: Initial package (#1870883)
@ 2026-10-06 1:15 Neal Gompa
0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-10-06 1:15 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-klein
Branch : epel10.2
Commit : 133ce57733d32601348695d6998c86334ceff7b7
Author : Neal Gompa <ngompa13@gmail.com>
Date : 2020-08-23T08:38:26-04:00
Stats : +71/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-klein/c/133ce57733d32601348695d6998c86334ceff7b7?branch=epel10.2
Log:
Initial package (#1870883)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..504c54c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/klein-20.6.0.tar.gz
diff --git a/python-klein.spec b/python-klein.spec
new file mode 100644
index 0000000..5db1919
--- /dev/null
+++ b/python-klein.spec
@@ -0,0 +1,69 @@
+%global pypi_name klein
+
+Name: python-%{pypi_name}
+Version: 20.6.0
+Release: 1%{?dist}
+Summary: Python microframework built on werkzeug + twisted.web
+
+License: MIT
+URL: https://github.com/twisted/klein
+Source0: %{pypi_source}
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3dist(attrs)
+BuildRequires: python3dist(hyperlink)
+BuildRequires: python3dist(incremental)
+BuildRequires: python3dist(setuptools)
+BuildRequires: python3dist(six)
+BuildRequires: python3dist(tubes)
+BuildRequires: python3dist(twisted) >= 15.5
+BuildRequires: python3dist(werkzeug)
+BuildRequires: python3dist(zope.interface)
+BuildRequires: python3dist(sphinx)
+BuildRequires: python3dist(sphinx-rtd-theme)
+
+%description
+Klein is a Web Micro-Framework built on Twisted and Werkzeug.
+
+%package -n python3-%{pypi_name}
+Summary: %{summary}
+%{?python_provide:%python_provide python3-%{pypi_name}}
+
+%description -n python3-%{pypi_name}
+Klein is a Web Micro-Framework built on Twisted and Werkzeug.
+
+%package -n python-%{pypi_name}-doc
+Summary: klein documentation
+
+%description -n python-%{pypi_name}-doc
+Documentation for klein
+
+%prep
+%autosetup -n %{pypi_name}-%{version}
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
+
+%build
+%py3_build
+# generate html docs
+PYTHONPATH=${PWD} sphinx-build-3 docs html
+# remove the sphinx-build leftovers
+rm -rf html/.{doctrees,buildinfo}
+
+%install
+%py3_install
+
+%files -n python3-%{pypi_name}
+%license LICENSE
+%doc README.rst
+%{python3_sitelib}/%{pypi_name}/
+%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
+
+%files -n python-%{pypi_name}-doc
+%doc html
+%license LICENSE
+
+%changelog
+* Sun Aug 23 2020 Neal Gompa <ngompa13@gmail.com> - 20.6.0-1
+- Initial package (#1870883)
diff --git a/sources b/sources
new file mode 100644
index 0000000..472c9f3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (klein-20.6.0.tar.gz) = 128b180c51c4457d3ffcd088e127d671d8260c3d62a80129bafbf6e3a2e47945290cd5ec695a64a1795465199e14c8f367445f8d90649f6384fd8338a53bb48e
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-06 1:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 1:15 [rpms/python-klein] epel10.2: Initial package (#1870883) Neal Gompa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox