commit python-sortedcontainers for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortedcontainers for openSUSE:Factory checked in at 2020-08-13 10:12:56 Comparing /work/SRC/openSUSE:Factory/python-sortedcontainers (Old) and /work/SRC/openSUSE:Factory/.python-sortedcontainers.new.3399 (New) Package is "python-sortedcontainers" Thu Aug 13 10:12:56 2020 rev:10 rq:825708 version:2.2.2 Changes: --- /work/SRC/openSUSE:Factory/python-sortedcontainers/python-sortedcontainers.changes 2020-06-21 19:06:25.897011891 +0200 +++ /work/SRC/openSUSE:Factory/.python-sortedcontainers.new.3399/python-sortedcontainers.changes 2020-08-13 10:13:03.918600166 +0200 @@ -1,0 +2,5 @@ +Tue Aug 11 07:24:23 UTC 2020 - Tomáš Chvátal + +- Switch to multibuild to avoid cycles with matplotib + +--- New: _multibuild Other differences: -- ++ python-sortedcontainers.spec ++ --- /var/tmp/diff_new_pack.XPZCwJ/_old 2020-08-13 10:13:06.130601551 +0200 +++ /var/tmp/diff_new_pack.XPZCwJ/_new 2020-08-13 10:13:06.134601553 +0200 @@ -17,24 +17,31 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-sortedcontainers +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif +Name: python-sortedcontainers%{psuffix} Version:2.2.2 Release:0 Summary:Sorted container data types License:Apache-2.0 -Group: Development/Languages/Python URL:https://github.com/grantjenks/python-sortedcontainers Source: https://github.com/grantjenks/python-sortedcontainers/archive/v%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION test requirements +BuildArch: noarch +%if %{with test} BuildRequires: %{python_module matplotlib} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scipy} -# /SECTION -BuildArch: noarch +%endif %python_subpackages %description @@ -60,16 +67,21 @@ %python_build %install +%if !%{with test} %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif %check -export PYTHONDONTWRITEBYTECODE=1 +%if %{with test} %pytest tests +%endif +%if !%{with test} %files %{python_files} %license LICENSE %doc README.rst %{python_sitelib}/* +%endif %changelog ++ _multibuild ++ test
commit python-sortedcontainers for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortedcontainers for openSUSE:Factory checked in at 2020-06-21 18:50:50 Comparing /work/SRC/openSUSE:Factory/python-sortedcontainers (Old) and /work/SRC/openSUSE:Factory/.python-sortedcontainers.new.3606 (New) Package is "python-sortedcontainers" Sun Jun 21 18:50:50 2020 rev:9 rq:814546 version:2.2.2 Changes: --- /work/SRC/openSUSE:Factory/python-sortedcontainers/python-sortedcontainers.changes 2019-03-26 15:46:01.608064275 +0100 +++ /work/SRC/openSUSE:Factory/.python-sortedcontainers.new.3606/python-sortedcontainers.changes 2020-06-21 19:06:25.897011891 +0200 @@ -1,0 +2,9 @@ +Sun Jun 14 09:06:28 UTC 2020 - Dirk Mueller + +- update to 2.2.2 + * Add "small slice" optimization to SortedList.__getitem__. + * Silence warning when testing SortedList.iloc. + * Fix a warning regarding classifiers in setup.py. + * Change SortedDict to avoid cycles for CPython reference counting. + +--- Old: v2.1.0.tar.gz New: v2.2.2.tar.gz Other differences: -- ++ python-sortedcontainers.spec ++ --- /var/tmp/diff_new_pack.YWEf7P/_old 2020-06-21 19:06:28.733021099 +0200 +++ /var/tmp/diff_new_pack.YWEf7P/_new 2020-06-21 19:06:28.737021112 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-sortedcontainers # -# 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 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sortedcontainers -Version:2.1.0 +Version:2.2.2 Release:0 Summary:Sorted container data types License:Apache-2.0 ++ v2.1.0.tar.gz -> v2.2.2.tar.gz ++ /work/SRC/openSUSE:Factory/python-sortedcontainers/v2.1.0.tar.gz /work/SRC/openSUSE:Factory/.python-sortedcontainers.new.3606/v2.2.2.tar.gz differ: char 13, line 1
commit python-sortedcontainers for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortedcontainers for openSUSE:Factory checked in at 2019-03-26 15:45:57 Comparing /work/SRC/openSUSE:Factory/python-sortedcontainers (Old) and /work/SRC/openSUSE:Factory/.python-sortedcontainers.new.25356 (New) Package is "python-sortedcontainers" Tue Mar 26 15:45:57 2019 rev:8 rq:688684 version:2.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-sortedcontainers/python-sortedcontainers.changes 2018-12-24 11:44:09.433305039 +0100 +++ /work/SRC/openSUSE:Factory/.python-sortedcontainers.new.25356/python-sortedcontainers.changes 2019-03-26 15:46:01.608064275 +0100 @@ -1,0 +2,12 @@ +Tue Mar 26 11:36:07 UTC 2019 - Tomáš Chvátal + +- Update to 2.1.0: + * Small updates to docs and tests for Python 3.7. + * Change imports for Abstract Base Classes to collections.abc to avoid warnings in Python 3.7. + * SortedDict methods iterkeys, iteritems, itervalues, viewkeys, viewitems, and viewvalues are not implemented for Python 2. Attribute lookup now raises :exc:`AttributeError`. + * Accessing SortedDict.iloc will emit DeprecationWarning. + * SortedSet.__rsub__ erroneously reversed its arguments. The method has been removed in favor of the inherited Set.__rsub__ which has a correct implementation. + * :class:`SortedKeysView` and :class:`SortedValuesView` set-operations now return :class:`SortedSet` objects to better match the semantics of version 1. +- use github tarball for tests + +--- Old: sortedcontainers-2.0.2.tar.gz New: v2.1.0.tar.gz Other differences: -- ++ python-sortedcontainers.spec ++ --- /var/tmp/diff_new_pack.x5SheZ/_old 2019-03-26 15:46:02.812063665 +0100 +++ /var/tmp/diff_new_pack.x5SheZ/_new 2019-03-26 15:46:02.812063665 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-sortedcontainers # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sortedcontainers -Version:2.0.2 +Version:2.1.0 Release:0 Summary:Sorted container data types License:Apache-2.0 Group: Development/Languages/Python URL:https://github.com/grantjenks/python-sortedcontainers -Source: https://files.pythonhosted.org/packages/source/s/sortedcontainers/sortedcontainers-%{version}.tar.gz +Source: https://github.com/grantjenks/python-sortedcontainers/archive/v%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,7 +53,7 @@ has 100% coverage with unit tests and hours of stress. %prep -%setup -q -n sortedcontainers-%{version} +%setup -q -n python-sortedcontainers-%{version} rm -rf sortedcontainers.egg-info %build @@ -64,13 +64,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} export PYTHONDONTWRITEBYTECODE=1 -rm -rf _build.* build tests/__pycache__ tests/*.pyc tests/*.pyo -pushd tests -py.test-%{$python_bin_suffix} -popd -} +%pytest tests %files %{python_files} %license LICENSE
commit python-sortedcontainers for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortedcontainers for openSUSE:Factory checked in at 2018-12-24 11:44:08 Comparing /work/SRC/openSUSE:Factory/python-sortedcontainers (Old) and /work/SRC/openSUSE:Factory/.python-sortedcontainers.new.28833 (New) Package is "python-sortedcontainers" Mon Dec 24 11:44:08 2018 rev:7 rq:659680 version:2.0.2 Changes: --- /work/SRC/openSUSE:Factory/python-sortedcontainers/python-sortedcontainers.changes 2018-06-02 12:12:23.519453537 +0200 +++ /work/SRC/openSUSE:Factory/.python-sortedcontainers.new.28833/python-sortedcontainers.changes 2018-12-24 11:44:09.433305039 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:54:28 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-sortedcontainers.spec ++ --- /var/tmp/diff_new_pack.In2GNv/_old 2018-12-24 11:44:10.317304255 +0100 +++ /var/tmp/diff_new_pack.In2GNv/_new 2018-12-24 11:44:10.317304255 +0100 @@ -12,7 +12,7 @@ # 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/ # @@ -25,7 +25,6 @@ Group: Development/Languages/Python URL:https://github.com/grantjenks/python-sortedcontainers Source: https://files.pythonhosted.org/packages/source/s/sortedcontainers/sortedcontainers-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros
commit python-sortedcontainers for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortedcontainers for openSUSE:Factory checked in at 2018-06-02 12:11:29 Comparing /work/SRC/openSUSE:Factory/python-sortedcontainers (Old) and /work/SRC/openSUSE:Factory/.python-sortedcontainers.new (New) Package is "python-sortedcontainers" Sat Jun 2 12:11:29 2018 rev:6 rq:613142 version:2.0.2 Changes: --- /work/SRC/openSUSE:Factory/python-sortedcontainers/python-sortedcontainers.changes 2018-05-15 10:33:29.963973497 +0200 +++ /work/SRC/openSUSE:Factory/.python-sortedcontainers.new/python-sortedcontainers.changes 2018-06-02 12:12:23.519453537 +0200 @@ -1,0 +2,97 @@ +Wed May 30 19:10:37 UTC 2018 - toddrme2...@gmail.com + +- Update to 2.0.2 + + API Changes +* SortedListWithKey is deprecated. Use SortedKeyList instead. + The name SortedListWithKey remains as an alias for SortedKeyList. The + alias will be removed in Version 3. +* sortedcontainers.sortedlist.LOAD has moved to + SortedList.DEFAULT_LOAD_FACTOR so that derived classes can customize the + value. +* SortedList._half and SortedList._dual have been removed. Use + SortedList._load instead. +* SortedList.add parameter val renamed to value. +* SortedList.__contains__ parameter val renamed to value. +* SortedList.discard parameter val renamed to value. +* SortedList.remove parameter val renamed to value. +* SortedList.__delitem__ parameter idx renamed to index. +* SortedList.__getitem__ parameter idx renamed to index. +* SortedList.__setitem__ now raises :exc:NotImplementedError. Use + SortedList.__delitem__ and SortedList.add instead. +* SortedList.bisect_left parameter val renamed to value. +* SortedList.bisect_right parameter val renamed to value. +* SortedList.bisect parameter val renamed to value. +* SortedList.count parameter val renamed to value. +* SortedList.append now raises :exc:NotImplementedError. Use + SortedList.add instead. +* SortedList.extend now raises :exc:NotImplementedError. Use + SortedList.update instead. +* SortedList.insert now raises :exc:NotImplementedError. Use + SortedList.add instead. +* SortedList.pop parameter idx renamed to index. +* SortedList.index parameter val renamed to value. +* SortedList.__add__ parameter that renamed to other. +* SortedList.__iadd__ parameter that renamed to other. +* SortedList.__mul__ parameter that renamed to num. +* SortedList.__imul__ parameter that renamed to num. +* SortedList._make_cmp renamed to SortedList.__make_cmp. +* SortedKeyList.add parameter val renamed to value. +* SortedKeyList.__contains__ parameter val renamed to value. +* SortedKeyList.discard parameter val renamed to value. +* SortedKeyList.remove parameter val renamed to value. +* SortedKeyList.bisect_left parameter val renamed to value. +* SortedKeyList.bisect_right parameter val renamed to value. +* SortedKeyList.bisect parameter val renamed to value. +* SortedKeyList.count parameter val renamed to value. +* SortedKeyList.append now raises :exc:NotImplementedError. Use + SortedKeyList.add instead. +* SortedKeyList.extend now raises :exc:NotImplementedError. Use + SortedKeyList.update instead. +* SortedKeyList.insert now raises :exc:NotImplementedError. Use + SortedKeyList.add instead. +* SortedKeyList.index parameter val renamed to value. +* SortedKeyList.__add__ parameter that renamed to other. +* SortedKeyList.__radd__ added. +* SortedKeyList.__iadd__ parameter that renamed to other. +* SortedKeyList.__mul__ parameter that renamed to num. +* SortedKeyList.__rmul__ added. +* SortedKeyList.__imul__ parameter that renamed to num. +* Removed SortedDict.iloc. Use SortedDict.keys and + SortedKeysView instead. +* SortedDict.fromkeys parameter seq renamed to iterable. +* SortedDict.keys now returns SortedKeysView. +* SortedDict.items now returns SortedItemsView. +* SortedDict.values now returns SortedValuesView. +* Removed SortedDict.viewkeys. Use SortedDict.keys instead. +* Removed SortedDict.viewitems. Use SortedDict.items instead. +* Removed SortedDict.viewvalues. Use SortedDict.values instead. +* SortedDict.iterkeys removed. Use SortedDict.keys instead. +* SortedDict.iteritems removed. Use SortedDict.items instead. +* SortedDict.itervalues removed. Use SortedDict.values instead. +* SortedDict.popitem now accepts an optional index argument. Default + `-1`. +* sorteddict.KeysView renamed to SortedKeysView. +* sorteddict.ItemsView renamed to SortedItemsView. +* sorteddict.ValuesView renamed to SortedValuesView. +* Sorted dict views rely on collections abstract base classes: dict views and
commit python-sortedcontainers for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortedcontainers for openSUSE:Factory checked in at 2018-05-15 10:13:45 Comparing /work/SRC/openSUSE:Factory/python-sortedcontainers (Old) and /work/SRC/openSUSE:Factory/.python-sortedcontainers.new (New) Package is "python-sortedcontainers" Tue May 15 10:13:45 2018 rev:5 rq:606565 version:1.5.10 Changes: --- /work/SRC/openSUSE:Factory/python-sortedcontainers/python-sortedcontainers.changes 2017-12-14 10:56:58.161103243 +0100 +++ /work/SRC/openSUSE:Factory/.python-sortedcontainers.new/python-sortedcontainers.changes 2018-05-15 10:33:29.963973497 +0200 @@ -1,0 +2,9 @@ +Thu May 10 15:10:46 UTC 2018 - a...@gmx.de + +- specfile: + * update copyright year + +- update to version 1.5.10: + * Improved performance of islice(...) methods. + +--- Old: sortedcontainers-1.5.9.tar.gz New: sortedcontainers-1.5.10.tar.gz Other differences: -- ++ python-sortedcontainers.spec ++ --- /var/tmp/diff_new_pack.EsN1q0/_old 2018-05-15 10:33:31.123930894 +0200 +++ /var/tmp/diff_new_pack.EsN1q0/_new 2018-05-15 10:33:31.127930747 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-sortedcontainers # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sortedcontainers -Version:1.5.9 +Version:1.5.10 Release:0 Summary:Sorted container data types License:Apache-2.0 Group: Development/Languages/Python -Url:http://www.grantjenks.com/docs/sortedcontainers +URL:http://www.grantjenks.com/docs/sortedcontainers Source: https://files.pythonhosted.org/packages/source/s/sortedcontainers/sortedcontainers-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module nose} @@ -31,7 +31,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -53,8 +52,8 @@ %package -n %{name}-doc Summary:Documentation for %{name} Group: Documentation/HTML -Provides: %{python_module zope.schema-doc = %{version}} Requires: %{name} = %{version} +Provides: %{python_module zope.schema-doc = %{version}} %description -n %{name}-doc This package contains documentation files for %{name}. @@ -65,26 +64,25 @@ %build %python_build -%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo +python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install %python_install # We need to install docs by hand to be able to run fdupes on it -mkdir -pv %{buildroot}%{_datadir}/doc/packages/%{name}-doc -cp -r build/sphinx/html %{buildroot}%{_datadir}/doc/packages/%{name}-doc -%fdupes -s %{buildroot}%{_datadir}/doc/packages/%{name}-doc +mkdir -pv %{buildroot}%{_docdir}/%{name}-doc +cp -r build/sphinx/html %{buildroot}%{_docdir}/%{name}-doc +%fdupes -s %{buildroot}%{_docdir}/%{name}-doc %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check %python_exec %{_bindir}/nosetests -v %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitelib}/* %files -n %{name}-doc -%defattr(-,root,root,-) -%doc %{_datadir}/doc/packages/%{name}-doc +%doc %{_docdir}/%{name}-doc %changelog ++ sortedcontainers-1.5.9.tar.gz -> sortedcontainers-1.5.10.tar.gz ++ /work/SRC/openSUSE:Factory/python-sortedcontainers/sortedcontainers-1.5.9.tar.gz /work/SRC/openSUSE:Factory/.python-sortedcontainers.new/sortedcontainers-1.5.10.tar.gz differ: char 5, line 1
commit python-sortedcontainers for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortedcontainers for openSUSE:Factory checked in at 2017-12-14 10:56:46 Comparing /work/SRC/openSUSE:Factory/python-sortedcontainers (Old) and /work/SRC/openSUSE:Factory/.python-sortedcontainers.new (New) Package is "python-sortedcontainers" Thu Dec 14 10:56:46 2017 rev:4 rq:555886 version:1.5.9 Changes: --- /work/SRC/openSUSE:Factory/python-sortedcontainers/python-sortedcontainers.changes 2017-08-16 16:10:56.296757438 +0200 +++ /work/SRC/openSUSE:Factory/.python-sortedcontainers.new/python-sortedcontainers.changes 2017-12-14 10:56:58.161103243 +0100 @@ -1,0 +2,11 @@ +Sat Dec 9 17:15:38 UTC 2017 - a...@gmx.de + +- update to version 1.5.9: + * Dropped CPython 2.6 testing. + +- changes from version 1.5.8: + * Bugfixes ++ Added SortedList.reverse to override MutableSequence.reverse and + raise NotImplementedError. + +--- Old: sortedcontainers-1.5.7.tar.gz New: sortedcontainers-1.5.9.tar.gz Other differences: -- ++ python-sortedcontainers.spec ++ --- /var/tmp/diff_new_pack.SObHzX/_old 2017-12-14 10:56:59.805023883 +0100 +++ /var/tmp/diff_new_pack.SObHzX/_new 2017-12-14 10:56:59.809023690 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sortedcontainers -Version:1.5.7 +Version:1.5.9 Release:0 Summary:Sorted container data types License:Apache-2.0 ++ sortedcontainers-1.5.7.tar.gz -> sortedcontainers-1.5.9.tar.gz ++ /work/SRC/openSUSE:Factory/python-sortedcontainers/sortedcontainers-1.5.7.tar.gz /work/SRC/openSUSE:Factory/.python-sortedcontainers.new/sortedcontainers-1.5.9.tar.gz differ: char 5, line 1
commit python-sortedcontainers for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortedcontainers for openSUSE:Factory checked in at 2017-08-16 16:10:43 Comparing /work/SRC/openSUSE:Factory/python-sortedcontainers (Old) and /work/SRC/openSUSE:Factory/.python-sortedcontainers.new (New) Package is "python-sortedcontainers" Wed Aug 16 16:10:43 2017 rev:3 rq:510810 version:1.5.7 Changes: --- /work/SRC/openSUSE:Factory/python-sortedcontainers/python-sortedcontainers.changes 2016-10-13 11:30:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-sortedcontainers.new/python-sortedcontainers.changes 2017-08-16 16:10:56.296757438 +0200 @@ -1,0 +2,19 @@ +Sat Jul 15 15:58:07 UTC 2017 - aloi...@gmx.com + +- Update to version 1.5.7 + * Changed ``SortedList.__setitem__`` to support slices with stop +less than start and step equal one. + 1.5.6: + * Changed ``SortedList.__setitem__`` to support slices that alias +itself. + 1.5.5: + * Changed ``SortedList.extend`` to support empty iterables. + 1.5.4: + * Changed ``SortedList.__new__`` to call +``SortedListWithKey.__init__`` once instead of twice. + +- Build HTML documentation and put it into -doc subpackage +- Enabled tests +- Converted to singlespec + +--- Old: sortedcontainers-1.5.3.tar.gz New: sortedcontainers-1.5.7.tar.gz Other differences: -- ++ python-sortedcontainers.spec ++ --- /var/tmp/diff_new_pack.0gtiGI/_old 2017-08-16 16:10:58.304476061 +0200 +++ /var/tmp/diff_new_pack.0gtiGI/_new 2017-08-16 16:10:58.304476061 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-sortedcontainers # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,24 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sortedcontainers -Version:1.5.3 +Version:1.5.7 Release:0 Summary:Sorted container data types License:Apache-2.0 Group: Development/Languages/Python -Url:http://pypi.python.org/pypi/sortedcontainers/ +Url:http://www.grantjenks.com/docs/sortedcontainers Source: https://files.pythonhosted.org/packages/source/s/sortedcontainers/sortedcontainers-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: %{python_module devel} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: python3-Sphinx BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif +%python_subpackages %description SortedContainers is an Apache2 licensed containers library, written in @@ -48,18 +50,41 @@ pre-build and distribute custom extensions. Performance is a feature and testing has 100% coverage with unit tests and hours of stress. +%package -n %{name}-doc +Summary:Documentation for %{name} +Group: Documentation/HTML +Provides: %{python_module zope.schema-doc = %{version}} +Requires: %{name} = %{version} + +%description -n %{name}-doc +This package contains documentation files for %{name}. + %prep %setup -q -n sortedcontainers-%{version} +rm -rf sortedcontainers.egg-info %build -python setup.py build +%python_build +%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +# We need to install docs by hand to be able to run fdupes on it +mkdir -pv %{buildroot}%{_datadir}/doc/packages/%{name}-doc +cp -r build/sphinx/html %{buildroot}%{_datadir}/doc/packages/%{name}-doc +%fdupes -s %{buildroot}%{_datadir}/doc/packages/%{name}-doc +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} + +%check +%python_exec %{_bindir}/nosetests -v -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE README.rst %{python_sitelib}/* +%files -n %{name}-doc +%defattr(-,root,root,-) +%doc %{_datadir}/doc/packages/%{name}-doc + %changelog ++ sortedcontainers-1.5.3.tar.gz -> sortedcontainers-1.5.7.tar.gz ++ /work/SRC/openSUSE:Factory/python-sortedcontainers/sortedcontainers-1.5.3.tar.gz /work/SRC/openSUSE:Factory/.python-sortedcontainers.new/sortedcontainers-1.5.
commit python-sortedcontainers for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortedcontainers for openSUSE:Factory checked in at 2016-10-13 11:30:26 Comparing /work/SRC/openSUSE:Factory/python-sortedcontainers (Old) and /work/SRC/openSUSE:Factory/.python-sortedcontainers.new (New) Package is "python-sortedcontainers" Changes: --- /work/SRC/openSUSE:Factory/python-sortedcontainers/python-sortedcontainers.changes 2016-09-23 11:31:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-sortedcontainers.new/python-sortedcontainers.changes 2016-10-13 11:30:31.0 +0200 @@ -1,0 +2,6 @@ +Sun Oct 2 07:51:12 UTC 2016 - toddrme2...@gmail.com + +- Update to 1.5.3 + * No upstream changelog + +--- Old: sortedcontainers-0.9.3.tar.gz New: sortedcontainers-1.5.3.tar.gz Other differences: -- ++ python-sortedcontainers.spec ++ --- /var/tmp/diff_new_pack.Cwlubf/_old 2016-10-13 11:30:34.0 +0200 +++ /var/tmp/diff_new_pack.Cwlubf/_new 2016-10-13 11:30:34.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-sortedcontainers # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: python-sortedcontainers -Version:0.9.3 +Version:1.5.3 Release:0 Summary:Sorted container data types License:Apache-2.0 Group: Development/Languages/Python Url:http://pypi.python.org/pypi/sortedcontainers/ -Source: https://pypi.python.org/packages/source/s/sortedcontainers/sortedcontainers-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/s/sortedcontainers/sortedcontainers-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ sortedcontainers-0.9.3.tar.gz -> sortedcontainers-1.5.3.tar.gz ++ 4976 lines of diff (skipped)
commit python-sortedcontainers for openSUSE:Factory
Hello community, here is the log from the commit of package python-sortedcontainers for openSUSE:Factory checked in at 2016-09-23 11:31:14 Comparing /work/SRC/openSUSE:Factory/python-sortedcontainers (Old) and /work/SRC/openSUSE:Factory/.python-sortedcontainers.new (New) Package is "python-sortedcontainers" Changes: New Changes file: --- /dev/null 2016-09-15 12:42:18.240042505 +0200 +++ /work/SRC/openSUSE:Factory/.python-sortedcontainers.new/python-sortedcontainers.changes 2016-09-23 11:31:18.0 +0200 @@ -0,0 +1,5 @@ +--- +Tue Dec 9 13:38:25 UTC 2014 - toddrme2...@gmail.com + +- Initial version + New: python-sortedcontainers.changes python-sortedcontainers.spec sortedcontainers-0.9.3.tar.gz Other differences: -- ++ python-sortedcontainers.spec ++ # # spec file for package python-sortedcontainers # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # Name: python-sortedcontainers Version:0.9.3 Release:0 Summary:Sorted container data types License:Apache-2.0 Group: Development/Languages/Python Url:http://pypi.python.org/pypi/sortedcontainers/ Source: https://pypi.python.org/packages/source/s/sortedcontainers/sortedcontainers-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description SortedContainers is an Apache2 licensed containers library, written in pure-Python, and fast as C-extensions. Python's standard library is great until you need a sorted container type. Many will attest that you can get really far without one, but the moment you **really need** a sorted list, dict, or set, you're faced with a dozen different implementations, most using C-extensions without great documentation and benchmarking. SortedContainers takes all of the work out of Python sorted types - making your deployment and use of Python easy. There's no need to install a C compiler or pre-build and distribute custom extensions. Performance is a feature and testing has 100% coverage with unit tests and hours of stress. %prep %setup -q -n sortedcontainers-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %doc LICENSE README.rst %{python_sitelib}/* %changelog