commit python-blist for openSUSE:Factory
Hello community, here is the log from the commit of package python-blist for openSUSE:Factory checked in at 2018-08-08 14:52:53 Comparing /work/SRC/openSUSE:Factory/python-blist (Old) and /work/SRC/openSUSE:Factory/.python-blist.new (New) Package is "python-blist" Wed Aug 8 14:52:53 2018 rev:5 rq:627814 version:1.3.6 Changes: --- /work/SRC/openSUSE:Factory/python-blist/python-blist.changes 2017-05-08 19:02:54.812996034 +0200 +++ /work/SRC/openSUSE:Factory/.python-blist.new/python-blist.changes 2018-08-08 14:53:48.797581061 +0200 @@ -1,0 +2,6 @@ +Tue Aug 7 07:54:37 UTC 2018 - tchva...@suse.com + +- Add patch to build with python3.7 + * 0001-Fix-compatibility-for-Python-3.7.patch + +--- New: 0001-Fix-compatibility-for-Python-3.7.patch Other differences: -- ++ python-blist.spec ++ --- /var/tmp/diff_new_pack.ASOv5H/_old 2018-08-08 14:53:49.221581761 +0200 +++ /var/tmp/diff_new_pack.ASOv5H/_new 2018-08-08 14:53:49.221581761 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-blist # -# Copyright (c) 2014 SUSE LINUX Products 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 @@ -16,8 +16,6 @@ # -%bcond_without tests - %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-blist Version:1.3.6 @@ -25,13 +23,13 @@ Summary:A list-like type with better asymptotic performance License:BSD-3-Clause Group: Development/Languages/Python -Url:http://stutzbachenterprises.com/blist/ +URL:http://stutzbachenterprises.com/blist/ Source: https://files.pythonhosted.org/packages/source/b/blist/blist-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros +Patch0: 0001-Fix-compatibility-for-Python-3.7.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: fdupes +BuildRequires: python-rpm-macros %python_subpackages %description @@ -42,23 +40,22 @@ %prep %setup -q -n blist-%{version} +%patch0 -p1 %build -export CFLAGS="%{optflags}" +export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} -%if %{with tests} %check %python_exec setup.py test -%endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitearch}/blist-%{version}-py*.egg-info %{python_sitearch}/blist/ ++ 0001-Fix-compatibility-for-Python-3.7.patch ++ >From 0e5c8db6965e203b40739914b9714010010ccce0 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Tue, 3 Jul 2018 03:04:52 +0800 Subject: [PATCH] Fix compatibility for Python 3.7 --- blist/_sortedlist.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/blist/_sortedlist.py b/blist/_sortedlist.py index b34f69e..d6143c4 100644 --- a/blist/_sortedlist.py +++ b/blist/_sortedlist.py @@ -420,7 +420,10 @@ class _setmixin(object): def __iter__(self): it = super(_setmixin, self).__iter__() while True: -item = next(it) +try: +item = next(it) +except StopIteration: +return n = len(self) yield item if n != len(self): -- 2.18.0.rc2
commit python-blist for openSUSE:Factory
Hello community, here is the log from the commit of package python-blist for openSUSE:Factory checked in at 2017-05-08 19:02:33 Comparing /work/SRC/openSUSE:Factory/python-blist (Old) and /work/SRC/openSUSE:Factory/.python-blist.new (New) Package is "python-blist" Mon May 8 19:02:33 2017 rev:4 rq:491685 version:1.3.6 Changes: --- /work/SRC/openSUSE:Factory/python-blist/python-blist.changes 2014-09-22 09:23:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-blist.new/python-blist.changes 2017-05-08 19:02:54.812996034 +0200 @@ -1,0 +2,6 @@ +Wed Apr 26 03:31:21 UTC 2017 - toddrme2...@gmail.com + +- Fix source URL. +- Implement single-spec version. + +--- Other differences: -- ++ python-blist.spec ++ --- /var/tmp/diff_new_pack.M8YBwV/_old 2017-05-08 19:02:55.444906766 +0200 +++ /var/tmp/diff_new_pack.M8YBwV/_new 2017-05-08 19:02:55.448906201 +0200 @@ -16,6 +16,9 @@ # +%bcond_without tests + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-blist Version:1.3.6 Release:0 @@ -23,13 +26,13 @@ License:BSD-3-Clause Group: Development/Languages/Python Url:http://stutzbachenterprises.com/blist/ -Source: http://pypi.python.org/packages/source/b/blist/blist-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools +Source: https://files.pythonhosted.org/packages/source/b/blist/blist-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif +%python_subpackages %description The blist is a drop-in replacement for the Python list the provides @@ -41,15 +44,19 @@ %setup -q -n blist-%{version} %build -CFLAGS="%{optflags}" python setup.py build +export CFLAGS="%{optflags}" +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} +%if %{with tests} %check -python setup.py test +%python_exec setup.py test +%endif -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE README.rst %{python_sitearch}/blist-%{version}-py*.egg-info
commit python-blist for openSUSE:Factory
Hello community, here is the log from the commit of package python-blist for openSUSE:Factory checked in at 2014-09-22 09:23:14 Comparing /work/SRC/openSUSE:Factory/python-blist (Old) and /work/SRC/openSUSE:Factory/.python-blist.new (New) Package is python-blist Changes: --- /work/SRC/openSUSE:Factory/python-blist/python-blist.changes 2013-12-03 10:31:47.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-blist.new/python-blist.changes 2014-09-22 09:23:16.0 +0200 @@ -1,0 +2,7 @@ +Fri Sep 19 09:29:37 UTC 2014 - toddrme2...@gmail.com + +- Update to 1.3.6 + * No upstream changelog +- Remove upstream-included pull-request-56.patch + +--- Old: blist-1.3.4.tar.gz pull-request-56.patch New: blist-1.3.6.tar.gz Other differences: -- ++ python-blist.spec ++ --- /var/tmp/diff_new_pack.2QCDc1/_old 2014-09-22 09:23:17.0 +0200 +++ /var/tmp/diff_new_pack.2QCDc1/_new 2014-09-22 09:23:17.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-blist # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -17,15 +17,13 @@ Name: python-blist -Version:1.3.4 +Version:1.3.6 Release:0 Summary:A list-like type with better asymptotic performance License:BSD-3-Clause Group: Development/Languages/Python Url:http://stutzbachenterprises.com/blist/ Source: http://pypi.python.org/packages/source/b/blist/blist-%{version}.tar.gz -# PATCH-FIX-UPSTREAM: speili...@suse.com -- https://github.com/DanielStutzbach/blist/pull/56 -Patch0: pull-request-56.patch BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -41,7 +39,6 @@ %prep %setup -q -n blist-%{version} -%patch0 -p1 %build CFLAGS=%{optflags} python setup.py build @@ -55,11 +52,7 @@ %files %defattr(-,root,root,-) %doc LICENSE README.rst -%{python_sitearch}/blist-%{version}-py%{py_ver}.egg-info -%{python_sitearch}/blist.py* -%{python_sitearch}/_blist.so -%{python_sitearch}/_btuple.py* -%{python_sitearch}/_sorteddict.py* -%{python_sitearch}/_sortedlist.py* +%{python_sitearch}/blist-%{version}-py*.egg-info +%{python_sitearch}/blist/ %changelog ++ blist-1.3.4.tar.gz - blist-1.3.6.tar.gz ++ 29753 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org