From 8ba5eb245fe1b4c9a1ad8dd9890cd8d713973be4d3d07e1a60c911ec0eb0a199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 8 Sep 2022 15:36:21 +0000 Subject: [PATCH] Accepting request 1001823 from home:jayvdb:branches:devel:languages:python Note: This version is minimum required for deepdiff , which is currently broken when used by anything which uses pkg_resources and similar to do version checking. Note: The egg-info is now a single file instead of a directory. If there is some reason it needs to be a directory, either upstream needs to provide one, or we need to somehow do the conversion. - Update to v4.1.0 OBS-URL: https://build.opensuse.org/request/show/1001823 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ordered-set?expand=0&rev=18 --- ordered-set-4.0.2.tar.gz | 3 --- ordered-set-4.1.0.tar.gz | 3 +++ python-ordered-set.changes | 13 +++++++++++++ python-ordered-set.spec | 18 +++++++----------- 4 files changed, 23 insertions(+), 14 deletions(-) delete mode 100644 ordered-set-4.0.2.tar.gz create mode 100644 ordered-set-4.1.0.tar.gz diff --git a/ordered-set-4.0.2.tar.gz b/ordered-set-4.0.2.tar.gz deleted file mode 100644 index 6fd1061..0000000 --- a/ordered-set-4.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ba93b2df055bca202116ec44b9bead3df33ea63a7d5827ff8e16738b97f33a95 -size 10658 diff --git a/ordered-set-4.1.0.tar.gz b/ordered-set-4.1.0.tar.gz new file mode 100644 index 0000000..a675fe4 --- /dev/null +++ b/ordered-set-4.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c77364a8 +size 12826 diff --git a/python-ordered-set.changes b/python-ordered-set.changes index 6e9e040..151a7a1 100644 --- a/python-ordered-set.changes +++ b/python-ordered-set.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Sep 8 05:02:48 UTC 2022 - John Vandenberg + +- Update URL to https://github.com/rspeer/ordered-set +- The egg-info is now a single file instead of a directory +- Update to v4.1.0 + * Packaged using flit. Wheels now exist, and setuptools is no longer required. + * The code is in ordered_set/__init__.py instead of ordered_set.py. + * There is an ordered_set/py.typed so that type checkers know about the types. + * Use the type aliases SetLike[T] and OrderedSetInitializer[T] to simplify some types. + * Updated the way overloaded type signatures are written to what MyPy currently expects. + * Minimum Python version is 3.7. + ------------------------------------------------------------------- Tue Dec 28 10:51:04 UTC 2021 - Ben Greiner diff --git a/python-ordered-set.spec b/python-ordered-set.spec index 80af1cc..2d86421 100644 --- a/python-ordered-set.spec +++ b/python-ordered-set.spec @@ -1,7 +1,7 @@ # # spec file for package python-ordered-set # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2019 Neal Gompa . # # All modifications and additions to the file contributed by third parties @@ -32,11 +32,11 @@ %endif %define skip_python2 1 Name: python-%{modname}%{psuffix} -Version: 4.0.2 +Version: 4.1.0 Release: 0 Summary: Custom MutableSet that remembers its order License: MIT -URL: https://github.com/LuminosoInsight/ordered-set +URL: https://github.com/rspeer/ordered-set Source: https://files.pythonhosted.org/packages/source/o/%{modname}/%{modname}-%{version}.tar.gz # this package is build dependency of setuptools BuildRequires: %{python_module base} @@ -69,25 +69,21 @@ sed -i -e 's:from setuptools :from distutils.core :g' setup.py %install %if !%{with test} %python_install -# ensure egg-info is a directory -%{python_expand rm -rf %{buildroot}%{$python_sitelib}/*.egg-info -cp -r ordered_set.egg-info %{buildroot}%{$python_sitelib}/ordered_set-%{version}-py%{$python_version}.egg-info -} %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %check %if %{with test} -%pytest test.py +%pytest %endif %if !%{with test} %files %{python_files} %license MIT-LICENSE %doc README.md -%{python_sitelib}/%{dir_name}-* -%{python_sitelib}/%{dir_name}.py* -%pycache_only %{python_sitelib}/__pycache__/%{dir_name}.* +%{python_sitelib}/%{dir_name}/ +# Note: The distutils generated egg-info is not a directory +%{python_sitelib}/%{dir_name}-%{version}-py%{python_version}.egg-info %endif %changelog