commit python-singledispatch for openSUSE:Factory
Hello community, here is the log from the commit of package python-singledispatch for openSUSE:Factory checked in at 2019-03-29 20:36:50 Comparing /work/SRC/openSUSE:Factory/python-singledispatch (Old) and /work/SRC/openSUSE:Factory/.python-singledispatch.new.25356 (New) Package is "python-singledispatch" Fri Mar 29 20:36:50 2019 rev:5 rq:687604 version:3.4.0.3 Changes: --- /work/SRC/openSUSE:Factory/python-singledispatch/python-singledispatch.changes 2017-03-12 20:02:13.436835769 +0100 +++ /work/SRC/openSUSE:Factory/.python-singledispatch.new.25356/python-singledispatch.changes 2019-03-29 20:36:51.710613917 +0100 @@ -1,0 +2,15 @@ +Sun Mar 10 16:28:24 UTC 2019 - Dirk Mueller + +- update license + +--- +Mon Feb 11 16:21:10 UTC 2019 - John Vandenberg + +- Change license to safer Python-2.0, and include as %license + See https://bitbucket.org/ambv/singledispatch/issues/9 +- Add missing test module +- Remove superfluous build dependency on python-devel +- Remove unnecessary dependency on six +- Set URL to repository of this backport + +--- New: LICENSE test_singledispatch.py Other differences: -- ++ python-singledispatch.spec ++ --- /var/tmp/diff_new_pack.gvDuGa/_old 2019-03-29 20:36:52.494615048 +0100 +++ /var/tmp/diff_new_pack.gvDuGa/_new 2019-03-29 20:36:52.494615048 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-singledispatch # -# Copyright (c) 2017 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 @@ -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/ # @@ -20,14 +20,13 @@ Version:3.4.0.3 Release:0 Summary:Provides functools.singledispatch for Python 2.x -License:MIT +License:Python-2.0 AND MIT Group: Development/Languages/Python -Url: http://docs.python.org/3/library/functools.html#functools.singledispatch +URL:https://bitbucket.org/ambv/singledispatch Source: https://pypi.python.org/packages/source/s/singledispatch/singledispatch-%{version}.tar.gz -BuildRequires: python-devel +Source1: https://bitbucket.org/ambv/singledispatch/raw/default/test_singledispatch.py +Source2:https://raw.githubusercontent.com/python/cpython/master/LICENSE BuildRequires: python-setuptools -BuildRequires: python-six -Requires: python-six Provides: python2-singledispatch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 @@ -47,6 +46,8 @@ %prep %setup -q -n singledispatch-%{version} +cp %{SOURCE1} %{SOURCE2} . +sed -i "s/'six'//" setup.py # remove unwanted shebang sed -i '1 { /^#!/ d }' singledispatch_helpers.py singledispatch.py @@ -57,10 +58,11 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check -python setup.py test +python test_singledispatch.py %files -%defattr(-,root,root,-) +# https://bitbucket.org/ambv/singledispatch/issues/9/mit-license +%license LICENSE %doc README.rst %{python_sitelib}/* ++ LICENSE ++ A. HISTORY OF THE SOFTWARE == Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands as a successor of a language called ABC. Guido remains Python's principal author, although it includes many contributions from others. In 1995, Guido continued his work on Python at the Corporation for National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) in Reston, Virginia where he released several versions of the software. In May 2000, Guido and the Python core development team moved to BeOpen.com to form the BeOpen PythonLabs team. In October of the same year, the PythonLabs team moved to Digital Creations, which became Zope Corporation. In 2001, the Python Software Foundation (PSF, see https://www.python.org/psf/) was formed, a non-profit organization created specifically to own Python-related Intellectual Property. Zope Corporation was a sponsoring member of the PSF. All Python releases are Open Source (see http://www.opensource.org for the Open Source Definition). Historically, most, but not all, Python releases have also been GPL-compatible;
commit python-singledispatch for openSUSE:Factory
Hello community, here is the log from the commit of package python-singledispatch for openSUSE:Factory checked in at 2017-03-12 20:02:08 Comparing /work/SRC/openSUSE:Factory/python-singledispatch (Old) and /work/SRC/openSUSE:Factory/.python-singledispatch.new (New) Package is "python-singledispatch" Sun Mar 12 20:02:08 2017 rev:4 rq:477296 version:3.4.0.3 Changes: --- /work/SRC/openSUSE:Factory/python-singledispatch/python-singledispatch.changes 2015-05-18 22:25:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-singledispatch.new/python-singledispatch.changes 2017-03-12 20:02:13.436835769 +0100 @@ -1,0 +2,5 @@ +Mon Mar 6 13:49:27 UTC 2017 - jmate...@suse.com + +- provide python2-singledispatch to support singlespec transparently + +--- Other differences: -- ++ python-singledispatch.spec ++ --- /var/tmp/diff_new_pack.HqJyLW/_old 2017-03-12 20:02:14.044749749 +0100 +++ /var/tmp/diff_new_pack.HqJyLW/_new 2017-03-12 20:02:14.044749749 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-singledispatch # -# Copyright (c) 2015 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 @@ -28,6 +28,7 @@ BuildRequires: python-setuptools BuildRequires: python-six Requires: python-six +Provides: python2-singledispatch 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()")}
commit python-singledispatch for openSUSE:Factory
Hello community, here is the log from the commit of package python-singledispatch for openSUSE:Factory checked in at 2015-05-18 22:25:22 Comparing /work/SRC/openSUSE:Factory/python-singledispatch (Old) and /work/SRC/openSUSE:Factory/.python-singledispatch.new (New) Package is python-singledispatch Changes: --- /work/SRC/openSUSE:Factory/python-singledispatch/python-singledispatch.changes 2013-12-16 18:08:05.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-singledispatch.new/python-singledispatch.changes 2015-05-18 22:25:23.0 +0200 @@ -1,0 +2,8 @@ +Wed May 13 09:56:19 UTC 2015 - benoit.mo...@gmx.fr + +- update to version 3.4.0.3: + * Should now install flawlessly on PyPy as well. Thanks to Ryan +Petrello for finding and fixing the setup.py issue. +- remove unwanted shebang in python files + +--- Old: singledispatch-3.4.0.2.tar.gz New: singledispatch-3.4.0.3.tar.gz Other differences: -- ++ python-singledispatch.spec ++ --- /var/tmp/diff_new_pack.EQKsgV/_old 2015-05-18 22:25:23.0 +0200 +++ /var/tmp/diff_new_pack.EQKsgV/_new 2015-05-18 22:25:23.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-singledispatch # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,7 +17,7 @@ Name: python-singledispatch -Version:3.4.0.2 +Version:3.4.0.3 Release:0 Summary:Provides functools.singledispatch for Python 2.x License:MIT @@ -46,6 +46,8 @@ %prep %setup -q -n singledispatch-%{version} +# remove unwanted shebang +sed -i '1 { /^#!/ d }' singledispatch_helpers.py singledispatch.py %build python setup.py build ++ singledispatch-3.4.0.2.tar.gz - singledispatch-3.4.0.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/singledispatch-3.4.0.2/PKG-INFO new/singledispatch-3.4.0.3/PKG-INFO --- old/singledispatch-3.4.0.2/PKG-INFO 2013-07-02 11:04:44.0 +0200 +++ new/singledispatch-3.4.0.3/PKG-INFO 2014-03-18 21:42:06.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: singledispatch -Version: 3.4.0.2 +Version: 3.4.0.3 Summary: This library brings functools.singledispatch from Python 3.4 to Python 2.6-3.3. Home-page: http://docs.python.org/3/library/functools.html#functools.singledispatch Author: Łukasz Langa @@ -153,6 +153,12 @@ Change Log -- +3.4.0.3 +~~~ + +Should now install flawlessly on PyPy as well. Thanks to Ryan Petrello +for finding and fixing the ``setup.py`` issue. + 3.4.0.2 ~~~ @@ -231,5 +237,6 @@ Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.2 Classifier: Programming Language :: Python :: 3.3 +Classifier: Programming Language :: Python :: 3.4 Classifier: Topic :: Software Development :: Libraries Classifier: Topic :: Software Development :: Libraries :: Python Modules diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/singledispatch-3.4.0.2/README.rst new/singledispatch-3.4.0.3/README.rst --- old/singledispatch-3.4.0.2/README.rst 2013-07-02 10:48:47.0 +0200 +++ new/singledispatch-3.4.0.3/README.rst 2014-03-18 21:23:56.0 +0100 @@ -145,6 +145,12 @@ Change Log -- +3.4.0.3 +~~~ + +Should now install flawlessly on PyPy as well. Thanks to Ryan Petrello +for finding and fixing the ``setup.py`` issue. + 3.4.0.2 ~~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/singledispatch-3.4.0.2/setup.py new/singledispatch-3.4.0.3/setup.py --- old/singledispatch-3.4.0.2/setup.py 2013-07-02 10:31:10.0 +0200 +++ new/singledispatch-3.4.0.3/setup.py 2014-03-18 21:21:53.0 +0100 @@ -4,7 +4,7 @@ This library brings functools.singledispatch from Python 3.4 to Python 2.6-3.3. # Copyright (C) 2013 by Łukasz Langa -# +# # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the Software), to deal # in the Software without restriction, including without limitation the rights @@ -26,13 +26,7 @@ import os import sys import codecs -from setuptools import setup, find_packages - -PY3 = sys.version_info[0] == 3 - -if not PY3: -reload(sys) -