forked from pool/python-flake8-deprecated
Accepting request 1131185 from devel:languages:python
- update to 2.2.1: * Use `pyproject.toml` rather than `setup.py`. * Switch from `setuptools` to `hatchling`. * Drop python 3.7 support. * Fix error message. OBS-URL: https://build.opensuse.org/request/show/1131185 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-deprecated?expand=0&rev=4
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c7659a530aa76c3ad8be0c1e8331ed56d882ef8bfba074501a545bb3352b0c23
|
||||
size 13437
|
||||
3
flake8_deprecated-2.2.1.tar.gz
Normal file
3
flake8_deprecated-2.2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ee96ca001d1ca0561fa8e46f23e2d2460b18a86696373cab644e102ae0ff2aa2
|
||||
size 14869
|
||||
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 5 17:41:25 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.2.1:
|
||||
* Use `pyproject.toml` rather than `setup.py`.
|
||||
* Switch from `setuptools` to `hatchling`.
|
||||
* Drop python 3.7 support.
|
||||
* Fix error message.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 15 21:07:44 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-flake8-deprecated
|
||||
#
|
||||
# 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,17 +16,19 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-flake8-deprecated
|
||||
Version: 2.0.1
|
||||
Version: 2.2.1
|
||||
Release: 0
|
||||
Summary: Flake8 deprecations plugin
|
||||
License: GPL-2.0-only
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/gforcada/flake8-deprecated
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8-deprecated/flake8-deprecated-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8-deprecated/flake8_deprecated-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-flake8 >= 5.0.4
|
||||
@@ -42,13 +44,13 @@ This flake8 plugin helps you keeping up with method deprecations and giving hint
|
||||
they should be replaced with.
|
||||
|
||||
%prep
|
||||
%setup -q -n flake8-deprecated-%{version}
|
||||
%setup -q -n flake8_deprecated-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -57,6 +59,8 @@ they should be replaced with.
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGES.rst README.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/flake8_deprecated.py
|
||||
%pycache_only %{python_sitelib}/__pycache__/*
|
||||
%{python_sitelib}/flake8_deprecated-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user