public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Gwyn Ciesla <gwync@protonmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-klein] epel10.2: Migrate to new macros
Date: Tue, 06 Oct 2026 01:15:15 GMT [thread overview]
Message-ID: <179124931545.1.3739689838224025565.rpms-python-klein-e071ca25f3a8@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-klein
Branch : epel10.2
Commit : e071ca25f3a85bba835993c5f00fb67c5fed603d
Author : Gwyn Ciesla <gwync@protonmail.com>
Date : 2025-07-09T12:40:12-05:00
Stats : +10/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-klein/c/e071ca25f3a85bba835993c5f00fb67c5fed603d?branch=epel10.2
Log:
Migrate to new macros
---
diff --git a/python-klein.spec b/python-klein.spec
index 3c47da1..8ba9c0f 100644
--- a/python-klein.spec
+++ b/python-klein.spec
@@ -15,7 +15,6 @@ 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
@@ -29,7 +28,6 @@ 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.
@@ -42,24 +40,26 @@ Documentation for klein
%prep
%autosetup -n %{pypi_name}-%{version} -p0
-# Remove bundled egg-info
-rm -rf %{pypi_name}.egg-info
+
+%generate_buildrequires
+%pyproject_buildrequires
%build
-%py3_build
+%pyproject_wheel
# generate html docs
PYTHONPATH=${PWD} sphinx-build-3 docs html
# remove the sphinx-build leftovers
rm -rf html/.{doctrees,buildinfo}
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l %{pypi_name}
-%files -n python3-%{pypi_name}
-%license LICENSE
+%check
+%pyproject_check_import -t
+
+%files -n python3-%{pypi_name} -f %{pyproject_files}
%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
reply other threads:[~2026-10-06 1:15 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=179124931545.1.3739689838224025565.rpms-python-klein-e071ca25f3a8@fedoraproject.org \
--to=gwync@protonmail.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