[packages/python3-furo] Up to 2024.8.6 (but it requires net to build)
arekm
arekm at pld-linux.org
Mon Feb 10 18:01:16 CET 2025
commit f1d64431dc13e0549f719cfa3f82d3556223a5e5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Feb 10 17:33:43 2025 +0100
Up to 2024.8.6 (but it requires net to build)
python3-furo-setuptools.patch | 11 -----------
python3-furo.spec | 19 +++++++++----------
2 files changed, 9 insertions(+), 21 deletions(-)
---
diff --git a/python3-furo.spec b/python3-furo.spec
index 4d90889..6170039 100644
--- a/python3-furo.spec
+++ b/python3-furo.spec
@@ -1,20 +1,20 @@
Summary: Clean customizable Sphinx documentation theme
Summary(pl.UTF-8): Czysty, konfigurowalny motyw dokumentacji Sphinksa
Name: python3-furo
-# 2021.11.12+ requires sphinx-theme-builder
-Version: 2021.10.9
+Version: 2024.8.6
Release: 1
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/furo/
Source0: https://files.pythonhosted.org/packages/source/f/furo/furo-%{version}.tar.gz
-# Source0-md5: 0ebcd2d672b60689d89ae1affafbe418
-Patch0: %{name}-setuptools.patch
+# Source0-md5: f3097240959189473d67d001bb2ddd71
URL: https://pypi.org/project/furo/
+BuildRequires: python3-build
+BuildRequires: python3-installer
BuildRequires: python3-modules >= 1:3.6
-BuildRequires: python3-setuptools
+BuildRequires: python3-sphinx_theme_builder
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: rpmbuild(macros) >= 2.044
Requires: python3-modules >= 1:3.6
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -27,15 +27,14 @@ Czysty, konfigurowalny motyw dokumentacji Sphinksa.
%prep
%setup -q -n furo-%{version}
-%patch0 -p1
%build
-%py3_build
+%py3_build_pyproject
%install
rm -rf $RPM_BUILD_ROOT
-%py3_install
+%py3_install_pyproject
%clean
rm -rf $RPM_BUILD_ROOT
@@ -44,4 +43,4 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc LICENSE README.md
%{py3_sitescriptdir}/furo
-%{py3_sitescriptdir}/furo-%{version}-py*.egg-info
+%{py3_sitescriptdir}/furo-%{version}.dist-info
diff --git a/python3-furo-setuptools.patch b/python3-furo-setuptools.patch
deleted file mode 100644
index a6936c8..0000000
--- a/python3-furo-setuptools.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- furo-2020.12.30b24/setup.py.orig 1970-01-01 01:00:00.000000000 +0100
-+++ furo-2020.12.30b24/setup.py 2021-01-23 21:47:29.782079657 +0100
-@@ -1,7 +1,7 @@
- #!/usr/bin/env python
- # setup.py generated by flit for tools that don't yet use PEP 517
-
--from distutils.core import setup
-+from setuptools import setup
-
- packages = \
- ['furo']
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-furo.git/commitdiff/f1d64431dc13e0549f719cfa3f82d3556223a5e5
More information about the pld-cvs-commit
mailing list