diff --git a/compat-patch-core-2.2-gh.tar.gz b/compat-patch-core-2.2-gh.tar.gz new file mode 100644 index 0000000..0d8568c --- /dev/null +++ b/compat-patch-core-2.2-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3da10fb338cabf8b64ed2068877d47873f3130194d410c792a601c7a7d7964e3 +size 45491 diff --git a/compat-patcher-core-2.1.tar.gz b/compat-patcher-core-2.1.tar.gz deleted file mode 100644 index 7bc52e2..0000000 --- a/compat-patcher-core-2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cc27d091f8279d59e21860d7e177b1921833bb58b322c75343f93a40c40311d2 -size 45949 diff --git a/python-compat-patcher-core.changes b/python-compat-patcher-core.changes index 3b64c83..cdf22e1 100644 --- a/python-compat-patcher-core.changes +++ b/python-compat-patcher-core.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Nov 29 12:43:32 UTC 2023 - Dirk Müller + +- update to 2.2: + * drop python 3.6 support + * add Python 3.11 + * Update ReadTheDoc configuration + ------------------------------------------------------------------- Mon Sep 26 23:20:56 UTC 2022 - Yogalakshmi Arunachalam @@ -8,7 +16,7 @@ Mon Sep 26 23:20:56 UTC 2022 - Yogalakshmi Arunachalam - Update to Version 2.0 * Fix encoding and error reporting bugs * Extend test coverage to Python3.10 - * Drop support for Python2.7 and Python3.5 + * Drop support for Python2.7 and Python3.5 ------------------------------------------------------------------- Mon Dec 13 13:35:12 UTC 2021 - pgajdos@suse.com diff --git a/python-compat-patcher-core.spec b/python-compat-patcher-core.spec index 898f97f..7772724 100644 --- a/python-compat-patcher-core.spec +++ b/python-compat-patcher-core.spec @@ -1,7 +1,7 @@ # # spec file for package python-compat-patcher-core # -# 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,17 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-compat-patcher-core -Version: 2.1 +Version: 2.2 Release: 0 Summary: Python patcher system License: MIT Group: Development/Languages/Python URL: https://github.com/pakal/compat-patcher-core -Source: https://files.pythonhosted.org/packages/source/c/compat-patcher-core/compat-patcher-core-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +Source: https://github.com/pakal/compat-patcher-core/archive/refs/tags/release-%{version}.tar.gz#/compat-patch-core-%{version}-gh.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: cookiecutter > 1.6.0 BuildRequires: dos2unix BuildRequires: fdupes @@ -47,16 +48,13 @@ BuildRequires: python3-pytest-cookies Python patcher system to allow easy and lasting API compatibility. %prep -%setup -q -n compat-patcher-core-%{version} -sed -i 's/python setup/python3 setup/' tests/*.py -dos2unix CHANGELOG -rm pytest.ini +%setup -q -n compat-patcher-core-release-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -68,6 +66,7 @@ rm pytest.ini %files %{python_files} %doc AUTHORS CHANGELOG README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/compat_patcher_core +%{python_sitelib}/compat_patcher_core-%{version}.dist-info %changelog