forked from pool/python-flake8-pep3101
Accepting request 1131209 from devel:languages:python
- update to 2.1.0: * Drop python 3.7 support. * Test against python 3.12. * Use `pyproject.toml` rather than `setup.py`. * Switch from `setuptools` to `hatchling`. * Switch to `main` branch. * Use `tox` and `pre-commit` to ease project maintenance. OBS-URL: https://build.opensuse.org/request/show/1131209 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-pep3101?expand=0&rev=4
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ae2ee1758734a473ca971b4bf9ff09c961b6099916db91fdb6b9718328dfcacb
|
||||
size 13179
|
||||
3
flake8_pep3101-2.1.0.tar.gz
Normal file
3
flake8_pep3101-2.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1b84b61685f1e631f2f710e5d5ed3ca68b5fc45fb9402fa8ae1b8a9a058a3387
|
||||
size 14515
|
||||
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 5 21:09:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.1.0:
|
||||
* Drop python 3.7 support.
|
||||
* Test against python 3.12.
|
||||
* Use `pyproject.toml` rather than `setup.py`.
|
||||
* Switch from `setuptools` to `hatchling`.
|
||||
* Switch to `main` branch.
|
||||
* Use `tox` and `pre-commit` to ease project maintenance.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 8 16:43:35 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-flake8-pep3101
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,16 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-flake8-pep3101
|
||||
Version: 2.0.0
|
||||
Version: 2.1.0
|
||||
Release: 0
|
||||
Summary: Checks for old string formatting
|
||||
License: GPL-2.0-only
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/gforcada/flake8-pep3101
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8-pep3101/flake8-pep3101-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8-pep3101/flake8_pep3101-%{version}.tar.gz
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-flake8 >= 3.0
|
||||
@@ -41,13 +43,13 @@ BuildRequires: %{python_module testfixtures}
|
||||
Checks for old string formatting.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n flake8-pep3101-%{version}
|
||||
%autosetup -p1 -n flake8_pep3101-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -56,6 +58,8 @@ Checks for old string formatting.
|
||||
%files %{python_files}
|
||||
%doc CHANGES.rst README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/flake8_pep3101.py
|
||||
%pycache_only %{python_sitelib}/__pycache__/flake8_pep3101*
|
||||
%{python_sitelib}/flake8_pep3101-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user