15
0
forked from pool/python-patchy

- 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
This commit is contained in:
2021-11-08 11:03:48 +00:00
committed by Git OBS Bridge
parent a3682e9de5
commit e966d1692e
4 changed files with 25 additions and 11 deletions

View File

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

3
patchy-2.4.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Nov 8 10:59:40 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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 <jayvdb@gmail.com>

View File

@@ -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}/*