From e5da15c1a1bb69b3da80a89f345ec7dc0d0b15ca844ff94985d7480e79fc9921 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 9 Mar 2020 13:32:31 +0000 Subject: [PATCH] Accepting request 782954 from home:mcalabkova:branches:devel:languages:python - Update to 3.0.0 * Require Python 3.6 or later. OBS-URL: https://build.opensuse.org/request/show/782954 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.functools?expand=0&rev=10 --- jaraco.functools-2.0.tar.gz | 3 --- jaraco.functools-3.0.0.tar.gz | 3 +++ python-jaraco.functools.changes | 6 ++++++ python-jaraco.functools.spec | 17 +++++------------ 4 files changed, 14 insertions(+), 15 deletions(-) delete mode 100644 jaraco.functools-2.0.tar.gz create mode 100644 jaraco.functools-3.0.0.tar.gz diff --git a/jaraco.functools-2.0.tar.gz b/jaraco.functools-2.0.tar.gz deleted file mode 100644 index f1a44e8..0000000 --- a/jaraco.functools-2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35ba944f52b1a7beee8843a5aa6752d1d5b79893eeb7770ea98be6b637bf9345 -size 14340 diff --git a/jaraco.functools-3.0.0.tar.gz b/jaraco.functools-3.0.0.tar.gz new file mode 100644 index 0000000..07033d9 --- /dev/null +++ b/jaraco.functools-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5cb0eea0f254584241c519641328a4d4ec2001a86c3cd6d17a8fd228493f6d97 +size 15618 diff --git a/python-jaraco.functools.changes b/python-jaraco.functools.changes index 67606d4..91e3a45 100644 --- a/python-jaraco.functools.changes +++ b/python-jaraco.functools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 9 13:14:29 UTC 2020 - Marketa Calabkova + +- Update to 3.0.0 + * Require Python 3.6 or later. + ------------------------------------------------------------------- Wed Aug 21 14:43:51 UTC 2019 - Tomáš Chvátal diff --git a/python-jaraco.functools.spec b/python-jaraco.functools.spec index 892f7a2..ab2a6d1 100644 --- a/python-jaraco.functools.spec +++ b/python-jaraco.functools.spec @@ -1,7 +1,7 @@ # # spec file for package python-jaraco.functools # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-jaraco.functools -Version: 2.0 +Version: 3.0.0 Release: 0 Summary: Tools to work with functools License: MIT @@ -31,7 +32,6 @@ BuildRequires: %{python_module more-itertools} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python2-backports.functools_lru_cache @@ -51,6 +51,7 @@ Additional functools in the spirit of stdlib’s functools. %prep %setup -q -n jaraco.functools-%{version} sed -i 's/--flake8//' pytest.ini +sed -i 's/--black --cov//' pytest.ini rm -rf jaraco.functools.egg-info %build @@ -61,22 +62,14 @@ rm -rf jaraco.functools.egg-info %python_expand rm %{buildroot}%{$python_sitelib}/jaraco/__init__.py -%if 0%{?have_python2} && ! 0%{?skip_python2} -%py_compile %{buildroot}%{python2_sitelib}/jaraco/ -%py_compile -O %{buildroot}%{python2_sitelib}/jaraco/ -%endif - -%if 0%{?have_python3} && ! 0%{?skip_python3} %py3_compile %{buildroot}%{python3_sitelib}/jaraco/ %py3_compile -O %{buildroot}%{python3_sitelib}/jaraco/ -%endif %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# Ignore method_cache doctest because of gh#jaraco/jaraco.functools#12 # test_function_throttled - can randomly fail -%pytest -k 'not method_cache and not test_function_throttled' +%pytest -k 'not test_function_throttled' %files %{python_files} %license LICENSE