From 0736a96d86afdde696686be673743c25beb8cbcb736fdba6c72dface4c373c2b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 8 Nov 2021 11:03:48 +0000 Subject: [PATCH] - update to 2.4.0: * Add type hints. * Support Python 3.10. * Stop distributing tests to reduce package size. Tests are not intended to be run outside of the tox setup in the repository. Repackagers can use GitHub's tarballs per tag. * Drop Python 3.5 support. * Move license from BSD to MIT License. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-patchy?expand=0&rev=3 --- patchy-2.1.0.tar.gz | 3 --- patchy-2.4.0.tar.gz | 3 +++ python-patchy.changes | 12 ++++++++++++ python-patchy.spec | 18 ++++++++++-------- 4 files changed, 25 insertions(+), 11 deletions(-) delete mode 100644 patchy-2.1.0.tar.gz create mode 100644 patchy-2.4.0.tar.gz diff --git a/patchy-2.1.0.tar.gz b/patchy-2.1.0.tar.gz deleted file mode 100644 index 7572256..0000000 --- a/patchy-2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bc86231765956733e148db13887d911a01700a3571e01a6db67bac5d90d7e2af -size 152896 diff --git a/patchy-2.4.0.tar.gz b/patchy-2.4.0.tar.gz new file mode 100644 index 0000000..77ec370 --- /dev/null +++ b/patchy-2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8076db1481ee900a89dac6b42ac97b0fae6e94ba835e5c4e1464769d91af53c5 +size 52084 diff --git a/python-patchy.changes b/python-patchy.changes index 31426d4..657951f 100644 --- a/python-patchy.changes +++ b/python-patchy.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Nov 8 10:59:40 UTC 2021 - Dirk Müller + +- update to 2.4.0: + * Add type hints. + * Support Python 3.10. + * Stop distributing tests to reduce package size. Tests are not intended to be + run outside of the tox setup in the repository. Repackagers can use GitHub's + tarballs per tag. + * Drop Python 3.5 support. + * Move license from BSD to MIT License. + ------------------------------------------------------------------- Sun Jul 5 17:48:56 UTC 2020 - John Vandenberg diff --git a/python-patchy.spec b/python-patchy.spec index 39a23ad..c6000bb 100644 --- a/python-patchy.spec +++ b/python-patchy.spec @@ -1,7 +1,7 @@ # # spec file for package python-patchy # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,23 +12,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%global skip_python2 1 Name: python-patchy -Version: 2.1.0 +Version: 2.4.0 Release: 0 License: BSD-3-Clause Summary: Patch the inner source of python functions at runtime -Url: https://github.com/adamchainz/patchy +URL: https://github.com/adamchainz/patchy Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/p/patchy/patchy-%{version}.tar.gz -BuildRequires: python-rpm-macros +Source: https://github.com/adamchainz/patchy/archive/refs/tags/%{version}.tar.gz#/patchy-%{version}.tar.gz +BuildRequires: %{python_module pkgutil-resolve-name} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module pkgutil-resolve-name} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-pkgutil-resolve-name BuildArch: noarch @@ -51,7 +53,7 @@ Patch the inner source of python functions at runtime. %pytest %files %{python_files} -%doc AUTHORS.rst README.rst +%doc README.rst %license LICENSE %{python_sitelib}/*