1
0
forked from pool/python-mccabe

10 Commits

Author SHA256 Message Date
105e128315 Accepting request 1281822 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1281822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mccabe?expand=0&rev=11
2025-06-04 18:27:28 +00:00
1e379b27aa fix files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mccabe?expand=0&rev=25
2025-06-02 08:47:07 +00:00
504ddc1276 - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mccabe?expand=0&rev=24
2025-06-02 08:11:18 +00:00
92864b1fa8 Accepting request 1085635 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1085635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mccabe?expand=0&rev=10
2023-05-09 11:09:09 +00:00
87f0efb876 Accepting request 997689 from devel:languages:python
- update to 0.7.0:
  * Drop support for all versions of Python lower than 3.6
  * Add support for Python 3.8, 3.9, and 3.10
  * Fix option declaration for Flake8

OBS-URL: https://build.opensuse.org/request/show/997689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mccabe?expand=0&rev=9
2022-08-19 15:53:13 +00:00
78a14253c9 Accepting request 713189 from devel:languages:python
- Fix the test run with new pytest

OBS-URL: https://build.opensuse.org/request/show/713189
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mccabe?expand=0&rev=8
2019-07-08 13:02:02 +00:00
3b5455db39 Accepting request 479716 from devel:languages:python
- update for singlespec
- enable tests (forwarded request 479715 from matejcik)

OBS-URL: https://build.opensuse.org/request/show/479716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mccabe?expand=0&rev=7
2017-04-19 15:56:33 +00:00
Stephan Kulow
6d114590a1 Accepting request 306663 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/306663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mccabe?expand=0&rev=6
2015-05-15 07:03:03 +00:00
Tomáš Chvátal
755037931e Accepting request 204593 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mccabe?expand=0&rev=4
2013-10-25 09:21:37 +00:00
Stephan Kulow
0669bd94cb Accepting request 179889 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mccabe?expand=0&rev=2
2013-06-19 14:39:38 +00:00
2 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 2 08:10:53 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Tue May 9 04:58:14 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mccabe
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,8 +27,10 @@ URL: https://github.com/flintwork/mccabe
Source: https://files.pythonhosted.org/packages/source/m/mccabe/mccabe-%{version}.tar.gz
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module hypothesmith}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -44,10 +46,10 @@ This module provides a plugin for flake8, the Python code checker.
sed -i 's:pytest-runner::' setup.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -56,6 +58,8 @@ sed -i 's:pytest-runner::' setup.py
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/mccabe.py
%{python_sitelib}/mccabe-%{version}*-info
%pycache_only %{python_sitelib}/__pycache__/mccabe*
%changelog