commit python-funcsigs for openSUSE:Factory
Hello community, here is the log from the commit of package python-funcsigs for openSUSE:Factory checked in at 2018-08-20 16:16:36 Comparing /work/SRC/openSUSE:Factory/python-funcsigs (Old) and /work/SRC/openSUSE:Factory/.python-funcsigs.new (New) Package is "python-funcsigs" Mon Aug 20 16:16:36 2018 rev:5 rq:628868 version:1.0.2 Changes: --- /work/SRC/openSUSE:Factory/python-funcsigs/python-funcsigs.changes 2017-09-12 19:38:52.454438364 +0200 +++ /work/SRC/openSUSE:Factory/.python-funcsigs.new/python-funcsigs.changes 2018-08-20 16:16:38.308587403 +0200 @@ -1,0 +2,6 @@ +Mon Aug 13 08:18:00 UTC 2018 - mc...@suse.com + +- Remove dependency on unittest2 (SUSE only) + Add remove_unittest2.patch to faciliate that. + +--- New: remove_unittest2.patch Other differences: -- ++ python-funcsigs.spec ++ --- /var/tmp/diff_new_pack.2Lvlrn/_old 2018-08-20 16:16:40.336590253 +0200 +++ /var/tmp/diff_new_pack.2Lvlrn/_new 2018-08-20 16:16:40.344590264 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-funcsigs # -# 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 @@ -22,13 +22,14 @@ Summary:Python function signatures from PEP362 License:Apache-2.0 Group: Development/Languages/Python -Url:http://funcsigs.readthedocs.org +URL:http://funcsigs.readthedocs.org Source: https://files.pythonhosted.org/packages/source/f/funcsigs/funcsigs-%{version}.tar.gz +# PATCH-FEATURE-OPENSUSE mc...@suse.com -- remove unittest2 dependency +Patch0: remove_unittest2.patch BuildRequires: fdupes BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRequires: python-unittest2 BuildRequires: python-rpm-macros +BuildRequires: python-setuptools Provides: python2-funcsigs = %{version} BuildArch: noarch @@ -38,6 +39,7 @@ %prep %setup -q -n funcsigs-%{version} +%patch0 -p1 %build %python2_build @@ -50,8 +52,8 @@ python2 setup.py test %files -%defattr(-,root,root,-) -%doc CHANGELOG LICENSE README.rst +%license LICENSE +%doc CHANGELOG README.rst %{python2_sitelib}/* %changelog ++ remove_unittest2.patch ++ --- a/setup.py +++ b/setup.py @@ -47,6 +47,5 @@ setup( 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development :: Libraries :: Python Modules' ], -tests_require = ['unittest2'], -test_suite = 'unittest2.collector', +test_suite = 'tests', ) --- a/tests/test_formatannotation.py +++ b/tests/test_formatannotation.py @@ -1,6 +1,6 @@ import funcsigs -import unittest2 as unittest +import unittest class TestFormatAnnotation(unittest.TestCase): def test_string (self): --- a/tests/test_funcsigs.py +++ b/tests/test_funcsigs.py @@ -1,4 +1,4 @@ -import unittest2 as unittest +import unittest import doctest import sys --- a/tests/test_inspect.py +++ b/tests/test_inspect.py @@ -4,10 +4,13 @@ import collections import functools import sys -import unittest2 as unittest +import unittest import funcsigs as inspect +if not hasattr(unittest, 'assertRaisesRegex'): +setattr(unittest.TestCase, 'assertRaisesRegex', +unittest.TestCase.assertRaisesRegexp) class TestSignatureObject(unittest.TestCase): @staticmethod
commit python-funcsigs for openSUSE:Factory
Hello community, here is the log from the commit of package python-funcsigs for openSUSE:Factory checked in at 2017-09-12 19:38:51 Comparing /work/SRC/openSUSE:Factory/python-funcsigs (Old) and /work/SRC/openSUSE:Factory/.python-funcsigs.new (New) Package is "python-funcsigs" Tue Sep 12 19:38:51 2017 rev:4 rq:522056 version:1.0.2 Changes: --- /work/SRC/openSUSE:Factory/python-funcsigs/python-funcsigs.changes 2016-06-29 15:02:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-funcsigs.new/python-funcsigs.changes 2017-09-12 19:38:52.454438364 +0200 @@ -1,0 +2,14 @@ +Thu Sep 7 16:01:56 UTC 2017 - toddrme2...@gmail.com + +- Revert single-spec conversion. + This is a backport package, it shouldn't be used with python3. +- Use provides python2-funcsigs for compatibility with single-spec + packages. +- Use some newer macros. + +--- +Mon May 22 09:18:14 UTC 2017 - tbecht...@suse.com + +- Convert to singlespec + +--- Other differences: -- ++ python-funcsigs.spec ++ --- /var/tmp/diff_new_pack.NAvs87/_old 2017-09-12 19:38:53.038356302 +0200 +++ /var/tmp/diff_new_pack.NAvs87/_new 2017-09-12 19:38:53.042355740 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-funcsigs # -# 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 @@ -23,38 +23,35 @@ License:Apache-2.0 Group: Development/Languages/Python Url:http://funcsigs.readthedocs.org -Source: https://pypi.io/packages/source/f/funcsigs/funcsigs-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/f/funcsigs/funcsigs-%{version}.tar.gz +BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: python-unittest2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -BuildRequires: python-ordereddict -%else +BuildRequires: python-rpm-macros +Provides: python2-funcsigs = %{version} BuildArch: noarch -%endif %description -funcsigs is a backport of the PEP 362 function signature features from -Python 3.3's inspect module. The backport is compatible with Python 2.6, 2.7 -as well as 3.2 and up. +The funcsigs package is a backport of the PEP 362 function signature +features from Python 3.3's inspect module. %prep %setup -q -n funcsigs-%{version} %build -python setup.py build +%python2_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python2_install +%fdupes %{buildroot}%{python2_sitelib} %check -python setup.py test +python2 setup.py test %files %defattr(-,root,root,-) %doc CHANGELOG LICENSE README.rst -%{python_sitelib}/* +%{python2_sitelib}/* %changelog
commit python-funcsigs for openSUSE:Factory
Hello community, here is the log from the commit of package python-funcsigs for openSUSE:Factory checked in at 2016-06-29 15:02:37 Comparing /work/SRC/openSUSE:Factory/python-funcsigs (Old) and /work/SRC/openSUSE:Factory/.python-funcsigs.new (New) Package is "python-funcsigs" Changes: --- /work/SRC/openSUSE:Factory/python-funcsigs/python-funcsigs.changes 2016-06-05 14:18:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-funcsigs.new/python-funcsigs.changes 2016-06-29 15:02:38.0 +0200 @@ -1,0 +2,5 @@ +Thu Jun 16 09:44:43 UTC 2016 - aloi...@gmx.com + +- Fixed SLE11 build + +--- Other differences: -- ++ python-funcsigs.spec ++ --- /var/tmp/diff_new_pack.LCUd4u/_old 2016-06-29 15:02:39.0 +0200 +++ /var/tmp/diff_new_pack.LCUd4u/_new 2016-06-29 15:02:39.0 +0200 @@ -30,6 +30,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +BuildRequires: python-ordereddict %else BuildArch: noarch %endif
commit python-funcsigs for openSUSE:Factory
Hello community, here is the log from the commit of package python-funcsigs for openSUSE:Factory checked in at 2016-06-05 14:18:21 Comparing /work/SRC/openSUSE:Factory/python-funcsigs (Old) and /work/SRC/openSUSE:Factory/.python-funcsigs.new (New) Package is "python-funcsigs" Changes: --- /work/SRC/openSUSE:Factory/python-funcsigs/python-funcsigs.changes 2015-08-07 00:22:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-funcsigs.new/python-funcsigs.changes 2016-06-05 14:18:22.0 +0200 @@ -1,0 +2,7 @@ +Thu Jun 2 07:39:23 UTC 2016 - tbecht...@suse.com + +- update to 1.0.2: + No changelog provided. +- use pypi.io as Source url + +--- Old: funcsigs-0.4.tar.gz New: funcsigs-1.0.2.tar.gz Other differences: -- ++ python-funcsigs.spec ++ --- /var/tmp/diff_new_pack.Nv5FVx/_old 2016-06-05 14:18:23.0 +0200 +++ /var/tmp/diff_new_pack.Nv5FVx/_new 2016-06-05 14:18:23.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-funcsigs # -# 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 @@ -17,13 +17,13 @@ Name: python-funcsigs -Version:0.4 +Version:1.0.2 Release:0 Summary:Python function signatures from PEP362 License:Apache-2.0 Group: Development/Languages/Python Url:http://funcsigs.readthedocs.org -Source: https://pypi.python.org/packages/source/f/funcsigs/funcsigs-%{version}.tar.gz +Source: https://pypi.io/packages/source/f/funcsigs/funcsigs-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: python-unittest2 ++ funcsigs-0.4.tar.gz -> funcsigs-1.0.2.tar.gz ++ 2146 lines of diff (skipped)