commit python-PySocks for openSUSE:Factory
Hello community, here is the log from the commit of package python-PySocks for openSUSE:Factory checked in at 2019-09-30 15:55:11 Comparing /work/SRC/openSUSE:Factory/python-PySocks (Old) and /work/SRC/openSUSE:Factory/.python-PySocks.new.2352 (New) Package is "python-PySocks" Mon Sep 30 15:55:11 2019 rev:7 rq:732897 version:1.7.1 Changes: --- /work/SRC/openSUSE:Factory/python-PySocks/python-PySocks.changes 2019-06-22 11:22:39.861288248 +0200 +++ /work/SRC/openSUSE:Factory/.python-PySocks.new.2352/python-PySocks.changes 2019-09-30 15:55:12.953884560 +0200 @@ -1,0 +2,6 @@ +Tue Sep 24 09:48:18 UTC 2019 - Tomáš Chvátal + +- Update to 1.7.1: + * no changelog provided + +--- Old: PySocks-1.7.0.tar.gz New: PySocks-1.7.1.tar.gz Other differences: -- ++ python-PySocks.spec ++ --- /var/tmp/diff_new_pack.2CNWXx/_old 2019-09-30 15:55:13.413883336 +0200 +++ /var/tmp/diff_new_pack.2CNWXx/_new 2019-09-30 15:55:13.417883325 +0200 @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-PySocks -Version:1.7.0 +Version:1.7.1 Release:0 Summary:A Python SOCKS client module License:BSD-3-Clause ++ PySocks-1.7.0.tar.gz -> PySocks-1.7.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PySocks-1.7.0/PKG-INFO new/PySocks-1.7.1/PKG-INFO --- old/PySocks-1.7.0/PKG-INFO 2019-05-11 12:16:31.0 +0200 +++ new/PySocks-1.7.1/PKG-INFO 2019-09-20 04:06:52.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: PySocks -Version: 1.7.0 +Version: 1.7.1 Summary: A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information. Home-page: https://github.com/Anorov/PySocks Author: Anorov @@ -13,18 +13,14 @@ Acts as a drop-in replacement to the socket module. Seamlessly configure SOCKS proxies for any socket object by calling `socket_object.set_proxy()`. -Status Update -- - -I no longer have the time to actively work on this project. I will gladly accept thoughtful pull requests and continue to update here and on PyPI in response to PRs, but I won't be putting in any changes of my own other than version bumps. If anyone would like to take the project off of my hands, please email me or create an issue. Thanks. - Features * SOCKS proxy client for Python 2.7 and 3.4+ -* TCP and UDP both supported +* TCP supported +* UDP mostly supported (issues may occur in some edge cases) * HTTP proxy client included but not supported or recommended (you should use urllib2's or requests' own HTTP proxy interface) * urllib2 handler included. `pip install` / `setup.py install` will automatically install the `sockshandler` module. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PySocks-1.7.0/PySocks.egg-info/PKG-INFO new/PySocks-1.7.1/PySocks.egg-info/PKG-INFO --- old/PySocks-1.7.0/PySocks.egg-info/PKG-INFO 2019-05-11 12:16:31.0 +0200 +++ new/PySocks-1.7.1/PySocks.egg-info/PKG-INFO 2019-09-20 04:06:52.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: PySocks -Version: 1.7.0 +Version: 1.7.1 Summary: A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information. Home-page: https://github.com/Anorov/PySocks Author: Anorov @@ -13,18 +13,14 @@ Acts as a drop-in replacement to the socket module. Seamlessly configure SOCKS proxies for any socket object by calling `socket_object.set_proxy()`. -Status Update -- - -I no longer have the time to actively work on this project. I will gladly accept thoughtful pull requests and continue to update here and on PyPI in response to PRs, but I won't be putting in any changes of my own other than version bumps. If anyone would like to take the project off of my hands, please email me or create an issue. Thanks. - Features * SOCKS proxy client for Python 2.7 and 3.4+ -* TCP and UDP both supported +* TCP supported +* UDP mostly supported (issues may occur in some edge cases) * HTTP proxy client included but not supported or recommended (you should use urllib2's or requests' own HTTP proxy interface) * urllib2 handler included. `pip
commit python-PySocks for openSUSE:Factory
Hello community, here is the log from the commit of package python-PySocks for openSUSE:Factory checked in at 2019-06-22 11:22:36 Comparing /work/SRC/openSUSE:Factory/python-PySocks (Old) and /work/SRC/openSUSE:Factory/.python-PySocks.new.4615 (New) Package is "python-PySocks" Sat Jun 22 11:22:36 2019 rev:6 rq:710312 version:1.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-PySocks/python-PySocks.changes 2018-12-21 08:19:44.413664288 +0100 +++ /work/SRC/openSUSE:Factory/.python-PySocks.new.4615/python-PySocks.changes 2019-06-22 11:22:39.861288248 +0200 @@ -1,0 +2,13 @@ +Sat Jun 15 15:53:16 UTC 2019 - Arun Persaud + +- specfile: + * update copyright year + * be more specific in %files section + +- update to version 1.7.0: + * (no changelog available) + +- changes from 1.6.8: + * Python 2.7 and 3.4+ only + +--- Old: PySocks-1.6.8.tar.gz New: PySocks-1.7.0.tar.gz Other differences: -- ++ python-PySocks.spec ++ --- /var/tmp/diff_new_pack.rNxUA2/_old 2019-06-22 11:22:41.481290014 +0200 +++ /var/tmp/diff_new_pack.rNxUA2/_new 2019-06-22 11:22:41.513290049 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-PySocks # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -20,22 +20,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-PySocks -Version:1.6.8 +Version:1.7.0 Release:0 Summary:A Python SOCKS client module License:BSD-3-Clause Group: Development/Languages/Python -Url:https://github.com/Anorov/PySocks +URL:https://github.com/Anorov/PySocks Source: https://files.pythonhosted.org/packages/source/P/PySocks/PySocks-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros +BuildArch: noarch %ifpython2 Provides: %{oldpython}-SocksiPy = %{version} Obsoletes: %{oldpython}-SocksiPy < %{version} %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - %python_subpackages %description @@ -56,7 +54,9 @@ %python_install %files %{python_files} -%defattr(-,root,root,-) -%{python_sitelib}/* +%{python_sitelib}/socks.py* +%{python_sitelib}/sockshandler.py* +%{python_sitelib}/PySocks-%{version}-py*.egg-info +%pycache_only %{python_sitelib}/__pycache__ %changelog ++ PySocks-1.6.8.tar.gz -> PySocks-1.7.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PySocks-1.6.8/PKG-INFO new/PySocks-1.7.0/PKG-INFO --- old/PySocks-1.6.8/PKG-INFO 2017-12-21 05:25:34.0 +0100 +++ new/PySocks-1.7.0/PKG-INFO 2019-05-11 12:16:31.0 +0200 @@ -1,14 +1,323 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: PySocks -Version: 1.6.8 +Version: 1.7.0 Summary: A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information. Home-page: https://github.com/Anorov/PySocks Author: Anorov Author-email: anorov.vor...@gmail.com License: BSD -Description: UNKNOWN +Description: PySocks +=== + +PySocks lets you send traffic through SOCKS and HTTP proxy servers. It is a modern fork of [SocksiPy](http://socksipy.sourceforge.net/) with bug fixes and extra features. + +Acts as a drop-in replacement to the socket module. Seamlessly configure SOCKS proxies for any socket object by calling `socket_object.set_proxy()`. + +Status Update +- + +I no longer have the time to actively work on this project. I will gladly accept thoughtful pull requests and continue to update here and on PyPI in response to PRs, but I won't be putting in any changes of my own other than version bumps. If anyone would like to take the project off of my hands, please email me or create an issue. Thanks. + + + +Features + + +* SOCKS proxy client for Python 2.7 and 3.4+ +* TCP and UDP both supported +* HTTP proxy client included but not supported or recommended (you should use urllib2's or requests' own HTTP proxy interface) +* urllib2 handler included. `pip install` / `setup.py install` will automatically install the `sockshandler` module. + +Installation + + +pip install PySocks + +Or download the
commit python-PySocks for openSUSE:Factory
Hello community, here is the log from the commit of package python-PySocks for openSUSE:Factory checked in at 2018-12-21 08:19:43 Comparing /work/SRC/openSUSE:Factory/python-PySocks (Old) and /work/SRC/openSUSE:Factory/.python-PySocks.new.28833 (New) Package is "python-PySocks" Fri Dec 21 08:19:43 2018 rev:5 rq:659307 version:1.6.8 Changes: --- /work/SRC/openSUSE:Factory/python-PySocks/python-PySocks.changes 2017-12-23 12:11:57.837590595 +0100 +++ /work/SRC/openSUSE:Factory/.python-PySocks.new.28833/python-PySocks.changes 2018-12-21 08:19:44.413664288 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:52:54 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-PySocks.spec ++ --- /var/tmp/diff_new_pack.aWnAEU/_old 2018-12-21 08:19:45.201663551 +0100 +++ /var/tmp/diff_new_pack.aWnAEU/_new 2018-12-21 08:19:45.205663547 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-PySocks # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,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/ # @@ -27,7 +27,6 @@ Group: Development/Languages/Python Url:https://github.com/Anorov/PySocks Source: https://files.pythonhosted.org/packages/source/P/PySocks/PySocks-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros %ifpython2
commit python-PySocks for openSUSE:Factory
Hello community, here is the log from the commit of package python-PySocks for openSUSE:Factory checked in at 2017-12-23 12:11:56 Comparing /work/SRC/openSUSE:Factory/python-PySocks (Old) and /work/SRC/openSUSE:Factory/.python-PySocks.new (New) Package is "python-PySocks" Sat Dec 23 12:11:56 2017 rev:4 rq:559160 version:1.6.8 Changes: --- /work/SRC/openSUSE:Factory/python-PySocks/python-PySocks.changes 2017-11-10 14:41:49.361868265 +0100 +++ /work/SRC/openSUSE:Factory/.python-PySocks.new/python-PySocks.changes 2017-12-23 12:11:57.837590595 +0100 @@ -1,0 +2,18 @@ +Thu Dec 21 18:26:53 UTC 2017 - a...@gmx.de + +- specfile: + * update copyright year + +- update to version 1.6.8: + * Remove support for EOL Python 3.3 + * Make create_connection() signature match socket module + * Add python version classifiers + * Include win_inet_pton when installing on Python 2.x under Windows + * fix #937 getpeername() errror while using gevent + * Update README.md + * PEP8 fixes for line length, indentation, line breaks and other +minor issues. + * Normalize quoting. + * Update socks.py + +--- Old: PySocks-1.6.7.tar.gz New: PySocks-1.6.8.tar.gz Other differences: -- ++ python-PySocks.spec ++ --- /var/tmp/diff_new_pack.AMWMSW/_old 2017-12-23 12:11:58.321566997 +0100 +++ /var/tmp/diff_new_pack.AMWMSW/_new 2017-12-23 12:11:58.321566997 +0100 @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-PySocks -Version:1.6.7 +Version:1.6.8 Release:0 Summary:A Python SOCKS client module License:BSD-3-Clause ++ PySocks-1.6.7.tar.gz -> PySocks-1.6.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PySocks-1.6.7/PKG-INFO new/PySocks-1.6.8/PKG-INFO --- old/PySocks-1.6.7/PKG-INFO 2017-03-23 05:11:52.0 +0100 +++ new/PySocks-1.6.8/PKG-INFO 2017-12-21 05:25:34.0 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 1.0 +Metadata-Version: 1.1 Name: PySocks -Version: 1.6.7 +Version: 1.6.8 Summary: A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information. Home-page: https://github.com/Anorov/PySocks Author: Anorov @@ -9,3 +9,6 @@ Description: UNKNOWN Keywords: socks,proxy Platform: UNKNOWN +Classifier: Programming Language :: Python :: 2.6 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PySocks-1.6.7/PySocks.egg-info/PKG-INFO new/PySocks-1.6.8/PySocks.egg-info/PKG-INFO --- old/PySocks-1.6.7/PySocks.egg-info/PKG-INFO 2017-03-23 05:11:51.0 +0100 +++ new/PySocks-1.6.8/PySocks.egg-info/PKG-INFO 2017-12-21 05:25:34.0 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 1.0 +Metadata-Version: 1.1 Name: PySocks -Version: 1.6.7 +Version: 1.6.8 Summary: A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information. Home-page: https://github.com/Anorov/PySocks Author: Anorov @@ -9,3 +9,6 @@ Description: UNKNOWN Keywords: socks,proxy Platform: UNKNOWN +Classifier: Programming Language :: Python :: 2.6 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PySocks-1.6.7/README.md new/PySocks-1.6.8/README.md --- old/PySocks-1.6.7/README.md 2016-05-21 23:53:04.0 +0200 +++ new/PySocks-1.6.8/README.md 2017-12-21 05:05:00.0 +0100 @@ -1,9 +1,14 @@ PySocks === -Updated and semi-actively maintained version of [SocksiPy](http://socksipy.sourceforge.net/), with bug fixes and extra features. +PySocks lets you send traffic through SOCKS and HTTP proxy servers. It is a modern fork of [SocksiPy](http://socksipy.sourceforge.net/) with bug fixes and extra features. -Acts as a drop-in replacement to the socket module. +Acts as a drop-in replacement to the socket module. Seamlessly configure SOCKS proxies for any socket object by calling `socket_object.set_proxy()`. + +Status Update +- + +I no longer have the time to actively work on this project. I will gladly accept thoughtful pull requests and continue to update here and on PyPI in response to PRs, but I won't be putting in any changes of my own other than version bumps. If anyone would like to take the project off of my hands, please email me or create an issue. Thanks. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
commit python-PySocks for openSUSE:Factory
Hello community, here is the log from the commit of package python-PySocks for openSUSE:Factory checked in at 2017-11-10 14:41:12 Comparing /work/SRC/openSUSE:Factory/python-PySocks (Old) and /work/SRC/openSUSE:Factory/.python-PySocks.new (New) Package is "python-PySocks" Fri Nov 10 14:41:12 2017 rev:3 rq:539303 version:1.6.7 Changes: --- /work/SRC/openSUSE:Factory/python-PySocks/python-PySocks.changes 2017-04-20 20:49:00.856387006 +0200 +++ /work/SRC/openSUSE:Factory/.python-PySocks.new/python-PySocks.changes 2017-11-10 14:41:49.361868265 +0100 @@ -1,0 +2,11 @@ +Sat Nov 4 02:04:50 UTC 2017 - a...@gmx.de + +- specfile: + * update copyright year + +- update to version 1.6.7: + * Make SocksiPy legacy functions kwarg-compatible. See issue #71. + * Use setuptools in setup.py to support wheel. See issue #73. + * Test and logging enhancements + +--- Old: PySocks-1.6.6.tar.gz New: PySocks-1.6.7.tar.gz Other differences: -- ++ python-PySocks.spec ++ --- /var/tmp/diff_new_pack.Z9RRVp/_old 2017-11-10 14:41:50.601823444 +0100 +++ /var/tmp/diff_new_pack.Z9RRVp/_new 2017-11-10 14:41:50.601823444 +0100 @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-PySocks -Version:1.6.6 +Version:1.6.7 Release:0 Summary:A Python SOCKS client module License:BSD-3-Clause ++ PySocks-1.6.6.tar.gz -> PySocks-1.6.7.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PySocks-1.6.6/MANIFEST.in new/PySocks-1.6.7/MANIFEST.in --- old/PySocks-1.6.6/MANIFEST.in 1970-01-01 01:00:00.0 +0100 +++ new/PySocks-1.6.7/MANIFEST.in 2016-05-21 23:47:19.0 +0200 @@ -0,0 +1,2 @@ +include README.md LICENSE +recursive-include test * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PySocks-1.6.6/PKG-INFO new/PySocks-1.6.7/PKG-INFO --- old/PySocks-1.6.6/PKG-INFO 2017-01-30 05:00:25.0 +0100 +++ new/PySocks-1.6.7/PKG-INFO 2017-03-23 05:11:52.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: PySocks -Version: 1.6.6 +Version: 1.6.7 Summary: A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information. Home-page: https://github.com/Anorov/PySocks Author: Anorov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PySocks-1.6.6/PySocks.egg-info/PKG-INFO new/PySocks-1.6.7/PySocks.egg-info/PKG-INFO --- old/PySocks-1.6.6/PySocks.egg-info/PKG-INFO 1970-01-01 01:00:00.0 +0100 +++ new/PySocks-1.6.7/PySocks.egg-info/PKG-INFO 2017-03-23 05:11:51.0 +0100 @@ -0,0 +1,11 @@ +Metadata-Version: 1.0 +Name: PySocks +Version: 1.6.7 +Summary: A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information. +Home-page: https://github.com/Anorov/PySocks +Author: Anorov +Author-email: anorov.vor...@gmail.com +License: BSD +Description: UNKNOWN +Keywords: socks,proxy +Platform: UNKNOWN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PySocks-1.6.6/PySocks.egg-info/SOURCES.txt new/PySocks-1.6.7/PySocks.egg-info/SOURCES.txt --- old/PySocks-1.6.6/PySocks.egg-info/SOURCES.txt 1970-01-01 01:00:00.0 +0100 +++ new/PySocks-1.6.7/PySocks.egg-info/SOURCES.txt 2017-03-23 05:11:52.0 +0100 @@ -0,0 +1,15 @@ +LICENSE +MANIFEST.in +README.md +setup.py +socks.py +sockshandler.py +PySocks.egg-info/PKG-INFO +PySocks.egg-info/SOURCES.txt +PySocks.egg-info/dependency_links.txt +PySocks.egg-info/top_level.txt +test/__init__.py +test/test_pysocks.py +test/util.py +test/bin/3proxy +test/bin/3proxy.license \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PySocks-1.6.6/PySocks.egg-info/dependency_links.txt new/PySocks-1.6.7/PySocks.egg-info/dependency_links.txt --- old/PySocks-1.6.6/PySocks.egg-info/dependency_links.txt 1970-01-01 01:00:00.0 +0100 +++ new/PySocks-1.6.7/PySocks.egg-info/dependency_links.txt 2017-03-23 05:11:51.0 +0100 @@ -0,0 +1 @@ + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PySocks-1.6.6/PySocks.egg-info/top_level.txt new/PySocks-1.6.7/PySocks.egg-info/top_level.txt --- old/PySocks-1.6.6/PySocks.egg-info/top_level.txt1970-01-01 01:00:00.0 +0100 +++ new/PySocks-1.6.7/PySocks.egg-info/top_level.txt2017-03-23 05:11:51.0 +0100 @@ -0,0 +1,2 @@ +socks +sockshandler diff -urN '--exclude=CVS'
commit python-PySocks for openSUSE:Factory
Hello community, here is the log from the commit of package python-PySocks for openSUSE:Factory checked in at 2017-04-20 20:48:58 Comparing /work/SRC/openSUSE:Factory/python-PySocks (Old) and /work/SRC/openSUSE:Factory/.python-PySocks.new (New) Package is "python-PySocks" Thu Apr 20 20:48:58 2017 rev:2 rq:481795 version:1.6.6 Changes: --- /work/SRC/openSUSE:Factory/python-PySocks/python-PySocks.changes 2016-03-17 16:47:38.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-PySocks.new/python-PySocks.changes 2017-04-20 20:49:00.856387006 +0200 @@ -1,0 +2,8 @@ +Tue Mar 21 14:00:08 UTC 2017 - jmate...@suse.com + +- update for singlespec +- update to 1.6.6 + * python 3.6 support + * bug fixes + +--- Old: PySocks-1.5.6.tar.gz New: PySocks-1.6.6.tar.gz Other differences: -- ++ python-PySocks.spec ++ --- /var/tmp/diff_new_pack.SzffQa/_old 2017-04-20 20:49:01.412308402 +0200 +++ /var/tmp/diff_new_pack.SzffQa/_new 2017-04-20 20:49:01.416307837 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-PySocks # -# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -14,26 +14,30 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-PySocks -Version:1.5.6 +Version:1.6.6 Release:0 +Summary:A Python SOCKS client module License:BSD-3-Clause -Summary:A Python SOCKS client module. -Url:https://github.com/Anorov/PySocks Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/P/PySocks/PySocks-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools -Provides: python-SocksiPy = %{version} -Obsoletes: python-SocksiPy < %{version} +Url:https://github.com/Anorov/PySocks +Source: https://files.pythonhosted.org/packages/source/P/PySocks/PySocks-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +%ifpython2 +Provides: %{oldpython}-SocksiPy = %{version} +Obsoletes: %{oldpython}-SocksiPy < %{version} +%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 A Python SOCKS client module. @@ -47,12 +51,12 @@ %setup -q -n PySocks-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%files %{python_files} %defattr(-,root,root,-) %{python_sitelib}/* ++ PySocks-1.5.6.tar.gz -> PySocks-1.6.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PySocks-1.5.6/LICENSE new/PySocks-1.6.6/LICENSE --- old/PySocks-1.5.6/LICENSE 1970-01-01 01:00:00.0 +0100 +++ new/PySocks-1.6.6/LICENSE 2015-01-26 03:42:32.0 +0100 @@ -0,0 +1,22 @@ +Copyright 2006 Dan-Haim. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of Dan Haim nor the names of his contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY DAN HAIM "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL DAN HAIM OR HIS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF