[packages/python3-pkgconfig] - updated to 1.6.0

qboosh qboosh at pld-linux.org
Wed Apr 29 22:02:49 CEST 2026


commit b1c366a5bf7fe35c929079bec9c1f55bf82496cc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Apr 29 22:03:30 2026 +0200

    - updated to 1.6.0

 python3-pkgconfig.spec | 32 +++++++++++++++++++-------------
 1 file changed, 19 insertions(+), 13 deletions(-)
---
diff --git a/python3-pkgconfig.spec b/python3-pkgconfig.spec
index 3f9ee33..157e480 100644
--- a/python3-pkgconfig.spec
+++ b/python3-pkgconfig.spec
@@ -1,26 +1,28 @@
 #
 # Conditional build:
-%bcond_with	tests	# unit tests (not included in pypi release)
+%bcond_with	tests	# unit tests (not included in sdist)
 
 Summary:	Python 3 interface to pkg-config
 Summary(pl.UTF-8):	Interfejs Pythona 3 do narzędzia pkg-config
 Name:		python3-pkgconfig
-Version:	1.5.5
-Release:	3
+Version:	1.6.0
+Release:	1
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/pkgconfig/
 Source0:	https://files.pythonhosted.org/packages/source/p/pkgconfig/pkgconfig-%{version}.tar.gz
-# Source0-md5:	12523e11b91b050ca49975cc033689a4
+# Source0-md5:	fe94675a8b78717922de3e7694ee0643
 URL:		https://github.com/matze/pkgconfig
-BuildRequires:	python3-modules >= 1:3.3
-BuildRequires:	python3-setuptools
+BuildRequires:	python3-build
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.9
+BuildRequires:	python3-poetry-core >= 1.0.0
 %if %{with tests}
-BuildRequires:	python3-pytest >= 3.8.2
+BuildRequires:	python3-pytest >= 8.4.2
 %endif
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python3-modules >= 1:3.3
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.9
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -36,14 +38,18 @@ pkg-config.
 %setup -q -n pkgconfig-%{version}
 
 %build
-%py3_build
+%py3_build_pyproject
 
-%{?with_tests:%{__python3} -m pytest test_pkgconfig.py}
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(pwd)/src \
+%{__python3} -m pytest tests
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%py3_install
+%py3_install_pyproject
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -52,4 +58,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc LICENSE README.rst
 %{py3_sitescriptdir}/pkgconfig
-%{py3_sitescriptdir}/pkgconfig-%{version}-py*.egg-info
+%{py3_sitescriptdir}/pkgconfig-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pkgconfig.git/commitdiff/b1c366a5bf7fe35c929079bec9c1f55bf82496cc



More information about the pld-cvs-commit mailing list