commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2020-10-25 18:10:21 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new.3463 (New) Package is "python-six" Sun Oct 25 18:10:21 2020 rev:39 rq:843620 version:1.15.0 Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2020-06-05 20:00:35.052013433 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new.3463/python-six.changes 2020-10-25 18:10:26.355562155 +0100 @@ -1,0 +2,6 @@ +Fri Oct 23 14:35:46 UTC 2020 - Benjamin Greiner + +- Use %pycache_only %python_sitelib instead of %python3_sitelib + * fixes gh#openSUSE/python-rpm-macros#64#issuecomment-715373348 + +--- Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.CfndSi/_old 2020-10-25 18:10:28.687564363 +0100 +++ /var/tmp/diff_new_pack.CfndSi/_new 2020-10-25 18:10:28.691564366 +0100 @@ -103,7 +103,7 @@ %license LICENSE %doc README.rst CHANGES %{python_sitelib}/six.py* -%pycache_only %{python3_sitelib}/__pycache__/* +%pycache_only %{python_sitelib}/__pycache__/* %{python_sitelib}/six-%{version}-py*.egg-info %else %files -n python-six-doc
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2020-06-05 20:00:27 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new.3606 (New) Package is "python-six" Fri Jun 5 20:00:27 2020 rev:38 rq:811025 version:1.15.0 Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2020-03-16 10:17:32.939567945 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new.3606/python-six.changes 2020-06-05 20:00:35.052013433 +0200 @@ -1,0 +2,6 @@ +Tue Jun 2 17:11:49 UTC 2020 - Dirk Mueller + +- update to 1.15.0: + - Pull request #331: Optimize `six.ensure_str` and `six.ensure_binary`. + +--- Old: six-1.14.0.tar.gz New: six-1.15.0.tar.gz Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.GjBYtd/_old 2020-06-05 20:00:37.804022459 +0200 +++ /var/tmp/diff_new_pack.GjBYtd/_new 2020-06-05 20:00:37.808022472 +0200 @@ -28,7 +28,7 @@ %define psuffix %{nil} %endif Name: python-six%{psuffix} -Version:1.14.0 +Version:1.15.0 Release:0 Summary:Python 2 and 3 compatibility utilities License:MIT ++ six-1.14.0.tar.gz -> six-1.15.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.14.0/CHANGES new/six-1.15.0/CHANGES --- old/six-1.14.0/CHANGES 2020-01-15 19:10:01.0 +0100 +++ new/six-1.15.0/CHANGES 2020-05-21 17:25:33.0 +0200 @@ -3,6 +3,11 @@ This file lists the changes in each six version. +1.15.0 +-- + +- Pull request #331: Optimize `six.ensure_str` and `six.ensure_binary`. + 1.14.0 -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.14.0/PKG-INFO new/six-1.15.0/PKG-INFO --- old/six-1.14.0/PKG-INFO 2020-01-15 19:10:19.026476400 +0100 +++ new/six-1.15.0/PKG-INFO 2020-05-21 17:25:53.508234700 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: six -Version: 1.14.0 +Version: 1.15.0 Summary: Python 2 and 3 compatibility utilities Home-page: https://github.com/benjaminp/six Author: Benjamin Peterson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.14.0/documentation/index.rst new/six-1.15.0/documentation/index.rst --- old/six-1.14.0/documentation/index.rst 2020-01-15 19:10:01.0 +0100 +++ new/six-1.15.0/documentation/index.rst 2020-05-21 17:25:33.0 +0200 @@ -452,7 +452,7 @@ .. function:: ensure_text(s, encoding='utf-8', errors='strict') Coerce *s* to :data:`text_type`. *encoding*, *errors* are the same as - :meth:`py3:str.encode` + :meth:`py3:bytes.decode` .. data:: StringIO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.14.0/six.egg-info/PKG-INFO new/six-1.15.0/six.egg-info/PKG-INFO --- old/six-1.14.0/six.egg-info/PKG-INFO2020-01-15 19:10:18.0 +0100 +++ new/six-1.15.0/six.egg-info/PKG-INFO2020-05-21 17:25:53.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: six -Version: 1.14.0 +Version: 1.15.0 Summary: Python 2 and 3 compatibility utilities Home-page: https://github.com/benjaminp/six Author: Benjamin Peterson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.14.0/six.py new/six-1.15.0/six.py --- old/six-1.14.0/six.py 2020-01-15 19:10:01.0 +0100 +++ new/six-1.15.0/six.py 2020-05-21 17:25:33.0 +0200 @@ -29,7 +29,7 @@ import types __author__ = "Benjamin Peterson " -__version__ = "1.14.0" +__version__ = "1.15.0" # Useful for very coarse version differentiation. @@ -890,12 +890,11 @@ - `str` -> encoded to `bytes` - `bytes` -> `bytes` """ +if isinstance(s, binary_type): +return s if isinstance(s, text_type): return s.encode(encoding, errors) -elif isinstance(s, binary_type): -return s -else: -raise TypeError("not expecting type '%s'" % type(s)) +raise TypeError("not expecting type '%s'" % type(s)) def ensure_str(s, encoding='utf-8', errors='strict'): @@ -909,12 +908,15 @@ - `str` -> `str` - `bytes` -> decoded to `str` """ -if not isinstance(s, (text_type, binary_type)): -raise TypeError("not expecting type '%s'" % type(s)) +# Optimization: Fast return for the common case. +if type(s) is str: +return s if PY2 and isinstance(s, text_type): -s = s.encode(encoding, errors) +return s.encode(encoding, errors) elif PY3 and
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2020-03-16 10:16:36 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new.3160 (New) Package is "python-six" Mon Mar 16 10:16:36 2020 rev:37 rq:785216 version:1.14.0 Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2020-03-12 22:58:52.615004380 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new.3160/python-six.changes 2020-03-16 10:17:32.939567945 +0100 @@ -52 +52,2 @@ -- Change %pretrans back to %pre to fix bootstrap issue (boo#1123064) +- Change %pretrans back to %pre to fix bootstrap issue + boo#1123064 bsc#1143893 Other differences: --
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2020-03-12 22:58:24 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new.3160 (New) Package is "python-six" Thu Mar 12 22:58:24 2020 rev:36 rq:783174 version:1.14.0 Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2020-01-23 16:12:40.227698290 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new.3160/python-six.changes 2020-03-12 22:58:52.615004380 +0100 @@ -1,0 +2,11 @@ +Tue Mar 10 07:53:50 UTC 2020 - Tomáš Chvátal + +- Do not cause buildcycle with previous change but rather + install the egg-info prepared metadata from the tarball + +--- +Mon Mar 9 20:54:38 UTC 2020 - Dirk Mueller + +- use setuptools for building to support pip 10.x (bsc#1166139) + +--- Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.WOl6a9/_old 2020-03-12 22:58:53.183004607 +0100 +++ /var/tmp/diff_new_pack.WOl6a9/_new 2020-03-12 22:58:53.183004607 +0100 @@ -27,6 +27,7 @@ %bcond_with test %define psuffix %{nil} %endif +Name: python-six%{psuffix} Version:1.14.0 Release:0 Summary:Python 2 and 3 compatibility utilities @@ -38,7 +39,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch -Name: python-six%{psuffix} %if %{with test} BuildRequires: %{python_module dbm} BuildRequires: %{python_module pytest} @@ -80,6 +80,11 @@ %if ! %{with test} %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +# add the setuptools egg-info directory +%{python_expand rm %{buildroot}%{$python_sitelib}/six-%{version}-py%{$python_version}.egg-info +mkdir -p %{buildroot}%{$python_sitelib}/six-%{version}-py%{$python_version}.egg-info/ +cp six.egg-info/* %{buildroot}%{$python_sitelib}/six-%{version}-py%{$python_version}.egg-info/ +} %endif %check @@ -88,10 +93,9 @@ %endif %pre -# boo#1123064 - change back to pre scriptlet - if needed as pretrans, write in lua -# bsc#1057496 - egg-info changed from directory to file -if [ -d %{python_sitelib}/six-*-py%{python_version}.egg-info ]; then -rm -rf %{python_sitelib}/six-*-py%{python_version}.egg-info +# handle distutils (file) to setuptools transition (directory) +if [ -f %{python_sitelib}/six-*-py%{python_version}.egg-info ]; then +rm -vf %{python_sitelib}/six-*-py%{python_version}.egg-info fi %if !%{with test}
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2020-01-23 16:10:54 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new.26092 (New) Package is "python-six" Thu Jan 23 16:10:54 2020 rev:35 rq:766053 version:1.14.0 Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2020-01-16 18:13:19.768706304 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new.26092/python-six.changes 2020-01-23 16:12:40.227698290 +0100 @@ -1,0 +2,11 @@ +Tue Jan 21 11:17:01 UTC 2020 - Ondřej Súkup + +- update to 1.14.0 + * Add `six.assertNotRegex` + * `six.moves._dummy_thread` now points to the `_thread` module on +Python 3.9+. Python 3.7 and later requires threading and deprecated the +`_dummy_thread` module + * Remove support for Python 2.6 and Python 3.2 + * `six.wraps` now ignores missing attributes + +--- Old: six-1.13.0.tar.gz New: six-1.14.0.tar.gz Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.IvZX4g/_old 2020-01-23 16:12:40.799698629 +0100 +++ /var/tmp/diff_new_pack.IvZX4g/_new 2020-01-23 16:12:40.803698631 +0100 @@ -27,7 +27,7 @@ %bcond_with test %define psuffix %{nil} %endif -Version:1.13.0 +Version:1.14.0 Release:0 Summary:Python 2 and 3 compatibility utilities License:MIT ++ six-1.13.0.tar.gz -> six-1.14.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.13.0/CHANGES new/six-1.14.0/CHANGES --- old/six-1.13.0/CHANGES 2019-11-05 18:28:14.0 +0100 +++ new/six-1.14.0/CHANGES 2020-01-15 19:10:01.0 +0100 @@ -3,6 +3,20 @@ This file lists the changes in each six version. +1.14.0 +-- + +- Issue #288, pull request #289: Add `six.assertNotRegex`. + +- Issue #317: `six.moves._dummy_thread` now points to the `_thread` module on + Python 3.9+. Python 3.7 and later requires threading and deprecated the + `_dummy_thread` module. + +- Issue #308, pull request #314: Remove support for Python 2.6 and Python 3.2. + +- Issue #250, issue #165, pull request #251: `six.wraps` now ignores missing + attributes. This follows the Python 3.2+ standard library behavior. + 1.13.0 -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.13.0/LICENSE new/six-1.14.0/LICENSE --- old/six-1.13.0/LICENSE 2019-11-05 18:28:14.0 +0100 +++ new/six-1.14.0/LICENSE 2020-01-15 19:10:01.0 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2010-2019 Benjamin Peterson +Copyright (c) 2010-2020 Benjamin Peterson 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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.13.0/PKG-INFO new/six-1.14.0/PKG-INFO --- old/six-1.13.0/PKG-INFO 2019-11-05 18:28:33.56800 +0100 +++ new/six-1.14.0/PKG-INFO 2020-01-15 19:10:19.026476400 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: six -Version: 1.13.0 +Version: 1.14.0 Summary: Python 2 and 3 compatibility utilities Home-page: https://github.com/benjaminp/six Author: Benjamin Peterson @@ -27,7 +27,7 @@ writing Python code that is compatible on both Python versions. See the documentation for more information on what is provided. -Six supports every Python version since 2.6. It is contained in only one Python +Six supports Python 2.7 and 3.3+. It is contained in only one Python file, so it can be easily copied into your project. (The copyright and license notice must be retained.) @@ -36,9 +36,6 @@ Bugs can be reported to https://github.com/benjaminp/six. The code can also be found there. -For questions about six or porting in general, email the python-porting mailing -list: https://mail.python.org/mailman/listinfo/python-porting - Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Programming Language :: Python :: 2 @@ -47,4 +44,4 @@ Classifier: License :: OSI Approved :: MIT License Classifier: Topic :: Software Development :: Libraries Classifier: Topic :: Utilities -Requires-Python: >=2.6, !=3.0.*, !=3.1.* +Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.13.0/README.rst new/six-1.14.0/README.rst --- old/six-1.13.0/README.rst
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2020-01-16 18:13:15 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new.26092 (New) Package is "python-six" Thu Jan 16 18:13:15 2020 rev:34 rq:761132 version:1.13.0 Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2019-07-30 13:00:53.538442368 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new.26092/python-six.changes 2020-01-16 18:13:19.768706304 +0100 @@ -1,0 +2,15 @@ +Thu Jan 2 10:36:00 UTC 2020 - Tomáš Chvátal + +- Pull in dbm/gdbm module from python for testing + +--- +Fri Dec 20 19:06:13 UTC 2019 - Dirk Mueller + +- update to 0.13.0: + - Issue #298, pull request #299: Add `six.moves.dbm_ndbm`. + - Issue #155: Add `six.moves.collections_abc`, which aliases the `collections` +module on Python 2-3.2 and the `collections.abc` on Python 3.3 and greater. + - Pull request #304: Re-add distutils fallback in `setup.py`. + - Pull request #305: On Python 3.7, `with_metaclass` supports classes using PEP + +--- Old: six-1.12.0.tar.gz New: six-1.13.0.tar.gz Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.IED8Xq/_old 2020-01-16 18:13:21.464707264 +0100 +++ /var/tmp/diff_new_pack.IED8Xq/_new 2020-01-16 18:13:21.468707266 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-six # -# 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 @@ -27,7 +27,7 @@ %bcond_with test %define psuffix %{nil} %endif -Version:1.12.0 +Version:1.13.0 Release:0 Summary:Python 2 and 3 compatibility utilities License:MIT @@ -40,6 +40,7 @@ BuildArch: noarch Name: python-six%{psuffix} %if %{with test} +BuildRequires: %{python_module dbm} BuildRequires: %{python_module pytest} BuildRequires: %{python_module py} BuildRequires: python3-Sphinx @@ -70,9 +71,8 @@ %setup -q -n six-%{version} %build -%if ! %{with test} %python_build -%else +%if %{with test} cd documentation && make html && rm _build/html/.buildinfo %endif ++ six-1.12.0.tar.gz -> six-1.13.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.12.0/CHANGES new/six-1.13.0/CHANGES --- old/six-1.12.0/CHANGES 2018-12-10 01:59:34.0 +0100 +++ new/six-1.13.0/CHANGES 2019-11-05 18:28:14.0 +0100 @@ -3,6 +3,19 @@ This file lists the changes in each six version. +1.13.0 +-- + +- Issue #298, pull request #299: Add `six.moves.dbm_ndbm`. + +- Issue #155: Add `six.moves.collections_abc`, which aliases the `collections` + module on Python 2-3.2 and the `collections.abc` on Python 3.3 and greater. + +- Pull request #304: Re-add distutils fallback in `setup.py`. + +- Pull request #305: On Python 3.7, `with_metaclass` supports classes using PEP + 560 features. + 1.12.0 -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.12.0/LICENSE new/six-1.13.0/LICENSE --- old/six-1.12.0/LICENSE 2018-12-10 01:59:34.0 +0100 +++ new/six-1.13.0/LICENSE 2019-11-05 18:28:14.0 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2010-2018 Benjamin Peterson +Copyright (c) 2010-2019 Benjamin Peterson 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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.12.0/PKG-INFO new/six-1.13.0/PKG-INFO --- old/six-1.12.0/PKG-INFO 2018-12-10 01:59:56.0 +0100 +++ new/six-1.13.0/PKG-INFO 2019-11-05 18:28:33.56800 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: six -Version: 1.12.0 +Version: 1.13.0 Summary: Python 2 and 3 compatibility utilities Home-page: https://github.com/benjaminp/six Author: Benjamin Peterson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.12.0/documentation/conf.py new/six-1.13.0/documentation/conf.py --- old/six-1.12.0/documentation/conf.py2018-12-10 01:59:34.0 +0100 +++ new/six-1.13.0/documentation/conf.py2019-11-05 18:28:14.0 +0100 @@ -33,7 +33,7 @@ # General information about the project. project = u"six" -copyright = u"2010-2018, Benjamin
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2019-07-30 13:00:52 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new.4126 (New) Package is "python-six" Tue Jul 30 13:00:52 2019 rev:33 rq:716252 version:1.12.0 Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2019-06-18 14:49:07.813688923 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new.4126/python-six.changes 2019-07-30 13:00:53.538442368 +0200 @@ -1,0 +2,5 @@ +Thu Jul 18 09:15:25 UTC 2019 - Tomáš Chvátal + +- Simplify the pytest call + +--- Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.CvUpK9/_old 2019-07-30 13:00:54.974442144 +0200 +++ /var/tmp/diff_new_pack.CvUpK9/_new 2019-07-30 13:00:55.018442138 +0200 @@ -84,12 +84,7 @@ %check %if %{with test} -mkdir test -cp test_six.py test -pushd test %pytest test_six.py -popd -rm -rf test %endif %pre
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2019-06-18 14:49:05 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new.4811 (New) Package is "python-six" Tue Jun 18 14:49:05 2019 rev:32 rq:709049 version:1.12.0 Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2019-01-28 20:49:02.913866952 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new.4811/python-six.changes 2019-06-18 14:49:07.813688923 +0200 @@ -1,0 +2,6 @@ +Tue Jun 11 06:58:13 UTC 2019 - Tomáš Chvátal + +- Fix pytest call +- Fixdocumentation package generating + +--- Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.jKps6z/_old 2019-06-18 14:49:09.185688597 +0200 +++ /var/tmp/diff_new_pack.jKps6z/_new 2019-06-18 14:49:09.213688590 +0200 @@ -21,15 +21,11 @@ # because of cyclical dependencies between six and Sphinx. %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" -%define test 1 %bcond_without test +%define psuffix -test %else %bcond_with test -%endif -%if %{with test} -Name: python-six-%{flavor} -%else -Name: python-six +%define psuffix %{nil} %endif Version:1.12.0 Release:0 @@ -41,12 +37,13 @@ BuildRequires: %{python_module base} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildArch: noarch +Name: python-six%{psuffix} %if %{with test} BuildRequires: %{python_module pytest} BuildRequires: %{python_module py} BuildRequires: python3-Sphinx %endif -BuildArch: noarch %python_subpackages %description @@ -57,9 +54,9 @@ what is provided. %package -n python-six-doc -Provides: %{python_module six-doc = %{version}} -Summary:Documentation files for %name +Summary:Documentation files for %{name} Group: Documentation/HTML +Provides: %{python_module six-doc = %{version}} %description -n python-six-doc Six is a Python 2 and 3 compatibility library. It provides utility @@ -69,7 +66,6 @@ This package provides documentation for %{name}. - %prep %setup -q -n six-%{version} @@ -91,7 +87,7 @@ mkdir test cp test_six.py test pushd test -%python_exec %{_bindir}/py.test test_six.py +%pytest test_six.py popd rm -rf test %endif @@ -103,15 +99,17 @@ rm -rf %{python_sitelib}/six-*-py%{python_version}.egg-info fi +%if !%{with test} %files %{python_files} %license LICENSE %doc README.rst CHANGES -%if %{with test} -%doc documentation/_build/html -%else %{python_sitelib}/six.py* %pycache_only %{python3_sitelib}/__pycache__/* %{python_sitelib}/six-%{version}-py*.egg-info +%else +%files -n python-six-doc +%license LICENSE +%doc documentation/_build/html %endif %changelog
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2019-01-28 20:47:18 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new.28833 (New) Package is "python-six" Mon Jan 28 20:47:18 2019 rev:31 rq:668762 version:1.12.0 Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2018-12-14 20:47:59.96945 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new.28833/python-six.changes 2019-01-28 20:49:02.913866952 +0100 @@ -1,0 +2,11 @@ +Fri Jan 25 19:43:33 UTC 2019 - Neal Gompa + +- Change %pretrans back to %pre to fix bootstrap issue (boo#1123064) + +--- +Thu Jan 17 11:31:09 UTC 2019 - Tomáš Chvátal + +- Require just base python module, even full python is too much + and it is not required here + +--- Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.usH0dT/_old 2019-01-28 20:49:03.409866429 +0100 +++ /var/tmp/diff_new_pack.usH0dT/_new 2019-01-28 20:49:03.413866425 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-six # -# 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 @@ -38,10 +38,9 @@ Group: Development/Libraries/Python URL:http://pypi.python.org/pypi/six/ Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz +BuildRequires: %{python_module base} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python2 -BuildRequires: python3 %if %{with test} BuildRequires: %{python_module pytest} BuildRequires: %{python_module py} @@ -97,7 +96,8 @@ rm -rf test %endif -%pretrans +%pre +# boo#1123064 - change back to pre scriptlet - if needed as pretrans, write in lua # bsc#1057496 - egg-info changed from directory to file if [ -d %{python_sitelib}/six-*-py%{python_version}.egg-info ]; then rm -rf %{python_sitelib}/six-*-py%{python_version}.egg-info
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2018-12-14 20:47:59 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new.28833 (New) Package is "python-six" Fri Dec 14 20:47:59 2018 rev:30 rq:656810 version:1.12.0 Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2018-09-05 13:44:40.721881795 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new.28833/python-six.changes 2018-12-14 20:47:59.96945 +0100 @@ -1,0 +2,11 @@ +Mon Dec 10 09:20:52 CET 2018 - mc...@suse.com + +- Update to 0.12.0: +* `six.add_metaclass` now preserves `__qualname__` from the + original class. +* Add `six.ensure_binary`, `six.ensure_text`, and + `six.ensure_str`. +- Because of cyclical dependencies between six and Sphinx, we + need to to do multibuild. + +--- Old: python-six-doc.changes python-six-doc.spec six-1.11.0.tar.gz New: _multibuild six-1.12.0.tar.gz Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.oJNvib/_old 2018-12-14 20:48:00.673457919 +0100 +++ /var/tmp/diff_new_pack.oJNvib/_new 2018-12-14 20:48:00.677457913 +0100 @@ -17,16 +17,36 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +# This is not only because of dependency of testsuite, but mostly +# because of cyclical dependencies between six and Sphinx. +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define test 1 +%bcond_without test +%else +%bcond_with test +%endif +%if %{with test} +Name: python-six-%{flavor} +%else Name: python-six -Version:1.11.0 +%endif +Version:1.12.0 Release:0 Summary:Python 2 and 3 compatibility utilities License:MIT Group: Development/Libraries/Python URL:http://pypi.python.org/pypi/six/ Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz -BuildRequires: %{python_module base} +BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: python2 +BuildRequires: python3 +%if %{with test} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module py} +BuildRequires: python3-Sphinx +%endif BuildArch: noarch %python_subpackages @@ -37,20 +57,45 @@ both Python versions. See the documentation for more information on what is provided. +%package -n python-six-doc +Provides: %{python_module six-doc = %{version}} +Summary:Documentation files for %name +Group: Documentation/HTML + +%description -n python-six-doc +Six is a Python 2 and 3 compatibility library. It provides utility +functions for smoothing over the differences between the Python +versions with the goal of writing Python code that is compatible on +both Python versions. + +This package provides documentation for %{name}. + + %prep %setup -q -n six-%{version} %build +%if ! %{with test} %python_build -# due to cyclic requirements between Sphinx and six, -# documentation is build in its own package +%else +cd documentation && make html && rm _build/html/.buildinfo +%endif %install +%if ! %{with test} %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif -# Run tests in -doc package to avoid dependency loop -# %check -# python test_six.py +%check +%if %{with test} +mkdir test +cp test_six.py test +pushd test +%python_exec %{_bindir}/py.test test_six.py +popd +rm -rf test +%endif %pretrans # bsc#1057496 - egg-info changed from directory to file @@ -61,8 +106,12 @@ %files %{python_files} %license LICENSE %doc README.rst CHANGES +%if %{with test} +%doc documentation/_build/html +%else %{python_sitelib}/six.py* %pycache_only %{python3_sitelib}/__pycache__/* %{python_sitelib}/six-%{version}-py*.egg-info +%endif %changelog ++ _multibuild ++ test ++ six-1.11.0.tar.gz -> six-1.12.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.11.0/CHANGES new/six-1.12.0/CHANGES --- old/six-1.11.0/CHANGES 2017-09-17 20:46:32.0 +0200 +++ new/six-1.12.0/CHANGES 2018-12-10 01:59:34.0 +0100 @@ -3,6 +3,15 @@ This file lists the changes in each six version. +1.12.0 +-- + +- Issue #259, pull request #260: `six.add_metaclass` now preserves + `__qualname__` from the original class. + +- Pull request #204: Add `six.ensure_binary`, `six.ensure_text`, and + `six.ensure_str`. + 1.11.0 -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.11.0/LICENSE
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2018-08-17 23:59:44 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is "python-six" Fri Aug 17 23:59:44 2018 rev:28 rq:628634 version:1.11.0 Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six-doc.changes 2017-09-29 11:53:02.402653969 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six-doc.changes 2018-08-17 23:59:46.478300598 +0200 @@ -1,0 +2,5 @@ +Fri Aug 10 13:07:30 UTC 2018 - tchva...@suse.com + +- Remove argparse dependency + +--- python-six.changes: same change Other differences: -- ++ python-six-doc.spec ++ --- /var/tmp/diff_new_pack.gQYVbF/_old 2018-08-17 23:59:48.594306898 +0200 +++ /var/tmp/diff_new_pack.gQYVbF/_new 2018-08-17 23:59:48.622306982 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-six-doc # -# 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 @@ -20,23 +20,20 @@ Name: python-six-doc Version:1.11.0 Release:0 -Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities License:MIT Group: Development/Libraries/Python +URL:http://pypi.python.org/pypi/six/ Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{python_module six} -# require old python 2 explicitly to get the ssl module -BuildRequires: python -# require only one version of Sphinx for now -BuildRequires: python3-Sphinx # Test requirements: BuildRequires: %{python_module pytest} BuildRequires: %{python_module py} +BuildRequires: %{python_module six} BuildRequires: python-rpm-macros -BuildArch: noarch +# require only one version of Sphinx +BuildRequires: python3-Sphinx Provides: %{python_module six-doc = %{version}} +BuildArch: noarch %description Six is a Python 2 and 3 compatibility library. It provides utility @@ -54,7 +51,7 @@ cd documentation && make html && rm _build/html/.buildinfo %install -# only build documentation +: # Run tests here to avoid dependency loop %check @@ -66,7 +63,7 @@ rm -rf test %files -%defattr(-,root,root) -%doc LICENSE README.rst CHANGES documentation/_build/html +%license LICENSE +%doc README.rst CHANGES documentation/_build/html %changelog ++ python-six.spec ++ --- /var/tmp/diff_new_pack.gQYVbF/_old 2018-08-17 23:59:48.906307827 +0200 +++ /var/tmp/diff_new_pack.gQYVbF/_new 2018-08-17 23:59:48.934307911 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-six # -# 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 @@ -20,21 +20,14 @@ Name: python-six Version:1.11.0 Release:0 -Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities License:MIT Group: Development/Libraries/Python +URL:http://pypi.python.org/pypi/six/ Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{python_module base} +BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -%if 0%{?suse_version} > 1110 BuildArch: noarch -%else -BuildRequires: python-argparse -Requires: python-argparse -%endif - %python_subpackages %description @@ -62,12 +55,12 @@ %pre # bsc#1057496 - egg-info changed from directory to file if [ -d %{python_sitelib}/six-%{version}-py%{python_version}.egg-info ]; then -rm -r %{python_sitelib}/six-%{version}-%{python_version}.egg-info +rm -rf %{python_sitelib}/six-%{version}-%{python_version}.egg-info fi -%files %python_files -%defattr(-,root,root) -%doc LICENSE README.rst CHANGES +%files %{python_files} +%license LICENSE +%doc README.rst CHANGES %{python_sitelib}/six.py* %pycache_only %{python3_sitelib}/__pycache__/* %{python_sitelib}/six-%{version}-py*.egg-info
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2017-10-23 16:38:35 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is "python-six" Mon Oct 23 16:38:35 2017 rev:27 rq:534285 version:1.11.0 Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2017-09-29 11:53:05.766179670 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2017-10-23 16:38:36.365922013 +0200 @@ -1,0 +2,9 @@ +Mon Oct 16 16:49:50 UTC 2017 - jmate...@suse.com + +- remove egg-info directory before installation if it exists, + because setuptools produce directory and six switched to distutils + that produce a file + (and because rpm can't handle that by itself) + fixes bsc#1057496 + +--- Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.7XRcxD/_old 2017-10-23 16:38:36.829900299 +0200 +++ /var/tmp/diff_new_pack.7XRcxD/_new 2017-10-23 16:38:36.833900112 +0200 @@ -59,6 +59,12 @@ # %check # python test_six.py +%pre +# bsc#1057496 - egg-info changed from directory to file +if [ -d %{python_sitelib}/six-%{version}-py%{python_version}.egg-info ]; then +rm -r %{python_sitelib}/six-%{version}-%{python_version}.egg-info +fi + %files %python_files %defattr(-,root,root) %doc LICENSE README.rst CHANGES
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2017-09-29 11:52:53 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is "python-six" Fri Sep 29 11:52:53 2017 rev:26 rq:529092 version:1.11.0 Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six-doc.changes 2017-02-27 18:28:31.705430166 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six-doc.changes 2017-09-29 11:53:02.402653969 +0200 @@ -1,0 +2,25 @@ +Thu Sep 28 07:47:18 UTC 2017 - tbecht...@suse.com + +- Fix Source url + +--- +Sat Sep 23 20:49:03 UTC 2017 - a...@gmx.de + +- README->README.rst, add CHANGES + +- update to version 1.11.0: + * Pull request #178: `with_metaclass` now properly proxies +`__prepare__` to the underlying metaclass. + * Pull request #191: Allow `with_metaclass` to work with metaclasses +implemented in C. + * Pull request #203: Add parse_http_list and parse_keqv_list to +moved urllib.request. + * Pull request #172 and issue #171: Add unquote_to_bytes to moved +urllib.parse. + * Pull request #167: Add `six.moves.getoutput`. + * Pull request #80: Add `six.moves.urllib_parse.splitvalue`. + * Pull request #75: Add `six.moves.email_mime_image`. + * Pull request #72: Avoid creating reference cycles through +tracebacks in `reraise`. + +--- python-six.changes: same change Old: six-1.10.0.tar.gz New: six-1.11.0.tar.gz Other differences: -- ++ python-six-doc.spec ++ --- /var/tmp/diff_new_pack.cz54wU/_old 2017-09-29 11:53:11.785330897 +0200 +++ /var/tmp/diff_new_pack.cz54wU/_new 2017-09-29 11:53:11.789330333 +0200 @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-six-doc -Version:1.10.0 +Version:1.11.0 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities License:MIT Group: Development/Libraries/Python -Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module six} # require old python 2 explicitly to get the ssl module @@ -67,6 +67,6 @@ %files %defattr(-,root,root) -%doc LICENSE README documentation/_build/html +%doc LICENSE README.rst CHANGES documentation/_build/html %changelog ++ python-six.spec ++ --- /var/tmp/diff_new_pack.cz54wU/_old 2017-09-29 11:53:11.809327513 +0200 +++ /var/tmp/diff_new_pack.cz54wU/_new 2017-09-29 11:53:11.809327513 +0200 @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-six -Version:1.10.0 +Version:1.11.0 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities License:MIT Group: Development/Libraries/Python -Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module base} BuildRequires: python-rpm-macros @@ -61,7 +61,7 @@ %files %python_files %defattr(-,root,root) -%doc LICENSE README +%doc LICENSE README.rst CHANGES %{python_sitelib}/six.py* %pycache_only %{python3_sitelib}/__pycache__/* %{python_sitelib}/six-%{version}-py*.egg-info ++ six-1.10.0.tar.gz -> six-1.11.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.10.0/CHANGES new/six-1.11.0/CHANGES --- old/six-1.10.0/CHANGES 2015-10-07 05:13:01.0 +0200 +++ new/six-1.11.0/CHANGES 2017-09-17 20:46:32.0 +0200 @@ -3,6 +3,29 @@ This file lists the changes in each six version. +1.11.0 +-- + +- Pull request #178: `with_metaclass` now properly proxies `__prepare__` to the + underlying metaclass. + +- Pull request #191: Allow `with_metaclass` to work with metaclasses implemented + in C. + +- Pull request #203: Add parse_http_list and parse_keqv_list to moved + urllib.request. + +- Pull request #172 and issue #171: Add unquote_to_bytes to moved urllib.parse. + +- Pull request #167: Add `six.moves.getoutput`. + +- Pull request #80: Add `six.moves.urllib_parse.splitvalue`. + +- Pull request #75: Add
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2017-02-27 18:28:30 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is "python-six" Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six-doc.changes 2016-01-23 01:04:10.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six-doc.changes 2017-02-27 18:28:31.705430166 +0100 @@ -1,0 +2,7 @@ +Thu Feb 23 14:47:06 UTC 2017 - jmate...@suse.com + +- update for singlespec +- only use python3 version of Sphinx to build docs +- provide $flavor-doc for all pythons + +--- --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2016-02-23 16:53:24.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2017-02-27 18:28:31.765421713 +0100 @@ -1,0 +2,5 @@ +Wed Oct 5 14:33:14 UTC 2016 - jmate...@suse.com + +- update for multipython build + +--- Other differences: -- ++ python-six-doc.spec ++ --- /var/tmp/diff_new_pack.TO1u1H/_old 2017-02-27 18:28:32.153367053 +0100 +++ /var/tmp/diff_new_pack.TO1u1H/_new 2017-02-27 18:28:32.153367053 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-six-doc # -# 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,6 +16,7 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-six-doc Version:1.10.0 Release:0 @@ -25,13 +26,17 @@ Group: Development/Libraries/Python Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-six -# Documentation requirements: -BuildRequires: python-Sphinx +BuildRequires: %{python_module six} +# require old python 2 explicitly to get the ssl module +BuildRequires: python +# require only one version of Sphinx for now +BuildRequires: python3-Sphinx # Test requirements: -BuildRequires: python-py -BuildRequires: python-pytest +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module py} +BuildRequires: python-rpm-macros BuildArch: noarch +Provides: %{python_module six-doc = %{version}} %description Six is a Python 2 and 3 compatibility library. It provides utility @@ -56,7 +61,7 @@ mkdir test cp test_six.py test pushd test -py.test test_six.py +%python_exec %{_bindir}/py.test test_six.py popd rm -rf test ++ python-six.spec ++ --- /var/tmp/diff_new_pack.TO1u1H/_old 2017-02-27 18:28:32.177363671 +0100 +++ /var/tmp/diff_new_pack.TO1u1H/_new 2017-02-27 18:28:32.177363671 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-six # -# 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,6 +16,7 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-six Version:1.10.0 Release:0 @@ -25,16 +26,17 @@ Group: Development/Libraries/Python Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -%if 0%{?suse_version} <= 1110 -BuildRequires: python-argparse -Requires: python-argparse -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%endif +BuildRequires: %{python_module base} +BuildRequires: python-rpm-macros %if 0%{?suse_version} > 1110 BuildArch: noarch +%else +BuildRequires: python-argparse +Requires: python-argparse %endif +%python_subpackages + %description Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python @@ -46,28 +48,22 @@ %setup -q -n six-%{version} %build -python setup.py build +%python_build # due to cyclic requirements between Sphinx and six, # documentation is build in its own package%install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install # Run tests in -doc package to avoid dependency loop # %check #
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2016-02-23 16:53:23 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is "python-six" Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2016-01-23 01:04:10.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2016-02-23 16:53:24.0 +0100 @@ -1,0 +2,5 @@ +Tue Feb 9 07:45:20 UTC 2016 - o...@aepfle.de + +- Restore buildarch for SLE_11 to fix build + +--- Other differences: -- ++ python-six-doc.spec ++ --- /var/tmp/diff_new_pack.3zJZZx/_old 2016-02-23 16:53:25.0 +0100 +++ /var/tmp/diff_new_pack.3zJZZx/_new 2016-02-23 16:53:25.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-six-doc # -# Copyright (c) 2015 SUSE LINUX 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 ++ python-six.spec ++ --- /var/tmp/diff_new_pack.3zJZZx/_old 2016-02-23 16:53:25.0 +0100 +++ /var/tmp/diff_new_pack.3zJZZx/_new 2016-02-23 16:53:25.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-six # -# Copyright (c) 2015 SUSE LINUX 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 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-six Version:1.10.0 Release:0 @@ -30,7 +31,9 @@ Requires: python-argparse %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif +%if 0%{?suse_version} > 1110 BuildArch: noarch +%endif %description Six is a Python 2 and 3 compatibility library. It provides utility
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2016-01-23 01:04:09 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is "python-six" Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six-doc.changes 2015-10-19 22:47:17.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six-doc.changes 2016-01-23 01:04:10.0 +0100 @@ -1,0 +2,8 @@ +Tue Jan 19 09:07:19 UTC 2016 - toddrme2...@gmail.com + +- Run tests in -doc package to avoid dependency loops + * python-setuptools -> python-six -> python-py -> python-setuptools + * python-setuptools -> python-six -> python-pytest -> python-setuptools +- Actually run the tests. They weren't previously being run. + +--- python-six.changes: same change Other differences: -- ++ python-six-doc.spec ++ --- /var/tmp/diff_new_pack.4le5IH/_old 2016-01-23 01:04:11.0 +0100 +++ /var/tmp/diff_new_pack.4le5IH/_new 2016-01-23 01:04:11.0 +0100 @@ -25,8 +25,12 @@ Group: Development/Libraries/Python Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-six +# Documentation requirements: BuildRequires: python-Sphinx -BuildRequires: python-devel +# Test requirements: +BuildRequires: python-py +BuildRequires: python-pytest BuildArch: noarch %description @@ -45,6 +49,16 @@ cd documentation && make html && rm _build/html/.buildinfo %install +# only build documentation + +# Run tests here to avoid dependency loop +%check +mkdir test +cp test_six.py test +pushd test +py.test test_six.py +popd +rm -rf test %files %defattr(-,root,root) ++ python-six.spec ++ --- /var/tmp/diff_new_pack.4le5IH/_old 2016-01-23 01:04:11.0 +0100 +++ /var/tmp/diff_new_pack.4le5IH/_new 2016-01-23 01:04:11.0 +0100 @@ -15,11 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -# NOTE(saschpe): git invocation and pythonpath issues with testrepository -# enable testing with a build conditional (off by default): -%bcond_with test - Name: python-six Version:1.10.0 Release:0 @@ -30,19 +25,12 @@ Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -%if %{with test} -# Test requirements: -BuildRequires: python-py -BuildRequires: python-pytest -%endif %if 0%{?suse_version} <= 1110 BuildRequires: python-argparse Requires: python-argparse %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%else -BuildArch: noarch -%py_requires %endif +BuildArch: noarch %description Six is a Python 2 and 3 compatibility library. It provides utility @@ -62,10 +50,9 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%if %{with test} -%check -python test_six.py -%endif +# Run tests in -doc package to avoid dependency loop +# %check +# python test_six.py %pre # previous versions of the package installed .egg-info as a directory, @@ -78,6 +65,6 @@ %defattr(-,root,root) %doc LICENSE README %{python_sitelib}/six.py* -%{python_sitelib}/six-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/six-%{version}-py*.egg-info %changelog
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2015-10-19 22:47:13 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is "python-six" Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six-doc.changes 2015-04-22 01:14:40.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six-doc.changes 2015-10-19 22:47:17.0 +0200 @@ -1,0 +2,11 @@ +Fri Oct 9 08:17:49 UTC 2015 - mci...@suse.cz + +- Update to 1.10.0: + - Issue #122: Improve the performance of `six.int2byte` on Python 3. + - Pull request #55 and issue #99: Don't add the `winreg` module to `six.moves` +on non-Windows platforms. + - Pull request #60 and issue #108: Add `six.moves.getcwd` and +`six.moves.getcwdu`. + - Pull request #64: Add `create_unbound_method` to create unbound methods. + +--- python-six.changes: same change Old: six-1.9.0.tar.gz New: six-1.10.0.tar.gz Other differences: -- ++ python-six-doc.spec ++ --- /var/tmp/diff_new_pack.Sd0y1X/_old 2015-10-19 22:47:18.0 +0200 +++ /var/tmp/diff_new_pack.Sd0y1X/_new 2015-10-19 22:47:18.0 +0200 @@ -17,7 +17,7 @@ Name: python-six-doc -Version:1.9.0 +Version:1.10.0 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities ++ python-six.spec ++ --- /var/tmp/diff_new_pack.Sd0y1X/_old 2015-10-19 22:47:18.0 +0200 +++ /var/tmp/diff_new_pack.Sd0y1X/_new 2015-10-19 22:47:18.0 +0200 @@ -21,7 +21,7 @@ %bcond_with test Name: python-six -Version:1.9.0 +Version:1.10.0 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities ++ six-1.9.0.tar.gz -> six-1.10.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.9.0/CHANGES new/six-1.10.0/CHANGES --- old/six-1.9.0/CHANGES 2015-01-02 17:34:00.0 +0100 +++ new/six-1.10.0/CHANGES 2015-10-07 05:13:01.0 +0200 @@ -3,6 +3,19 @@ This file lists the changes in each six version. +1.10.0 +-- + +- Issue #122: Improve the performance of `six.int2byte` on Python 3. + +- Pull request #55 and issue #99: Don't add the `winreg` module to `six.moves` + on non-Windows platforms. + +- Pull request #60 and issue #108: Add `six.moves.getcwd` and + `six.moves.getcwdu`. + +- Pull request #64: Add `create_unbound_method` to create unbound methods. + 1.9.0 - @@ -26,6 +39,9 @@ - Pull request #51: Add `six.view(keys|values|itmes)`, which provide dictionary views on Python 2.7+. +- Issue #112: `six.moves.reload_module` now uses the importlib module on + Python 3.4+. + 1.8.0 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.9.0/PKG-INFO new/six-1.10.0/PKG-INFO --- old/six-1.9.0/PKG-INFO 2015-01-02 17:37:53.0 +0100 +++ new/six-1.10.0/PKG-INFO 2015-10-07 05:17:36.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: six -Version: 1.9.0 +Version: 1.10.0 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson @@ -11,17 +11,17 @@ writing Python code that is compatible on both Python versions. See the documentation for more information on what is provided. -Six supports every Python version since 2.5. It is contained in only one Python +Six supports every Python version since 2.6. It is contained in only one Python file, so it can be easily copied into your project. (The copyright and license notice must be retained.) -Online documentation is at http://pythonhosted.org/six/. +Online documentation is at https://pythonhosted.org/six/. Bugs can be reported to https://bitbucket.org/gutworth/six. The code can also be found there. For questions about six or porting in general, email the python-porting mailing -list: http://mail.python.org/mailman/listinfo/python-porting +list: https://mail.python.org/mailman/listinfo/python-porting Platform: UNKNOWN Classifier: Programming Language :: Python :: 2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.9.0/README new/six-1.10.0/README --- old/six-1.9.0/README2014-12-09 16:41:48.0 +0100 +++ new/six-1.10.0/README
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2015-08-07 00:23:42 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2015-04-22 01:14:40.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2015-08-07 00:23:44.0 +0200 @@ -1,0 +2,12 @@ +Tue Aug 4 07:50:17 UTC 2015 - dims...@opensuse.org + +- Delete the system egg-info during pre phase: older versions of + the package installed it as a directory, the latest update + creates a file, and rpm has known issues with replacing this. + +--- +Wed Jul 29 13:01:56 UTC 2015 - toddrme2...@gmail.com + +- Make tests conditional to avoid dependency loop. + +--- Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.j7LIDL/_old 2015-08-07 00:23:45.0 +0200 +++ /var/tmp/diff_new_pack.j7LIDL/_new 2015-08-07 00:23:45.0 +0200 @@ -16,6 +16,10 @@ # +# NOTE(saschpe): git invocation and pythonpath issues with testrepository +# enable testing with a build conditional (off by default): +%bcond_with test + Name: python-six Version:1.9.0 Release:0 @@ -26,9 +30,11 @@ Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +%if %{with test} # Test requirements: BuildRequires: python-py BuildRequires: python-pytest +%endif %if 0%{?suse_version} = 1110 BuildRequires: python-argparse Requires: python-argparse @@ -56,8 +62,17 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%if %{with test} %check python test_six.py +%endif + +%pre +# previous versions of the package installed .egg-info as a directory, +# the new update now installs it as a file. Clean out the directory, should it exist. +if [ -d %{python_sitelib}/six-%{version}-py%{py_ver}.egg-info ]; then + rm -rf %{python_sitelib}/six-%{version}-py%{py_ver}.egg-info +fi %files %defattr(-,root,root)
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2015-04-22 01:14:38 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: New Changes file: --- /dev/null 2015-03-12 01:14:30.992027505 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six-doc.changes 2015-04-22 01:14:40.0 +0200 @@ -0,0 +1,6 @@ +--- +Thu Apr 16 20:11:49 UTC 2015 - h...@urpla.net + +- first build of separated docs due to cyclic requirements of + six and Sphinx. + --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2015-01-27 09:08:27.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2015-04-22 01:14:40.0 +0200 @@ -1,0 +2,6 @@ +Thu Apr 16 10:41:33 UTC 2015 - h...@urpla.net + +- don't build/package documentation here: it breaks due to cyclic + requirements between six and Sphinx, move doc in its own package + +--- New: python-six-doc.changes python-six-doc.spec Other differences: -- ++ python-six-doc.spec ++ # # spec file for package python-six-doc # # 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 # 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-six-doc Version:1.9.0 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities License:MIT Group: Development/Libraries/Python Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-Sphinx BuildRequires: python-devel BuildArch: noarch %description Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions. See the documentation for more information on what is provided. %prep %setup -q -n six-%{version} %build # due to cyclic requirements between Sphinx and six, # documentation is build in its own package h...@urpla.net cd documentation make html rm _build/html/.buildinfo %install %files %defattr(-,root,root) %doc LICENSE README documentation/_build/html %changelog ++ python-six.spec ++ --- /var/tmp/diff_new_pack.3JStj3/_old 2015-04-22 01:14:41.0 +0200 +++ /var/tmp/diff_new_pack.3JStj3/_new 2015-04-22 01:14:41.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-six # -# Copyright (c) 2015 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 @@ -26,8 +26,6 @@ Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -# Documentation requirements: -BuildRequires: python-Sphinx # Test requirements: BuildRequires: python-py BuildRequires: python-pytest @@ -52,7 +50,8 @@ %build python setup.py build -cd documentation make html rm _build/html/.buildinfo +# due to cyclic requirements between Sphinx and six, +# documentation is build in its own package h...@urpla.net %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -62,7 +61,7 @@ %files %defattr(-,root,root) -%doc LICENSE README documentation/_build/html +%doc LICENSE README %{python_sitelib}/six.py* %{python_sitelib}/six-%{version}-py%{py_ver}.egg-info
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2015-01-27 09:08:25 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2014-09-17 21:23:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2015-01-27 09:08:27.0 +0100 @@ -1,0 +2,18 @@ +Sat Jan 24 13:45:42 UTC 2015 - mailaen...@opensuse.org + +- update to version 1.9.0 + - Issue #106: Support the `flush` parameter to `six.print_`. + - Pull request #48 and issue #15: Add the `python_2_unicode_compatible` +decorator. + - Pull request #57 and issue #50: Add several compatibility methods for +unittest assertions that were renamed between Python 2 and 3. + - Issue #105 and pull request #58: Ensure `six.wraps` respects the +*updated* and *assigned* arguments. + - Issue #102: Add `raise_from` to abstract out Python 3's raise from +syntax. + - Issue #97: Optimize `six.iterbytes` on Python 2. + - Issue #98: Fix `six.moves` race condition in multi-threaded code. + - Pull request #51: Add `six.view(keys|values|itmes)`, which provide +dictionary views on Python 2.7+. + +--- Old: six-1.8.0.tar.gz New: six-1.9.0.tar.gz Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.UH4Snc/_old 2015-01-27 09:08:28.0 +0100 +++ /var/tmp/diff_new_pack.UH4Snc/_new 2015-01-27 09:08:28.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-six # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,7 +17,7 @@ Name: python-six -Version:1.8.0 +Version:1.9.0 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities ++ six-1.8.0.tar.gz - six-1.9.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.8.0/CHANGES new/six-1.9.0/CHANGES --- old/six-1.8.0/CHANGES 2014-09-11 23:42:45.0 +0200 +++ new/six-1.9.0/CHANGES 2015-01-02 17:34:00.0 +0100 @@ -3,38 +3,61 @@ This file lists the changes in each six version. +1.9.0 +- + +- Issue #106: Support the `flush` parameter to `six.print_`. + +- Pull request #48 and issue #15: Add the `python_2_unicode_compatible` + decorator. + +- Pull request #57 and issue #50: Add several compatibility methods for unittest + assertions that were renamed between Python 2 and 3. + +- Issue #105 and pull request #58: Ensure `six.wraps` respects the *updated* and + *assigned* arguments. + +- Issue #102: Add `raise_from` to abstract out Python 3's raise from syntax. + +- Issue #97: Optimize `six.iterbytes` on Python 2. + +- Issue #98: Fix `six.moves` race condition in multi-threaded code. + +- Pull request #51: Add `six.view(keys|values|itmes)`, which provide dictionary + views on Python 2.7+. + 1.8.0 - -- Issue #90: Add six.moves.shlex_quote. +- Issue #90: Add `six.moves.shlex_quote`. -- Issue #59: Add six.moves.intern. +- Issue #59: Add `six.moves.intern`. -- Add six.urllib.parse.uses_(fragment|netloc|params|query|relative). +- Add `six.urllib.parse.uses_(fragment|netloc|params|query|relative)`. -- Issue #88: Fix add_metaclass when the class has __slots__ containing - __weakref__ or __dict__. +- Issue #88: Fix add_metaclass when the class has `__slots__` containing + `__weakref__` or `__dict__`. - Issue #89: Make six use absolute imports. -- Issue #85: Always accept *updated* and *assigned* arguments for wraps(). +- Issue #85: Always accept *updated* and *assigned* arguments for `wraps()`. -- Issue #86: In reraise(), instantiate the exception if the second argument is - None. +- Issue #86: In `reraise()`, instantiate the exception if the second argument is + `None`. -- Pull request #45: Add six.moves.email_mime_nonmultipart. +- Pull request #45: Add `six.moves.email_mime_nonmultipart`. -- Issue #81: Add six.urllib.request.splittag mapping. +- Issue #81: Add `six.urllib.request.splittag` mapping. -- Issue #80: Add six.urllib.request.splituser mapping. +- Issue #80: Add `six.urllib.request.splituser` mapping. 1.7.3 - - Issue #77: Fix import six on Python 3.4 with a custom loader. -- Issue #74: six.moves.xmlrpc_server should map to
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2014-09-17 21:23:34 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2014-08-27 16:52:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2014-09-17 21:23:35.0 +0200 @@ -1,0 +2,17 @@ +Tue Sep 16 06:32:25 UTC 2014 - tbecht...@suse.com + +- update to version 1.8.0: + * Issue #90: Add six.moves.shlex_quote. + * Issue #59: Add six.moves.intern. + * Add six.urllib.parse.uses_(fragment|netloc|params|query|relative). + * Issue #88: Fix add_metaclass when the class has __slots__ containing + __weakref__ or __dict__. + * Issue #89: Make six use absolute imports. + * Issue #85: Always accept *updated* and *assigned* arguments for wraps(). + * Issue #86: In reraise(), instantiate the exception if the second argument is + None. + * Pull request #45: Add six.moves.email_mime_nonmultipart. + * Issue #81: Add six.urllib.request.splittag mapping. + * Issue #80: Add six.urllib.request.splituser mapping. + +--- Old: six-1.7.3.tar.gz New: six-1.8.0.tar.gz Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.OBn2tA/_old 2014-09-17 21:23:36.0 +0200 +++ /var/tmp/diff_new_pack.OBn2tA/_new 2014-09-17 21:23:36.0 +0200 @@ -17,7 +17,7 @@ Name: python-six -Version:1.7.3 +Version:1.8.0 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities ++ six-1.7.3.tar.gz - six-1.8.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.7.3/CHANGES new/six-1.8.0/CHANGES --- old/six-1.7.3/CHANGES 2014-06-29 21:22:59.0 +0200 +++ new/six-1.8.0/CHANGES 2014-09-11 23:42:45.0 +0200 @@ -3,6 +3,31 @@ This file lists the changes in each six version. +1.8.0 +- + +- Issue #90: Add six.moves.shlex_quote. + +- Issue #59: Add six.moves.intern. + +- Add six.urllib.parse.uses_(fragment|netloc|params|query|relative). + +- Issue #88: Fix add_metaclass when the class has __slots__ containing + __weakref__ or __dict__. + +- Issue #89: Make six use absolute imports. + +- Issue #85: Always accept *updated* and *assigned* arguments for wraps(). + +- Issue #86: In reraise(), instantiate the exception if the second argument is + None. + +- Pull request #45: Add six.moves.email_mime_nonmultipart. + +- Issue #81: Add six.urllib.request.splittag mapping. + +- Issue #80: Add six.urllib.request.splituser mapping. + 1.7.3 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.7.3/PKG-INFO new/six-1.8.0/PKG-INFO --- old/six-1.7.3/PKG-INFO 2014-06-29 21:30:21.0 +0200 +++ new/six-1.8.0/PKG-INFO 2014-09-11 23:48:41.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: six -Version: 1.7.3 +Version: 1.8.0 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.7.3/documentation/index.rst new/six-1.8.0/documentation/index.rst --- old/six-1.7.3/documentation/index.rst 2014-04-30 21:48:24.0 +0200 +++ new/six-1.8.0/documentation/index.rst 2014-09-11 23:32:59.0 +0200 @@ -222,7 +222,7 @@ aliased to :class:`py3:object`.) -.. function:: wraps(wrapped) +.. function:: wraps(wrapped, assigned=functools.WRAPPER_ASSIGNMENTS, updated=functools.WRAPPER_UPDATES) This is exactly the :func:`py3:functools.wraps` decorator, but it sets the ``__wrapped__`` attribute on what it decorates as :func:`py3:functools.wraps` @@ -266,7 +266,10 @@ Reraise an exception, possibly with a different traceback. In the simple case, ``reraise(*sys.exc_info())`` with an active exception (in an except block) reraises the current exception with the last traceback. A different - traceback can be specified with the *exc_traceback* parameter. + traceback can be specified with the *exc_traceback* parameter. Note that + since the exception reraising is done within the :func:`reraise` function, + Python will attach the call frame of :func:`reraise` to whatever traceback is + raised. .. function:: with_metaclass(metaclass, *bases) @@ -292,9 +295,7 @@ .. function:: add_metaclass(metaclass) Class decorator that
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2014-08-27 16:52:56 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2014-06-25 21:19:59.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2014-08-27 16:52:58.0 +0200 @@ -1,0 +2,8 @@ +Wed Aug 13 07:44:30 UTC 2014 - mci...@suse.cz + +- update to 1.7.3: + - Issue #77: Fix import six on Python 3.4 with a custom loader. + - Issue #74: six.moves.xmlrpc_server should map to SimpleXMLRPCServer on Python +2 as documented not xmlrpclib. + +--- Old: six-1.7.2.tar.gz New: six-1.7.3.tar.gz Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.x5C7Zh/_old 2014-08-27 16:52:59.0 +0200 +++ /var/tmp/diff_new_pack.x5C7Zh/_new 2014-08-27 16:52:59.0 +0200 @@ -17,7 +17,7 @@ Name: python-six -Version:1.7.2 +Version:1.7.3 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities ++ six-1.7.2.tar.gz - six-1.7.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.7.2/CHANGES new/six-1.7.3/CHANGES --- old/six-1.7.2/CHANGES 2014-06-09 06:12:49.0 +0200 +++ new/six-1.7.3/CHANGES 2014-06-29 21:22:59.0 +0200 @@ -3,6 +3,14 @@ This file lists the changes in each six version. +1.7.3 +- + +- Issue #77: Fix import six on Python 3.4 with a custom loader. + +- Issue #74: six.moves.xmlrpc_server should map to SimpleXMLRPCServer on Python + 2 as documented not xmlrpclib. + 1.7.2 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.7.2/PKG-INFO new/six-1.7.3/PKG-INFO --- old/six-1.7.2/PKG-INFO 2014-06-09 06:15:02.0 +0200 +++ new/six-1.7.3/PKG-INFO 2014-06-29 21:30:21.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: six -Version: 1.7.2 +Version: 1.7.3 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.7.2/setup.cfg new/six-1.7.3/setup.cfg --- old/six-1.7.2/setup.cfg 2014-06-09 06:15:02.0 +0200 +++ new/six-1.7.3/setup.cfg 2014-06-29 21:30:21.0 +0200 @@ -2,7 +2,7 @@ universal = 1 [egg_info] -tag_build = tag_svn_revision = 0 tag_date = 0 +tag_build = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.7.2/six.egg-info/PKG-INFO new/six-1.7.3/six.egg-info/PKG-INFO --- old/six-1.7.2/six.egg-info/PKG-INFO 2014-06-09 06:15:01.0 +0200 +++ new/six-1.7.3/six.egg-info/PKG-INFO 2014-06-29 21:30:21.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: six -Version: 1.7.2 +Version: 1.7.3 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.7.2/six.py new/six-1.7.3/six.py --- old/six-1.7.2/six.py2014-06-09 06:14:30.0 +0200 +++ new/six-1.7.3/six.py2014-06-29 21:23:14.0 +0200 @@ -26,7 +26,7 @@ import types __author__ = Benjamin Peterson benja...@python.org -__version__ = 1.7.2 +__version__ = 1.7.3 # Useful for very coarse version differentiation. @@ -281,7 +281,7 @@ MovedModule(urllib, __name__ + .moves.urllib, __name__ + .moves.urllib), MovedModule(urllib_robotparser, robotparser, urllib.robotparser), MovedModule(xmlrpc_client, xmlrpclib, xmlrpc.client), -MovedModule(xmlrpc_server, xmlrpclib, xmlrpc.server), +MovedModule(xmlrpc_server, SimpleXMLRPCServer, xmlrpc.server), MovedModule(winreg, _winreg), ] for attr in _moved_attributes: @@ -698,20 +698,13 @@ def with_metaclass(meta, *bases): Create a base class with a metaclass. -# This requires a bit of explanation: the basic idea is to make a -# dummy metaclass for one level of class instantiation that replaces -# itself with the actual metaclass. Because of internal type checks -# we also need to make sure that we downgrade the custom metaclass -# for one level to something closer to type (that's why __call__ and -# __init__ comes back from type etc.). +# This requires a bit of explanation: the basic idea is to
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2014-06-25 21:19:57 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2014-05-02 09:51:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2014-06-25 21:19:59.0 +0200 @@ -1,0 +2,17 @@ +Mon Jun 23 08:28:39 UTC 2014 - dmuel...@suse.com + +- update to 1.7.2: + - Issue #72: Fix installing on Python 2. + - Issue #71: Make the six.moves meta path importer handle reloading of the six + module gracefully. + - Pull request #30: Implement six.moves with a PEP 302 meta path hook. + - Pull request #32: Add six.wraps, which is like functools.wraps but always sets + the __wrapped__ attribute. + - Pull request #35: Improve add_metaclass, so that it doesn't end up inserting + another class into the hierarchy. + - Pull request #34: Add import mappings for dummy_thread. + - Pull request #33: Add import mappings for UserDict and UserList. + - Pull request #31: Select the implementations of dictionary iterator routines + at import time for a 20% speed boost. + +--- Old: six-1.6.1.tar.gz New: six-1.7.2.tar.gz Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.CrQrzr/_old 2014-06-25 21:20:00.0 +0200 +++ /var/tmp/diff_new_pack.CrQrzr/_new 2014-06-25 21:20:00.0 +0200 @@ -17,7 +17,7 @@ Name: python-six -Version:1.6.1 +Version:1.7.2 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities ++ six-1.6.1.tar.gz - six-1.7.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.6.1/CHANGES new/six-1.7.2/CHANGES --- old/six-1.6.1/CHANGES 2014-03-14 04:36:39.0 +0100 +++ new/six-1.7.2/CHANGES 2014-06-09 06:12:49.0 +0200 @@ -3,6 +3,35 @@ This file lists the changes in each six version. +1.7.2 +- + +- Issue #72: Fix installing on Python 2. + +1.7.1 +- + +- Issue #71: Make the six.moves meta path importer handle reloading of the six + module gracefully. + +1.7.0 +- + +- Pull request #30: Implement six.moves with a PEP 302 meta path hook. + +- Pull request #32: Add six.wraps, which is like functools.wraps but always sets + the __wrapped__ attribute. + +- Pull request #35: Improve add_metaclass, so that it doesn't end up inserting + another class into the hierarchy. + +- Pull request #34: Add import mappings for dummy_thread. + +- Pull request #33: Add import mappings for UserDict and UserList. + +- Pull request #31: Select the implementations of dictionary iterator routines + at import time for a 20% speed boost. + 1.6.1 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.6.1/PKG-INFO new/six-1.7.2/PKG-INFO --- old/six-1.6.1/PKG-INFO 2014-03-14 04:39:28.0 +0100 +++ new/six-1.7.2/PKG-INFO 2014-06-09 06:15:02.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: six -Version: 1.6.1 +Version: 1.7.2 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.6.1/documentation/index.rst new/six-1.7.2/documentation/index.rst --- old/six-1.6.1/documentation/index.rst 2014-03-14 03:56:36.0 +0100 +++ new/six-1.7.2/documentation/index.rst 2014-04-30 21:48:24.0 +0200 @@ -222,6 +222,13 @@ aliased to :class:`py3:object`.) +.. function:: wraps(wrapped) + + This is exactly the :func:`py3:functools.wraps` decorator, but it sets the + ``__wrapped__`` attribute on what it decorates as :func:`py3:functools.wraps` + does on Python versions after 3.2. + + Syntax compatibility @@ -477,6 +484,8 @@ +--+-+-+ | ``dbm_gnu`` | :func:`py2:gdbm`| :class:`py3:dbm.gnu`| +--+-+-+ +| ``_dummy_thread``| :mod:`py2:dummy_thread` | :mod:`py3:_dummy_thread`| ++--+-+-+ | ``email_mime_multipart`` |
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2014-05-02 09:51:41 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2014-03-01 21:20:13.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2014-05-02 09:51:44.0 +0200 @@ -1,0 +2,13 @@ +Thu Apr 24 11:20:32 UTC 2014 - dmuel...@suse.com + +- update to 1.6.1: + - Raise an AttributeError for six.moves.X when X is a module not available in +the current interpreter. + - Raise an AttributeError for every attribute of unimportable modules. + - Issue #56: Make the fake modules six.moves puts into sys.modules appear not to +have a __path__ unless they are loaded. + - Pull request #28: Add support for SplitResult. + - Issue #55: Add move mapping for xmlrpc.server. + - Pull request #29: Add move for urllib.parse.splitquery. + +--- Old: six-1.5.2.tar.gz New: six-1.6.1.tar.gz Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.CIbmx5/_old 2014-05-02 09:51:45.0 +0200 +++ /var/tmp/diff_new_pack.CIbmx5/_new 2014-05-02 09:51:45.0 +0200 @@ -17,7 +17,7 @@ Name: python-six -Version:1.5.2 +Version:1.6.1 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities ++ six-1.5.2.tar.gz - six-1.6.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.5.2/CHANGES new/six-1.6.1/CHANGES --- old/six-1.5.2/CHANGES 2014-01-06 16:53:20.0 +0100 +++ new/six-1.6.1/CHANGES 2014-03-14 04:36:39.0 +0100 @@ -1,8 +1,28 @@ -Changelog for Six -- +Changelog for six += This file lists the changes in each six version. +1.6.1 +- + +- Raise an AttributeError for six.moves.X when X is a module not available in + the current interpreter. + +1.6.0 +- + +- Raise an AttributeError for every attribute of unimportable modules. + +- Issue #56: Make the fake modules six.moves puts into sys.modules appear not to + have a __path__ unless they are loaded. + +- Pull request #28: Add support for SplitResult. + +- Issue #55: Add move mapping for xmlrpc.server. + +- Pull request #29: Add move for urllib.parse.splitquery. + 1.5.2 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.5.2/PKG-INFO new/six-1.6.1/PKG-INFO --- old/six-1.5.2/PKG-INFO 2014-01-06 16:57:41.0 +0100 +++ new/six-1.6.1/PKG-INFO 2014-03-14 04:39:28.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: six -Version: 1.5.2 +Version: 1.6.1 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.5.2/documentation/conf.py new/six-1.6.1/documentation/conf.py --- old/six-1.5.2/documentation/conf.py 2013-09-15 15:52:34.0 +0200 +++ new/six-1.6.1/documentation/conf.py 2014-01-10 04:44:36.0 +0100 @@ -33,7 +33,7 @@ # General information about the project. project = usix -copyright = u2010, Benjamin Peterson +copyright = u2010-2014, Benjamin Peterson sys.path.append(os.path.abspath(os.path.join(., ..))) from six import __version__ as six_version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.5.2/documentation/index.rst new/six-1.6.1/documentation/index.rst --- old/six-1.5.2/documentation/index.rst 2014-01-04 19:22:33.0 +0100 +++ new/six-1.6.1/documentation/index.rst 2014-03-14 03:56:36.0 +0100 @@ -438,6 +438,28 @@ functionality; its structure mimics the structure of the Python 3 :mod:`py3:urllib` package. +.. note:: + + In order to make imports of the form:: + + from six.moves.cPickle import loads + + work, six places special proxy objects in in :data:`py3:sys.modules`. These + proxies lazily load the underlying module when an attribute is fetched. This + will fail if the underlying module is not available in the Python + interpreter. For example, ``sys.modules[six.moves.winreg].LoadKey`` would + fail on any non-Windows platform. Unfortunately, some applications try to + load attributes on every module in :data:`py3:sys.modules`. six mitigates + this problem for some applications by pretending attributes on unimportable
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2014-03-01 21:20:07 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2014-02-12 17:23:00.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2014-03-01 21:20:13.0 +0100 @@ -1,0 +2,5 @@ +Wed Feb 26 16:44:10 UTC 2014 - rschweik...@suse.com + +- Include in SLE 12 (FATE #315990) + +--- Other differences: -- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2014-02-12 17:22:59 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2014-01-09 15:38:14.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2014-02-12 17:23:00.0 +0100 @@ -1,0 +2,10 @@ +Sun Feb 9 17:06:59 UTC 2014 - t...@opensuse.org + +- update to 1.5.2: + - Issue #53: Make the fake modules six.moves puts into sys.modules +appear not to have a __name__ unless they are loaded. + +Changes of older releases, see CHANGES files in the Bitbucket repo at +https://bitbucket.org/gutworth/six/src/758cacd651f3ee8c9eb2253ca3905a1d46f88786/CHANGES?at=default + +--- Old: six-1.4.1.tar.gz New: six-1.5.2.tar.gz Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.j4OeBH/_old 2014-02-12 17:23:01.0 +0100 +++ /var/tmp/diff_new_pack.j4OeBH/_new 2014-02-12 17:23:01.0 +0100 @@ -17,7 +17,7 @@ Name: python-six -Version:1.4.1 +Version:1.5.2 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities ++ six-1.4.1.tar.gz - six-1.5.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.4.1/CHANGES new/six-1.5.2/CHANGES --- old/six-1.4.1/CHANGES 2013-09-02 15:09:15.0 +0200 +++ new/six-1.5.2/CHANGES 2014-01-06 16:53:20.0 +0100 @@ -3,6 +3,48 @@ This file lists the changes in each six version. +1.5.2 +- + +- Issue #53: Make the fake modules six.moves puts into sys.modules appear not to + have a __name__ unless they are loaded. + +1.5.1 +- + +- Issue #51: Hack around the Django autoreloader after recent six.moves changes. + +1.5.0 +- + +- Removed support for Python 2.4. This is because py.test no longer supports + 2.4. + +- Fix various import problems including issues #19 and #41. six.moves modules + are now lazy wrappers over the underlying modules instead of the actual + modules themselves. + +- Issue #49: Add six.moves mapping for tkinter.ttk. + +- Pull request #24: Add __dir__ special method to six.moves modules. + +- Issue #47: Fix add_metaclass on classes with a string for the __slots__ + variable. + +- Issue #44: Fix interpretation of backslashes on Python 2 in the u() function. + +- Pull request #21: Add import mapping for urllib's proxy_bypass function. + +- Issue #43: Add import mapping for the Python 2 xmlrpclib module. + +- Issue #39: Add import mapping for the Python 2 thread module. + +- Issue #40: Add import mapping for the Python 2 gdbm module. + +- Issue #35: On Python versions less than 2.7, print_ now encodes unicode + strings when outputing to standard streams. (Python 2.7 handles this + automatically.) + 1.4.1 - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.4.1/LICENSE new/six-1.5.2/LICENSE --- old/six-1.4.1/LICENSE 2013-03-17 05:09:50.0 +0100 +++ new/six-1.5.2/LICENSE 2014-01-04 23:36:04.0 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2010-2013 Benjamin Peterson +Copyright (c) 2010-2014 Benjamin Peterson 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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.4.1/MANIFEST.in new/six-1.5.2/MANIFEST.in --- old/six-1.4.1/MANIFEST.in 1970-01-01 01:00:00.0 +0100 +++ new/six-1.5.2/MANIFEST.in 2012-08-28 22:05:33.0 +0200 @@ -0,0 +1,6 @@ +include CHANGES +include LICENSE +include test_six.py + +recursive-include documentation * +prune documentation/_build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.4.1/PKG-INFO new/six-1.5.2/PKG-INFO --- old/six-1.4.1/PKG-INFO 2013-09-02 15:11:53.0 +0200 +++ new/six-1.5.2/PKG-INFO 2014-01-06 16:57:41.0 +0100 @@ -1,17 +1,17 @@ Metadata-Version: 1.1 Name: six -Version: 1.4.1 +Version: 1.5.2 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson Author-email: benja...@python.org -License: UNKNOWN +License: MIT Description: Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2014-01-09 15:38:13 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2013-09-03 22:05:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2014-01-09 15:38:14.0 +0100 @@ -1,0 +2,5 @@ +Tue Jan 7 14:52:36 UTC 2014 - speili...@suse.com + +- Bring back argparse requirement for SP3 + +--- Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.PB3xsl/_old 2014-01-09 15:38:15.0 +0100 +++ /var/tmp/diff_new_pack.PB3xsl/_new 2014-01-09 15:38:15.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-six # -# 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 @@ -16,7 +16,6 @@ # -%define modname six Name: python-six Version:1.4.1 Release:0 @@ -33,6 +32,8 @@ BuildRequires: python-py BuildRequires: python-pytest %if 0%{?suse_version} = 1110 +BuildRequires: python-argparse +Requires: python-argparse %{!?python_sitelib: %global python_sitelib %(python -c from distutils.sysconfig import get_python_lib; print(get_python_lib(1)))} %else BuildArch: noarch -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2013-09-03 22:05:53 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2013-07-31 17:24:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2013-09-03 22:05:55.0 +0200 @@ -1,0 +2,20 @@ +Mon Sep 2 15:34:12 UTC 2013 - dmuel...@suse.com + +- update to 1.4.1: + - Issue #31: Add six.moves mapping for UserString. + - Pull request #12: Add six.add_metaclass, a decorator for adding a metaclass to +a class. + - Add six.moves.zip_longest and six.moves.filterfalse, which correspond +respectively to itertools.izip_longest and itertools.ifilterfalse on Python 2 +and itertools.zip_longest and itertools.filterfalse on Python 3. + - Issue #25: Add the unichr function, which returns a string for a Unicode +codepoint. + - Issue #26: Add byte2int function, which complements int2byte. + - Issue #23: Allow multiple base classes to be passed to with_metaclass. + - Issue #24: Add six.moves.range alias. This exactly the same as the current + xrange alias. + - Pull request #5: Create six.moves.urllib, which contains abstractions for a +bunch of things which are in urllib in Python 3 and spread out across urllib, +urllib2, and urlparse in Python 2. + +--- Old: six-1.3.0.tar.gz New: six-1.4.1.tar.gz Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.fkU3cl/_old 2013-09-03 22:05:55.0 +0200 +++ /var/tmp/diff_new_pack.fkU3cl/_new 2013-09-03 22:05:55.0 +0200 @@ -18,7 +18,7 @@ %define modname six Name: python-six -Version:1.3.0 +Version:1.4.1 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities ++ six-1.3.0.tar.gz - six-1.4.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.3.0/CHANGES new/six-1.4.1/CHANGES --- old/six-1.3.0/CHANGES 2013-03-18 21:35:07.0 +0100 +++ new/six-1.4.1/CHANGES 2013-09-02 15:09:15.0 +0200 @@ -3,6 +3,43 @@ This file lists the changes in each six version. +1.4.1 +- + +- Issue #32: urllib module wrappings don't work when six is not a toplevel file. + +1.4.0 +- + +- Issue #31: Add six.moves mapping for UserString. + +- Pull request #12: Add six.add_metaclass, a decorator for adding a metaclass to + a class. + +- Add six.moves.zip_longest and six.moves.filterfalse, which correspond + respectively to itertools.izip_longest and itertools.ifilterfalse on Python 2 + and itertools.zip_longest and itertools.filterfalse on Python 3. + +- Issue #25: Add the unichr function, which returns a string for a Unicode + codepoint. + +- Issue #26: Add byte2int function, which complements int2byte. + +- Add a PY2 constant with obvious semantics. + +- Add helpers for indexing and iterating over bytes: iterbytes and indexbytes. + +- Add create_bound_method() wrapper. + +- Issue #23: Allow multiple base classes to be passed to with_metaclass. + +- Issue #24: Add six.moves.range alias. This exactly the same as the current + xrange alias. + +- Pull request #5: Create six.moves.urllib, which contains abstractions for a + bunch of things which are in urllib in Python 3 and spread out across urllib, + urllib2, and urlparse in Python 2. + 1.3.0 - @@ -56,7 +93,6 @@ - Issue #3: Add six.moves mappings for filter, map, and zip. - 1.0.0 - @@ -64,7 +100,6 @@ - Expose an API for adding mappings to six.moves. - 1.0 beta 1 -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.3.0/PKG-INFO new/six-1.4.1/PKG-INFO --- old/six-1.3.0/PKG-INFO 2013-03-18 21:40:09.0 +0100 +++ new/six-1.4.1/PKG-INFO 2013-09-02 15:11:53.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: six -Version: 1.3.0 +Version: 1.4.1 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson @@ -11,9 +11,11 @@ writing Python code that is compatible on both Python versions. See the documentation for more information on what is provided. -Six supports Python 2.4+. +Six supports every Python version since 2.4. It is contained in only one Python +file, so it can be easily copied into your project. (The copyright and license +
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2013-07-31 17:24:50 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2013-05-02 11:44:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2013-07-31 17:24:52.0 +0200 @@ -1,0 +2,6 @@ +Tue Jul 30 07:41:52 UTC 2013 - speili...@suse.com + +- Run testsuite +- Build and package HTML documentation + +--- Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.kZosRm/_old 2013-07-31 17:24:52.0 +0200 +++ /var/tmp/diff_new_pack.kZosRm/_new 2013-07-31 17:24:52.0 +0200 @@ -17,16 +17,21 @@ %define modname six -Name: python-%{modname} +Name: python-six Version:1.3.0 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities License:MIT Group: Development/Libraries/Python -Source: http://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz +Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +# Documentation requirements: +BuildRequires: python-Sphinx +# Test requirements: +BuildRequires: python-py +BuildRequires: python-pytest %if 0%{?suse_version} = 1110 %{!?python_sitelib: %global python_sitelib %(python -c from distutils.sysconfig import get_python_lib; print(get_python_lib(1)))} %else @@ -42,18 +47,22 @@ what is provided. %prep -%setup -q -n %{modname}-%{version} +%setup -q -n six-%{version} %build python setup.py build +cd documentation make html rm _build/html/.buildinfo %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +python test_six.py + %files %defattr(-,root,root) -%doc LICENSE README -%{python_sitelib}/%{modname}.py* -%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info +%doc LICENSE README documentation/_build/html +%{python_sitelib}/six.py* +%{python_sitelib}/six-%{version}-py%{py_ver}.egg-info %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2013-06-19 15:55:39 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: Old: python3-six.changes python3-six.spec Other differences: -- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2013-05-02 11:44:55 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2012-09-21 14:56:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2013-05-02 11:44:56.0 +0200 @@ -1,0 +2,14 @@ +Mon Apr 29 11:14:05 UTC 2013 - dmuel...@suse.com + +- update to 1.3.0: + - In six.iter(items/keys/values/lists), passed keyword arguments through to the + underlying method. + - Add six.iterlists(). + - Fix Jython detection. + +--- +Thu Nov 22 14:18:55 UTC 2012 - toddrme2...@gmail.com + +- Removed openSUSE 11.4 spec file workarounds + +--- --- /work/SRC/openSUSE:Factory/python-six/python3-six.changes 2012-11-25 14:04:44.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-six.new/python3-six.changes 2013-05-02 11:44:56.0 +0200 @@ -1,0 +2,9 @@ +Mon Apr 29 11:14:05 UTC 2013 - dmuel...@suse.com + +- update to 1.3.0: + - In six.iter(items/keys/values/lists), passed keyword arguments through to the + underlying method. + - Add six.iterlists(). + - Fix Jython detection. + +--- Old: six-1.2.0.tar.gz New: six-1.3.0.tar.gz Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.Q8hc3c/_old 2013-05-02 11:44:58.0 +0200 +++ /var/tmp/diff_new_pack.Q8hc3c/_new 2013-05-02 11:44:58.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-six # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -18,7 +18,7 @@ %define modname six Name: python-%{modname} -Version:1.2.0 +Version:1.3.0 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities ++ python3-six.spec ++ --- /var/tmp/diff_new_pack.Q8hc3c/_old 2013-05-02 11:44:58.0 +0200 +++ /var/tmp/diff_new_pack.Q8hc3c/_new 2013-05-02 11:44:58.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-six # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -18,7 +18,7 @@ %define modname six Name: python3-%{modname} -Version:1.2.0 +Version:1.3.0 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities ++ six-1.2.0.tar.gz - six-1.3.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.2.0/CHANGES new/six-1.3.0/CHANGES --- old/six-1.2.0/CHANGES 1970-01-01 01:00:00.0 +0100 +++ new/six-1.3.0/CHANGES 2013-03-18 21:35:07.0 +0100 @@ -0,0 +1,72 @@ +Changelog for Six +- + +This file lists the changes in each six version. + +1.3.0 +- + +- Issue #21: Add methods to access the closure and globals of a function. + +- In six.iter(items/keys/values/lists), passed keyword arguments through to the + underlying method. + +- Add six.iterlists(). + +- Issue #20: Fix tests if tkinter is not available. + +- Issue #17: Define callable to be builtin callable when it is available again + in Python 3.2+. + +- Issue #16: Rename Python 2 exec_'s arguments, so casually calling exec_ with + keyword arguments will raise. + +- Issue #14: Put the six.moves package in sys.modules based on the name six is + imported under. + +- Fix Jython detection. + +- Pull request #4: Add email_mime_multipart, email_mime_text, and + email_mime_base to six.moves. + +1.2.0 +- + +- Issue #13: Make iterkeys/itervalues/iteritems return iterators on Python 3 + instead of iterables. + +- Issue #11: Fix maxsize support on Jython. + +- Add six.next() as an alias for six.advance_iterator(). + +- Use the builtin next() function for advance_iterator() where is available + (2.6+), not just Python 3. + +- Add the Iterator class for writing portable iterators. + +1.1.0 +- + +- Add the int2byte function. + +- Add
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2012-11-25 14:04:40 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/python-six/python3-six.changes 2012-09-21 14:56:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python3-six.changes 2012-11-25 14:04:44.0 +0100 @@ -1,0 +2,5 @@ +Thu Nov 22 14:18:55 UTC 2012 - toddrme2...@gmail.com + +- Removed openSUSE 11.4 spec file workarounds + +--- Other differences: -- ++ python3-six.spec ++ --- /var/tmp/diff_new_pack.FWmprf/_old 2012-11-25 14:04:44.0 +0100 +++ /var/tmp/diff_new_pack.FWmprf/_new 2012-11-25 14:04:44.0 +0100 @@ -26,15 +26,10 @@ Group: Development/Libraries/Python Source: http://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python3 BuildRequires: python3-2to3 BuildRequires: python3-devel BuildArch: noarch -%if 0%{?suse_version} = 1140 -%{!?python3_sitelib: %global python3_sitelib %(python3 -c from distutils.sysconfig import get_python_lib; print(get_python_lib()))} -%{!?py3_ver: %global py3_ver %(python3 -c import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version) 2/dev/null || echo PYTHON-NOT-FOUND)} -%endif -Requires: python3 = %{py3_ver} +Requires: python(abi) = %{py3_ver} %description Six is a Python 2 and 3 compatibility library. It provides utility @@ -58,9 +53,5 @@ %doc LICENSE README %{python3_sitelib}/%{modname}.py* %{python3_sitelib}/%{modname}-%{version}-py%{py3_ver}.egg-info -%if 0%{?suse_version} = 1140 -%dir %{python3_sitelib} -%dir %{_prefix}/lib/python%{py3_ver}/ -%endif %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-six for openSUSE:Factory
Hello community, here is the log from the commit of package python-six for openSUSE:Factory checked in at 2012-09-21 14:56:13 Comparing /work/SRC/openSUSE:Factory/python-six (Old) and /work/SRC/openSUSE:Factory/.python-six.new (New) Package is python-six, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/python-six/python-six.changes2012-06-07 15:39:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-six.new/python-six.changes 2012-09-21 14:56:15.0 +0200 @@ -1,0 +2,12 @@ +Wed Sep 12 03:01:59 UTC 2012 - os-...@jacraig.com + +- Update to 1.2.0: + * Issue #13: Make iterkeys/itervalues/iteritems return iterators on Python 3 +instead of iterables. + * Issue #11: Fix maxsize support on Jython. + * Add six.next() as an alias for six.advance_iterator(). + * Use the builtin next() function for advance_iterator() where is available +(2.6+), not just Python 3. + * Add the Iterator class for writing portable iterators. + +--- python3-six.changes: same change Old: six-1.1.0.tar.gz New: six-1.2.0.tar.gz Other differences: -- ++ python-six.spec ++ --- /var/tmp/diff_new_pack.zAjrCQ/_old 2012-09-21 14:56:17.0 +0200 +++ /var/tmp/diff_new_pack.zAjrCQ/_new 2012-09-21 14:56:17.0 +0200 @@ -15,9 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define modname six Name: python-%{modname} -Version:1.1.0 +Version:1.2.0 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities ++ python3-six.spec ++ --- /var/tmp/diff_new_pack.zAjrCQ/_old 2012-09-21 14:56:17.0 +0200 +++ /var/tmp/diff_new_pack.zAjrCQ/_new 2012-09-21 14:56:17.0 +0200 @@ -15,9 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define modname six Name: python3-%{modname} -Version:1.1.0 +Version:1.2.0 Release:0 Url:http://pypi.python.org/pypi/six/ Summary:Python 2 and 3 compatibility utilities ++ six-1.1.0.tar.gz - six-1.2.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.1.0/PKG-INFO new/six-1.2.0/PKG-INFO --- old/six-1.1.0/PKG-INFO 2011-11-23 06:43:15.0 +0100 +++ new/six-1.2.0/PKG-INFO 2012-08-28 21:55:21.0 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 1.0 +Metadata-Version: 1.1 Name: six -Version: 1.1.0 +Version: 1.2.0 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/six-1.1.0/documentation/index.rst new/six-1.2.0/documentation/index.rst --- old/six-1.1.0/documentation/index.rst 2011-10-14 17:36:53.0 +0200 +++ new/six-1.2.0/documentation/index.rst 2012-06-11 18:12:41.0 +0200 @@ -9,7 +9,8 @@ Six provides simple utilities for wrapping over differences between Python 2 and -Python 3. +Python 3. It is intended to support codebases that work on both Python 2 and 3 +without modification. Six can be downloaded on `PyPi http://pypi.python.org/pypi/six/`_. Its bug tracker and code hosting is on `BitBucket http://bitbucket.org/gutworth/six`_. @@ -136,6 +137,7 @@ Get the defaults tuple associated with *func*. +.. function:: next(it) .. function:: advance_iterator(it) Get the next item of iterator *it*. :exc:`py3:StopIteration` is raised if @@ -169,6 +171,17 @@ Python 3. +.. class:: Iterator + + A class for making portable iterators. The intention is that it be subclassed + and subclasses provide a ``__next__`` method. In Python 2, :class:`Iterator` + has one method: ``next``. It simply delegates to ``__next__``. An alternate + way to do this would be to simply alias ``next`` to ``__next__``. However, + this interacts badly with subclasses that override + ``__next__``. :class:`Iterator` is empty on Python 3. (In fact, it is just + aliased to :class:`py3:object`.) + + Syntax compatibility @@ -245,6 +258,15 @@ allows unicode escapes to be used in it. + .. note:: + + In Python 3.3, the ``u`` prefix has been reintroduced. Code that only + supports Python 3 versions greater than 3.3 thus does not need + :func:`u`. Additionally, since all Python versions 2.6 and after support + the ``b`` prefix, :func:`b`, code without 2.5 support doesn't need + :func:`b`. + + .. function:: int2byte(i) Converts *i* to a byte. *i* must be in ``range(0, 256)``. This is @@