[packages/sphinxygen] - updated to 1.0.10
qboosh
qboosh at pld-linux.org
Tue Mar 18 21:55:12 CET 2025
commit 28c680dc618099932bd08246abbdc949acef8488
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Mar 18 21:51:37 2025 +0100
- updated to 1.0.10
sphinxygen.spec | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/sphinxygen.spec b/sphinxygen.spec
index 7925c44..646efbe 100644
--- a/sphinxygen.spec
+++ b/sphinxygen.spec
@@ -5,20 +5,22 @@
Summary: A script to generate Sphinx ReST from Doxygen XML
Summary(pl.UTF-8): Skrypt do generowania sphinxowego ReSTa z XML-a Doxygena
Name: sphinxygen
-Version: 1.0.4
-Release: 2
+Version: 1.0.10
+Release: 1
License: ISC
Group: Development/Tools
Source0: http://download.drobilla.net/%{name}-%{version}.tar.gz
-# Source0-md5: 67714a5cdfa525ff0c010448e729394f
+# Source0-md5: 29d15a4a2684abac843918d110f09b77
URL: https://gitlab.com/drobilla/sphinxygen
+BuildRequires: python3-build
+BuildRequires: python3-installer
BuildRequires: python3-modules >= 1:3.6
BuildRequires: python3-setuptools >= 1:61.2
%if %{with tests}
BuildRequires: python3-html5lib
%endif
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: rpmbuild(macros) >= 2.044
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,14 +35,8 @@ opisu API w języku C z opisu XML wydobytego przez Doxygena.
%prep
%setup -q
-# stub for setuptools
-cat >setup.py <<EOF
-from setuptools import setup
-setup()
-EOF
-
%build
-%py3_build
+%py3_build_pyproject
%if %{with tests}
%{__python3} -m unittest discover -s test
@@ -49,7 +45,7 @@ EOF
%install
rm -rf $RPM_BUILD_ROOT
-%py3_install
+%py3_install_pyproject
%clean
rm -rf $RPM_BUILD_ROOT
@@ -59,4 +55,4 @@ rm -rf $RPM_BUILD_ROOT
%doc LICENSE NEWS README.md
%attr(755,root,root) %{_bindir}/sphinxygen
%{py3_sitescriptdir}/sphinxygen
-%{py3_sitescriptdir}/sphinxygen-%{version}-py*.egg-info
+%{py3_sitescriptdir}/sphinxygen-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sphinxygen.git/commitdiff/28c680dc618099932bd08246abbdc949acef8488
More information about the pld-cvs-commit
mailing list