[packages/python3-mccabe] - updated dependencies, release 2 (fix python-modules dependency)

qboosh qboosh at pld-linux.org
Thu Jul 3 21:12:34 CEST 2025


commit 74524c47dc4abe2b23a14b3d5215cb96fbbe76f7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jul 3 21:14:03 2025 +0200

    - updated dependencies, release 2 (fix python-modules dependency)

 python3-mccabe.spec | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/python3-mccabe.spec b/python3-mccabe.spec
index 1f87386..53d054d 100644
--- a/python3-mccabe.spec
+++ b/python3-mccabe.spec
@@ -1,29 +1,30 @@
+# TODO: prepare hypothesmith, reenable tests
 #
 # Conditional build:
-%bcond_with	tests	# test target
+%bcond_with	tests	# unit tests
 
 %define		module	mccabe
 Summary:	McCabe checker, plugin for flake8
 Summary(pl.UTF-8):	Wtyczka flake8 do sprawdzania złożoności McCabe'a
 Name:		python3-%{module}
 Version:	0.7.0
-Release:	1
+Release:	2
 License:	Expat/MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/mccabe/
 Source0:	https://files.pythonhosted.org/packages/source/m/mccabe/mccabe-%{version}.tar.gz
 # Source0-md5:	374ee2b9407546bb41d195e7436e5f62
 URL:		https://github.com/pycqa/mccabe
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-BuildRequires:	python3-devel >= 1:3.3
-BuildRequires:	python3-pytest-runner
+BuildRequires:	python3-devel >= 1:3.6
 BuildRequires:	python3-setuptools
 %if %{with tests}
+BuildRequires:	python3-hypothesis
 BuildRequires:	python3-hypothesmith
 BuildRequires:	python3-pytest
 %endif
-Requires:	python-modules >= 1:2.7
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.6
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-mccabe.git/commitdiff/74524c47dc4abe2b23a14b3d5215cb96fbbe76f7



More information about the pld-cvs-commit mailing list