commit python-socketpool for openSUSE:Factory
Hello community, here is the log from the commit of package python-socketpool for openSUSE:Factory checked in at 2019-04-05 11:56:56 Comparing /work/SRC/openSUSE:Factory/python-socketpool (Old) and /work/SRC/openSUSE:Factory/.python-socketpool.new.3908 (New) Package is "python-socketpool" Fri Apr 5 11:56:56 2019 rev:15 rq:687603 version:0.5.3 Changes: --- /work/SRC/openSUSE:Factory/python-socketpool/python-socketpool.changes 2018-12-24 11:44:05.081308895 +0100 +++ /work/SRC/openSUSE:Factory/.python-socketpool.new.3908/python-socketpool.changes 2019-04-05 11:56:57.834349458 +0200 @@ -1,0 +2,5 @@ +Thu Mar 7 11:17:45 UTC 2019 - Tomáš Chvátal + +- Fix the test call macro expansion + +--- Other differences: -- ++ python-socketpool.spec ++ --- /var/tmp/diff_new_pack.f8uUoQ/_old 2019-04-05 11:56:58.610350010 +0200 +++ /var/tmp/diff_new_pack.f8uUoQ/_new 2019-04-05 11:56:58.614350013 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-socketpool # -# 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 @@ -57,9 +57,7 @@ %if %{with test} %check -%{python_expand export PYTHONPATH=%{buildroot}%{python_sitelib} -py.test-%{$python_bin_suffix} -} +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} %endif %files %{python_files}
commit python-socketpool for openSUSE:Factory
Hello community, here is the log from the commit of package python-socketpool for openSUSE:Factory checked in at 2018-12-24 11:44:03 Comparing /work/SRC/openSUSE:Factory/python-socketpool (Old) and /work/SRC/openSUSE:Factory/.python-socketpool.new.28833 (New) Package is "python-socketpool" Mon Dec 24 11:44:03 2018 rev:14 rq:659678 version:0.5.3 Changes: --- /work/SRC/openSUSE:Factory/python-socketpool/python-socketpool.changes 2017-09-07 22:16:04.630767662 +0200 +++ /work/SRC/openSUSE:Factory/.python-socketpool.new.28833/python-socketpool.changes 2018-12-24 11:44:05.081308895 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:54:27 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-socketpool.spec ++ --- /var/tmp/diff_new_pack.HPjwWD/_old 2018-12-24 11:44:05.477308545 +0100 +++ /var/tmp/diff_new_pack.HPjwWD/_new 2018-12-24 11:44:05.477308545 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-socketpool # -# 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,21 +24,19 @@ Summary:Python socket pool License:MIT Group: Development/Languages/Python -Url:http://github.com/benoitc/socketpool +URL:http://github.com/benoitc/socketpool Source: https://files.pythonhosted.org/packages/source/s/socketpool/socketpool-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildRequires: python3-2to3 +Recommends: python-eventlet +Recommends: python-gevent +BuildArch: noarch %if %{with test} BuildRequires: %{python_module eventlet} BuildRequires: %{python_module gevent} BuildRequires: %{python_module pytest} %endif -Recommends: python-eventlet -Recommends: python-gevent -BuildArch: noarch - %python_subpackages %description @@ -65,8 +63,8 @@ %endif %files %{python_files} -%defattr(-,root,root,-) -%doc README.rst *LICENSE +%license *LICENSE +%doc README.rst %doc examples/ %{python_sitelib}/*
commit python-socketpool for openSUSE:Factory
Hello community, here is the log from the commit of package python-socketpool for openSUSE:Factory checked in at 2017-09-07 22:15:39 Comparing /work/SRC/openSUSE:Factory/python-socketpool (Old) and /work/SRC/openSUSE:Factory/.python-socketpool.new (New) Package is "python-socketpool" Thu Sep 7 22:15:39 2017 rev:13 rq:521507 version:0.5.3 Changes: --- /work/SRC/openSUSE:Factory/python-socketpool/python-socketpool.changes 2017-09-05 15:17:52.642826891 +0200 +++ /work/SRC/openSUSE:Factory/.python-socketpool.new/python-socketpool.changes 2017-09-07 22:16:04.630767662 +0200 @@ -1,0 +2,5 @@ +Tue Sep 5 12:22:32 UTC 2017 - jeng...@inai.de + +- Ensure neutrality and fix orthographic error in description. + +--- Other differences: -- ++ python-socketpool.spec ++ --- /var/tmp/diff_new_pack.23gV7H/_old 2017-09-07 22:16:05.130697214 +0200 +++ /var/tmp/diff_new_pack.23gV7H/_new 2017-09-07 22:16:05.134696650 +0200 @@ -42,8 +42,8 @@ %python_subpackages %description -Socket pool is a simple socket pool that suports multiple factories and -backends. It can easily be used by gevent, eventlet or any other library. +Socket pool is a socket pool that supports multiple factories and +backends. It can be used by gevent, eventlet or any other library. %prep %setup -q -n socketpool-%{version}
commit python-socketpool for openSUSE:Factory
Hello community, here is the log from the commit of package python-socketpool for openSUSE:Factory checked in at 2017-09-05 15:17:43 Comparing /work/SRC/openSUSE:Factory/python-socketpool (Old) and /work/SRC/openSUSE:Factory/.python-socketpool.new (New) Package is "python-socketpool" Tue Sep 5 15:17:43 2017 rev:12 rq:520816 version:0.5.3 Changes: --- /work/SRC/openSUSE:Factory/python-socketpool/python-socketpool.changes 2015-12-03 13:30:15.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-socketpool.new/python-socketpool.changes 2017-09-05 15:17:52.642826891 +0200 @@ -1,0 +2,5 @@ +Thu Aug 24 13:55:08 UTC 2017 - jmate...@suse.com + +- singlespec auto-conversion + +--- @@ -29,0 +35 @@ + Other differences: -- ++ python-socketpool.spec ++ --- /var/tmp/diff_new_pack.wdB36Y/_old 2017-09-05 15:17:55.386441239 +0200 +++ /var/tmp/diff_new_pack.wdB36Y/_new 2017-09-05 15:17:55.390440677 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-socketpool # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,8 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with test Name: python-socketpool Version:0.5.3 Release:0 @@ -23,19 +25,21 @@ License:MIT Group: Development/Languages/Python Url:http://github.com/benoitc/socketpool -Source: http://pypi.python.org/packages/source/s/socketpool/socketpool-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-nose -%if 0%{?suse_version} +Source: https://files.pythonhosted.org/packages/source/s/socketpool/socketpool-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +BuildRequires: python3-2to3 +%if %{with test} +BuildRequires: %{python_module eventlet} +BuildRequires: %{python_module gevent} +BuildRequires: %{python_module pytest} +%endif Recommends: python-eventlet Recommends: python-gevent -%endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif + +%python_subpackages %description Socket pool is a simple socket pool that suports multiple factories and @@ -45,19 +49,25 @@ %setup -q -n socketpool-%{version} %build -python setup.py build +export LANG=en_US.UTF-8 +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +export LANG=en_US.UTF-8 +%python_install rm -r %{buildroot}%{_prefix}/socketpool # Remove wrongly installed docs -# Fail for instance -#%check -#nosetests +%if %{with test} +%check +%{python_expand export PYTHONPATH=%{buildroot}%{python_sitelib} +py.test-%{$python_bin_suffix} +} +%endif -%files +%files %{python_files} %defattr(-,root,root,-) -%doc README.rst *LICENSE examples +%doc README.rst *LICENSE +%doc examples/ %{python_sitelib}/* %changelog
commit python-socketpool for openSUSE:Factory
Hello community, here is the log from the commit of package python-socketpool for openSUSE:Factory checked in at 2015-12-03 13:30:13 Comparing /work/SRC/openSUSE:Factory/python-socketpool (Old) and /work/SRC/openSUSE:Factory/.python-socketpool.new (New) Package is "python-socketpool" Changes: --- /work/SRC/openSUSE:Factory/python-socketpool/python-socketpool.changes 2013-11-26 19:35:14.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-socketpool.new/python-socketpool.changes 2015-12-03 13:30:15.0 +0100 @@ -1,0 +2,6 @@ +Thu Jul 16 15:47:17 UTC 2015 - seife+...@b1-systems.com + +- fix build on non-SUSE distros whose rpm does not know Recommends: +- remove leftover encoding.patch + +--- Old: encoding.patch Other differences: -- ++ python-socketpool.spec ++ --- /var/tmp/diff_new_pack.9eicab/_old 2015-12-03 13:30:16.0 +0100 +++ /var/tmp/diff_new_pack.9eicab/_new 2015-12-03 13:30:16.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-socketpool # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,8 +26,10 @@ Source: http://pypi.python.org/packages/source/s/socketpool/socketpool-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-nose +%if 0%{?suse_version} Recommends: python-eventlet Recommends: python-gevent +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
commit python-socketpool for openSUSE:Factory
Hello community, here is the log from the commit of package python-socketpool for openSUSE:Factory checked in at 2013-11-26 19:35:13 Comparing /work/SRC/openSUSE:Factory/python-socketpool (Old) and /work/SRC/openSUSE:Factory/.python-socketpool.new (New) Package is python-socketpool Changes: --- /work/SRC/openSUSE:Factory/python-socketpool/python-socketpool.changes 2013-01-20 08:18:10.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-socketpool.new/python-socketpool.changes 2013-11-26 19:35:14.0 +0100 @@ -1,0 +2,6 @@ +Tue Nov 19 15:54:47 UTC 2013 - p.drou...@gmail.com + +- Update to version 0.5.3 + + No changelog available + +--- Old: socketpool-0.5.2.tar.gz New: socketpool-0.5.3.tar.gz Other differences: -- ++ python-socketpool.spec ++ --- /var/tmp/diff_new_pack.dog70Q/_old 2013-11-26 19:35:14.0 +0100 +++ /var/tmp/diff_new_pack.dog70Q/_new 2013-11-26 19:35:14.0 +0100 @@ -17,7 +17,7 @@ Name: python-socketpool -Version:0.5.2 +Version:0.5.3 Release:0 Summary:Python socket pool License:MIT ++ socketpool-0.5.2.tar.gz - socketpool-0.5.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/socketpool-0.5.2/PKG-INFO new/socketpool-0.5.3/PKG-INFO --- old/socketpool-0.5.2/PKG-INFO 2012-08-05 06:34:47.0 +0200 +++ new/socketpool-0.5.3/PKG-INFO 2013-08-30 17:23:10.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: socketpool -Version: 0.5.2 +Version: 0.5.3 Summary: Python socket pool Home-page: http://github.com/benoitc/socketpool Author: UNKNOWN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/socketpool-0.5.2/examples/test_gevent.py new/socketpool-0.5.3/examples/test_gevent.py --- old/socketpool-0.5.2/examples/test_gevent.py2012-08-05 05:47:57.0 +0200 +++ new/socketpool-0.5.3/examples/test_gevent.py2013-08-30 17:04:57.0 +0200 @@ -33,7 +33,7 @@ def runpool(data): with pool.connection(**options) as conn: -print (conn: pool size: %s % pool.size()) +print (conn: pool size: %s % pool.size) sent = conn.send(data) echo_data = conn.recv(1024) @@ -45,13 +45,13 @@ gevent.joinall(jobs) delay = time.time() - start -print (final pool size: %s % pool.size()) +print (final pool size: %s % pool.size) with pool.connection(**options) as conn: -print (conn: pool size: %s % pool.size()) +print (conn: pool size: %s % pool.size) sent = conn.send(hello) echo_data = conn.recv(1024) assert hello == echo_data -print (final pool size: %s % pool.size()) +print (final pool size: %s % pool.size) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/socketpool-0.5.2/examples/test_threaded.py new/socketpool-0.5.3/examples/test_threaded.py --- old/socketpool-0.5.2/examples/test_threaded.py 2012-08-05 06:32:36.0 +0200 +++ new/socketpool-0.5.3/examples/test_threaded.py 2013-08-30 17:04:57.0 +0200 @@ -72,7 +72,7 @@ break try: with pool.connection() as conn: -print(conn: pool size: %s % pool.size()) +print(conn: pool size: %s % pool.size) sent = conn.send(data) echo = conn.recv(1024) print(got %s % data) @@ -91,7 +91,7 @@ q.join() -print (final pool size: %s % pool.size()) +print (final pool size: %s % pool.size) pool.release_all() server.shutdown() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/socketpool-0.5.2/setup.py new/socketpool-0.5.3/setup.py --- old/socketpool-0.5.2/setup.py 2012-08-05 06:33:47.0 +0200 +++ new/socketpool-0.5.3/setup.py 2013-08-30 17:04:57.0 +0200 @@ -32,7 +32,7 @@ setup(name='socketpool', - version='0.5.2', + version='0.5.3', description = 'Python socket pool', long_description = long_description, classifiers = CLASSIFIERS, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/socketpool-0.5.2/socketpool/pool.py new/socketpool-0.5.3/socketpool/pool.py --- old/socketpool-0.5.2/socketpool/pool.py 2012-08-05 06:22:13.0 +0200 +++ new/socketpool-0.5.3/socketpool/pool.py 2013-08-30 17:04:57.0 +0200 @@ -46,10 +46,15 @@ retry_max=3,
commit python-socketpool for openSUSE:Factory
Hello community, here is the log from the commit of package python-socketpool for openSUSE:Factory checked in at 2013-06-19 15:56:38 Comparing /work/SRC/openSUSE:Factory/python-socketpool (Old) and /work/SRC/openSUSE:Factory/.python-socketpool.new (New) Package is python-socketpool Changes: Old: python3-socketpool.changes python3-socketpool.spec Other differences: -- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-socketpool for openSUSE:Factory
Hello community, here is the log from the commit of package python-socketpool for openSUSE:Factory checked in at 2013-04-16 06:56:18 Comparing /work/SRC/openSUSE:Factory/python-socketpool (Old) and /work/SRC/openSUSE:Factory/.python-socketpool.new (New) Package is python-socketpool, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/python-socketpool/python3-socketpool.changes 2013-04-08 14:55:25.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-socketpool.new/python3-socketpool.changes 2013-04-16 06:56:20.0 +0200 @@ -1,0 +2,8 @@ +Fri Apr 12 11:13:01 UTC 2013 - toddrme2...@gmail.com + +- Added requires and buildrequires python3. It will not work + properly without them on openSUSE 12.3 +- Disable building for python3 = 3.2, since it is not compatible + with those versions + +--- Other differences: -- ++ python3-socketpool.spec ++ --- /var/tmp/diff_new_pack.5Ki1Xz/_old 2013-04-16 06:56:21.0 +0200 +++ /var/tmp/diff_new_pack.5Ki1Xz/_new 2013-04-16 06:56:21.0 +0200 @@ -25,9 +25,11 @@ Url:http://github.com/benoitc/socketpool Source: http://pypi.python.org/packages/source/s/socketpool/socketpool-%{version}.tar.gz Patch0: encoding.patch +BuildRequires: python3 = 3.2 BuildRequires: python3-2to3 BuildRequires: python3-devel BuildRequires: python3-nose +Requires: python3 = 3.2 Recommends: python3-eventlet Recommends: python3-gevent BuildRoot: %{_tmppath}/%{name}-%{version}-build -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-socketpool for openSUSE:Factory
Hello community, here is the log from the commit of package python-socketpool for openSUSE:Factory checked in at 2013-04-08 14:55:24 Comparing /work/SRC/openSUSE:Factory/python-socketpool (Old) and /work/SRC/openSUSE:Factory/.python-socketpool.new (New) Package is python-socketpool, Maintainer is Changes: New Changes file: --- /dev/null 2013-04-05 00:01:41.916011506 +0200 +++ /work/SRC/openSUSE:Factory/.python-socketpool.new/python3-socketpool.changes 2013-04-08 14:55:25.0 +0200 @@ -0,0 +1,5 @@ +--- +Thu Mar 28 20:50:49 UTC 2013 - a...@gmx.de + +- added python3 version from 2.7 spec file + New: encoding.patch python3-socketpool.changes python3-socketpool.spec Other differences: -- ++ python-socketpool.spec ++ --- /var/tmp/diff_new_pack.AYq96w/_old 2013-04-08 14:55:26.0 +0200 +++ /var/tmp/diff_new_pack.AYq96w/_new 2013-04-08 14:55:26.0 +0200 @@ -11,17 +11,18 @@ # 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-socketpool Version:0.5.2 Release:0 -License:MIT Summary:Python socket pool -Url:http://github.com/benoitc/socketpool +License:MIT Group: Development/Languages/Python +Url:http://github.com/benoitc/socketpool Source: http://pypi.python.org/packages/source/s/socketpool/socketpool-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-nose ++ python3-socketpool.spec ++ # # spec file for package python3-socketpool # # 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 # 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: python3-socketpool Version:0.5.2 Release:0 Summary:Python socket pool License:MIT Group: Development/Languages/Python Url:http://github.com/benoitc/socketpool Source: http://pypi.python.org/packages/source/s/socketpool/socketpool-%{version}.tar.gz Patch0: encoding.patch BuildRequires: python3-2to3 BuildRequires: python3-devel BuildRequires: python3-nose Recommends: python3-eventlet Recommends: python3-gevent BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Socket pool is a simple socket pool that suports multiple factories and backends. It can easily be used by gevent, eventlet or any other library. %prep %setup -q -n socketpool-%{version} %patch0 %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} rm -r %{buildroot}%{_prefix}/socketpool # Remove wrongly installed docs # Fail for instance #%check #nosetests %files %defattr(-,root,root,-) %doc README.rst *LICENSE examples %{python3_sitelib}/* %changelog ++ encoding.patch ++ --- setup.py2012-08-04 21:33:47.0 -0700 +++ setup.py.new2013-03-28 14:03:07.254793283 -0700 @@ -22,7 +22,7 @@ # read long description -with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f: +with open(os.path.join(os.path.dirname(__file__), 'README.rst'),encoding='utf-8') as f: long_description = f.read() DATA_FILES = [ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-socketpool for openSUSE:Factory
Hello community, here is the log from the commit of package python-socketpool for openSUSE:Factory checked in at 2013-01-20 08:18:08 Comparing /work/SRC/openSUSE:Factory/python-socketpool (Old) and /work/SRC/openSUSE:Factory/.python-socketpool.new (New) Package is python-socketpool, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/python-socketpool/python-socketpool.changes 2012-03-20 11:34:15.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-socketpool.new/python-socketpool.changes 2013-01-20 08:18:10.0 +0100 @@ -1,0 +2,8 @@ +Tue Jan 15 19:48:16 UTC 2013 - p.drou...@gmail.com + +- Update to version 0.5.2: + * make sure the example works under all supported python's vms + * fix example under python 3 + * fix priority queue initialization on pypy + +--- Old: socketpool-0.3.0.tar.gz New: socketpool-0.5.2.tar.gz Other differences: -- ++ python-socketpool.spec ++ --- /var/tmp/diff_new_pack.EVtDXO/_old 2013-01-20 08:18:15.0 +0100 +++ /var/tmp/diff_new_pack.EVtDXO/_new 2013-01-20 08:18:15.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-socketpool # -# 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 @@ -16,7 +16,7 @@ # Name: python-socketpool -Version:0.3.0 +Version:0.5.2 Release:0 License:MIT Summary:Python socket pool @@ -48,8 +48,9 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} rm -r %{buildroot}%{_prefix}/socketpool # Remove wrongly installed docs -%check -nosetests +# Fail for instance +#%check +#nosetests %files %defattr(-,root,root,-) ++ socketpool-0.3.0.tar.gz - socketpool-0.5.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/socketpool-0.3.0/MANIFEST.in new/socketpool-0.5.2/MANIFEST.in --- old/socketpool-0.3.0/MANIFEST.in2012-01-25 16:25:06.0 +0100 +++ new/socketpool-0.5.2/MANIFEST.in2012-08-05 05:47:57.0 +0200 @@ -4,3 +4,4 @@ include THANKS include UNLICENSE recursive-include examples * +recursive-include tests * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/socketpool-0.3.0/PKG-INFO new/socketpool-0.5.2/PKG-INFO --- old/socketpool-0.3.0/PKG-INFO 2012-01-31 08:52:34.0 +0100 +++ new/socketpool-0.5.2/PKG-INFO 2012-08-05 06:34:47.0 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 1.0 +Metadata-Version: 1.1 Name: socketpool -Version: 0.3.0 +Version: 0.5.2 Summary: Python socket pool Home-page: http://github.com/benoitc/socketpool Author: UNKNOWN @@ -79,13 +79,17 @@ class TcpConnector(Connector): -def __init__(self, host, port, backend_mod): +def __init__(self, host, port, backend_mod, pool=None): self._s = backend_mod.Socket(socket.AF_INET, socket.SOCK_STREAM) self._s.connect((host, port)) self.host = host self.port = port self._connected = True self._life = time.time() +self._pool = pool + +def __del__(self): +self.release() def matches(self, **match_options): target_host = match_options.get('host') @@ -107,6 +111,13 @@ self._connected = False self._life = -1 +def release(self): +if self._pool is not None: +if self._connected: +self._pool.release_connection(self) +else: +self._pool = None + def send(self, data): return self._s.send(data) @@ -134,4 +145,7 @@ Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2.6 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Software Development :: Libraries diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/socketpool-0.3.0/README.rst new/socketpool-0.5.2/README.rst ---
commit python-socketpool for openSUSE:Factory
Hello community, here is the log from the commit of package python-socketpool for openSUSE:Factory checked in at 2012-03-20 11:34:14 Comparing /work/SRC/openSUSE:Factory/python-socketpool (Old) and /work/SRC/openSUSE:Factory/.python-socketpool.new (New) Package is python-socketpool, Maintainer is Changes: New Changes file: --- /dev/null 2012-03-17 10:42:43.883537212 +0100 +++ /work/SRC/openSUSE:Factory/.python-socketpool.new/python-socketpool.changes 2012-03-20 11:34:15.0 +0100 @@ -0,0 +1,10 @@ +--- +Wed Mar 14 10:33:50 UTC 2012 - sasc...@suse.de + +- Ran spec-cleaner + +--- +Thu Feb 2 10:03:09 UTC 2012 - sasc...@suse.de + +- Initial version + New: python-socketpool.changes python-socketpool.spec socketpool-0.3.0.tar.gz Other differences: -- ++ python-socketpool.spec ++ # # spec file for package python-socketpool # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An Open Source License is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-socketpool Version:0.3.0 Release:0 License:MIT Summary:Python socket pool Url:http://github.com/benoitc/socketpool Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/s/socketpool/socketpool-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-nose Recommends: python-eventlet Recommends: python-gevent BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} 0%{?suse_version} = 1110 %{!?python_sitelib: %global python_sitelib %(python -c from distutils.sysconfig import get_python_lib; print get_python_lib())} %else BuildArch: noarch %endif %description Socket pool is a simple socket pool that suports multiple factories and backends. It can easily be used by gevent, eventlet or any other library. %prep %setup -q -n socketpool-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} rm -r %{buildroot}%{_prefix}/socketpool # Remove wrongly installed docs %check nosetests %files %defattr(-,root,root,-) %doc README.rst *LICENSE examples %{python_sitelib}/* %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org