15
0

- update to 2.2:

* drop python 3.6 support
  * add Python 3.11
  * Update ReadTheDoc configuration
  * Drop support for Python2.7 and Python3.5

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-compat-patcher-core?expand=0&rev=10
This commit is contained in:
2023-11-29 12:57:41 +00:00
committed by Git OBS Bridge
parent af504d9d04
commit bd2bccac82
4 changed files with 23 additions and 16 deletions

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3da10fb338cabf8b64ed2068877d47873f3130194d410c792a601c7a7d7964e3
size 45491

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc27d091f8279d59e21860d7e177b1921833bb58b322c75343f93a40c40311d2
size 45949

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Nov 29 12:43:32 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <yarunachalam@suse.com>
@@ -8,7 +16,7 @@ Mon Sep 26 23:20:56 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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

View File

@@ -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