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..844989c 100644 --- a/python-jaraco.functools.changes +++ b/python-jaraco.functools.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Mar 14 08:13:39 UTC 2020 - Tomáš Chvátal + +- Femove leftover py2 dependencies + +------------------------------------------------------------------- +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..0333f9f 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,17 +32,11 @@ 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 -BuildRequires: python2-backports.unittest_mock Requires: python-jaraco.base >= 6.1 Requires: python-more-itertools BuildArch: noarch -%ifpython2 -Requires: python-backports.functools_lru_cache -%endif %python_subpackages %description @@ -51,6 +46,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 +57,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