public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-flask-caching] rawhide: remove the patch that was merged in upstream and modernize python macros
Date: Mon, 22 Jun 2026 16:28:28 GMT [thread overview]
Message-ID: <178214570854.1.10756112297151385431.rpms-python-flask-caching-ba78498bf3e1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-flask-caching
Branch : rawhide
Commit : ba78498bf3e16344604dc75cee774cde5248bbfb
Author : Miroslav Suchý <msuchy@redhat.com>
Date : 2026-06-22T14:33:19+02:00
Stats : +9/-46 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-flask-caching/c/ba78498bf3e16344604dc75cee774cde5248bbfb?branch=rawhide
Log:
remove the patch that was merged in upstream and modernize python macros
Resolves: RHBZ#2377712
---
diff --git a/3c8df1714292549d2fe27fa4a03110657fd647a3.patch b/3c8df1714292549d2fe27fa4a03110657fd647a3.patch
deleted file mode 100644
index 94a65eb..0000000
--- a/3c8df1714292549d2fe27fa4a03110657fd647a3.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From 3c8df1714292549d2fe27fa4a03110657fd647a3 Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Fri, 14 Feb 2025 10:08:49 -0500
-Subject: [PATCH] Update intersphinx_mapping for Sphinx 8 compatibility (#598)
-
----
- docs/conf.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/docs/conf.py b/docs/conf.py
-index 91d1d5f5..343aadd9 100644
---- a/docs/conf.py
-+++ b/docs/conf.py
-@@ -362,4 +362,4 @@
-
-
- # Example configuration for intersphinx: refer to the Python standard library.
--intersphinx_mapping = {"https://docs.python.org/3/": None}
-+intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}
diff --git a/python-flask-caching.spec b/python-flask-caching.spec
index ca95e84..d4ce1b1 100644
--- a/python-flask-caching.spec
+++ b/python-flask-caching.spec
@@ -12,22 +12,6 @@ License: LicenseRef-Callaway-BSD
URL: https://github.com/sh4nks/flask-caching
Source0: https://github.com/sh4nks/%{srcname}/archive/v%{version}/%{srcname}-v%{version}.tar.gz
-# Update intersphinx_mapping for Sphinx 8 compatibility
-# https://github.com/pallets-eco/flask-caching/pull/599/commits/3c8df1714292549d2fe27fa4a03110657fd647a3
-#
-# Fixes:
-#
-# The intersphinx_mapping in docs/conf.py is incompatible with Sphinx 8
-# https://github.com/pallets-eco/flask-caching/issues/598
-#
-# python-flask-caching fails to build with sphinx 8.x: ERROR: Invalid value
-# `None` in intersphinx_mapping['https://docs.python.org/3/'].
-# https://bugzilla.redhat.com/show_bug.cgi?id=2329857
-#
-# python-flask-caching: FTBFS in Fedora rawhide/f42
-# https://bugzilla.redhat.com/show_bug.cgi?id=2341153
-Patch: https://github.com/pallets-eco/flask-caching/pull/599/commits/3c8df1714292549d2fe27fa4a03110657fd647a3.patch
-
BuildArch: noarch
BuildRequires: python3-devel
@@ -41,15 +25,16 @@ BuildRequires: python3dist(pytest-xprocess)
BuildRequires: python3dist(pytest-asyncio)
BuildRequires: python3dist(redis)
BuildRequires: redis
-BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(sphinx)
+BuildRequires: python3dist(sphinx-issues)
+BuildRequires: python3dist(sphinx-tabs)
+BuildRequires: python3dist(sphinxcontrib-log-cabinet)
%description
Flask-Caching Adds easy cache support to Flask
%package -n python3-%{srcname}
Summary: %{summary}
-%{?python_provide:%python_provide python3-%{srcname}}
Requires: python3dist(flask)
%description -n python3-%{srcname}
@@ -63,30 +48,27 @@ Documentation for Flask-Caching
%prep
%autosetup -n %{srcname}-%{version} -p1
-# Remove bundled egg-info
-rm -rf %{srcname}.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 flask_caching
%check
redis-server &
%pytest
kill %1
-%files -n python3-%{srcname}
-%license LICENSE docs/license.rst
+%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.rst
-%{python3_sitelib}/flask_caching
-%{python3_sitelib}/Flask_Caching-%{version}-py%{python3_version}.egg-info
%files -n python-%{srcname}-doc
%doc html
reply other threads:[~2026-06-22 16:28 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=178214570854.1.10756112297151385431.rpms-python-flask-caching-ba78498bf3e1@fedoraproject.org \
--to=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