[packages/python3-mccabe] - dropped extra spec from repo
qboosh
qboosh at pld-linux.org
Mon Dec 1 19:47:05 CET 2025
commit 800a99bba7904465aba8dc35710085160268da9f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Dec 1 19:47:15 2025 +0100
- dropped extra spec from repo
python-mccabe.spec | 113 -----------------------------------------------------
1 file changed, 113 deletions(-)
---
diff --git a/python-mccabe.spec b/python-mccabe.spec
deleted file mode 100644
index ea3d72b..0000000
--- a/python-mccabe.spec
+++ /dev/null
@@ -1,113 +0,0 @@
-#
-# Conditional build:
-%bcond_without tests # test target
-%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
-
-%define module mccabe
-Summary: McCabe checker, plugin for flake8
-Summary(pl.UTF-8): Wtyczka flake8 do sprawdzania złożoności McCabe'a
-Name: python-%{module}
-# keep 0.6.x here for python2 support and flake8 compatibility
-Version: 0.6.1
-Release: 7
-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: 723df2f7b1737b8887475bac4c763e1e
-URL: https://github.com/pycqa/mccabe
-BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
-%if %{with python2}
-BuildRequires: python-devel >= 1:2.7
-BuildRequires: python-pytest-runner
-BuildRequires: python-setuptools
-%if %{with tests}
-BuildRequires: python-pytest
-%endif
-%endif
-%if %{with python3}
-BuildRequires: python3-devel >= 1:3.3
-BuildRequires: python3-pytest-runner
-BuildRequires: python3-setuptools
-%if %{with tests}
-BuildRequires: python3-pytest
-%endif
-%endif
-Requires: python3-modules >= 1:3.6
-BuildArch: noarch
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-Ned's script to check McCabe complexity.
-
-%description -l pl.UTF-8
-Skrypt Neda do sprawdzania złożoności McCabe'a (cyklomatycznej).
-
-%package -n python3-%{module}
-Summary: McCabe checker, plugin for flake8
-Summary(pl.UTF-8): Wtyczka flake8 do sprawdzania złożoności McCabe'a
-Group: Libraries/Python
-Requires: python3-modules >= 1:3.3
-
-%description -n python3-%{module}
-Ned's script to check McCabe complexity.
-
-%description -n python3-%{module} -l pl.UTF-8
-Skrypt Neda do sprawdzania złożoności McCabe'a (cyklomatycznej).
-
-%prep
-%setup -q -n %{module}-%{version}
-
-%build
-%if %{with python2}
-%py_build
-
-%if %{with tests}
-PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-%{__python} -m pytest test_mccabe.py
-%endif
-%endif
-
-%if %{with python3}
-%py3_build
-
-%if %{with tests}
-PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-%{__python3} -m pytest test_mccabe.py
-%endif
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%py_install
-
-%py_postclean
-%endif
-
-%if %{with python3}
-%py3_install
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%files
-%defattr(644,root,root,755)
-%doc LICENSE README.rst
-%{py_sitescriptdir}/mccabe.py[co]
-%{py_sitescriptdir}/mccabe-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-%{module}
-%defattr(644,root,root,755)
-%doc LICENSE README.rst
-%{py3_sitescriptdir}/mccabe.py
-%{py3_sitescriptdir}/__pycache__/mccabe.cpython-*.py[co]
-%{py3_sitescriptdir}/mccabe-%{version}-py*.egg-info
-%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-mccabe.git/commitdiff/800a99bba7904465aba8dc35710085160268da9f
More information about the pld-cvs-commit
mailing list