[packages/python3-packaging] - building without setuptools no longer possible
qboosh
qboosh at pld-linux.org
Fri May 23 21:32:02 CEST 2025
commit 5446de26a40aef1ffb8b0f5d23644d935cab69c0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri May 23 21:25:25 2025 +0200
- building without setuptools no longer possible
python3-packaging.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python3-packaging.spec b/python3-packaging.spec
index 56cd2fe..bc52a59 100644
--- a/python3-packaging.spec
+++ b/python3-packaging.spec
@@ -1,14 +1,12 @@
#
# Conditional build:
-%bcond_without doc # don't build doc
+%bcond_without doc # Sphinx documentation
%bcond_without tests # py.test tests
-%bcond_without setuptools # build without setuptools (for bootstraping)
%bcond_with bootstrap # bootstraping for python-rpm-packaging (rpm-pythonprov)
%if %{with bootstrap}
%undefine with_doc
%undefine with_tests
-%undefine with_setuptools
%endif
Summary: Core utilities for Python packages
@@ -24,7 +22,7 @@ Source0: https://pypi.debian.net/packaging/packaging-%{version}.tar.gz
URL: https://github.com/pypa/packaging
BuildRequires: python3 >= 1:3.6
BuildRequires: python3-modules >= 1:3.6
-%{?with_setuptools:BuildRequires: python3-setuptools >= 1:61.0.0}
+BuildRequires: python3-setuptools >= 1:61.0.0
%if %{with tests}
BuildRequires: python3-pretend
BuildRequires: python3-pyparsing >= 2.0.2
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-packaging.git/commitdiff/5446de26a40aef1ffb8b0f5d23644d935cab69c0
More information about the pld-cvs-commit
mailing list