From 5dce88828d6ed3f6251185742b632b6ba307297b56a981e324f9bd473ce0cbd4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 5 Dec 2023 21:12:12 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-flake8-pep3101?expand=0&rev=8 --- flake8-pep3101-2.0.0.tar.gz | 3 --- flake8_pep3101-2.1.0.tar.gz | 3 +++ python-flake8-pep3101.changes | 11 +++++++++++ python-flake8-pep3101.spec | 22 +++++++++++++--------- 4 files changed, 27 insertions(+), 12 deletions(-) delete mode 100644 flake8-pep3101-2.0.0.tar.gz create mode 100644 flake8_pep3101-2.1.0.tar.gz diff --git a/flake8-pep3101-2.0.0.tar.gz b/flake8-pep3101-2.0.0.tar.gz deleted file mode 100644 index 1180cef..0000000 --- a/flake8-pep3101-2.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ae2ee1758734a473ca971b4bf9ff09c961b6099916db91fdb6b9718328dfcacb -size 13179 diff --git a/flake8_pep3101-2.1.0.tar.gz b/flake8_pep3101-2.1.0.tar.gz new file mode 100644 index 0000000..da56e5e --- /dev/null +++ b/flake8_pep3101-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b84b61685f1e631f2f710e5d5ed3ca68b5fc45fb9402fa8ae1b8a9a058a3387 +size 14515 diff --git a/python-flake8-pep3101.changes b/python-flake8-pep3101.changes index bf2f8da..be86120 100644 --- a/python-flake8-pep3101.changes +++ b/python-flake8-pep3101.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Dec 5 21:09:50 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-flake8-pep3101.spec b/python-flake8-pep3101.spec index c51fe65..93bad29 100644 --- a/python-flake8-pep3101.spec +++ b/python-flake8-pep3101.spec @@ -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