commit 86bb1e73e63abcf191f8f0bb8a5a7e700e7b91e8db7d0bceee3a4ead2f1bf788 Author: Adrian Schröter Date: Fri May 3 19:55:14 2024 +0200 Sync from SUSE:SLFO:Main python-PySocks revision ff207bd7b9a2c3b56fa6a6f66a24e2f0 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/PySocks-1.7.1.tar.gz b/PySocks-1.7.1.tar.gz new file mode 100644 index 0000000..46908a0 --- /dev/null +++ b/PySocks-1.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0 +size 284429 diff --git a/python-PySocks.changes b/python-PySocks.changes new file mode 100644 index 0000000..aa18191 --- /dev/null +++ b/python-PySocks.changes @@ -0,0 +1,83 @@ +------------------------------------------------------------------- +Fri Apr 21 12:21:08 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:43:57 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Tue Sep 24 09:48:18 UTC 2019 - Tomáš Chvátal + +- Update to 1.7.1: + * no changelog provided + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +Tue Dec 4 12:52:54 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Thu Dec 21 18:26:53 UTC 2017 - arun@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 + +------------------------------------------------------------------- +Sat Nov 4 02:04:50 UTC 2017 - arun@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 + +------------------------------------------------------------------- +Tue Mar 21 14:00:08 UTC 2017 - jmatejek@suse.com + +- update for singlespec +- update to 1.6.6 + * python 3.6 support + * bug fixes + +------------------------------------------------------------------- +Fri Mar 11 21:15:41 UTC 2016 - toddrme2178@gmail.com + +- Fix license +- Provides/Obsoletes python-SocksiPy, which this is an updated fork + of and conflicts with. + +------------------------------------------------------------------- +Tue Jan 5 15:10:23 UTC 2016 - hpj@urpla.net + +- Version 1.5.6: initial build + diff --git a/python-PySocks.spec b/python-PySocks.spec new file mode 100644 index 0000000..2d23d90 --- /dev/null +++ b/python-PySocks.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-PySocks +# +# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2016 LISA GmbH, Bingen, 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 https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python +%{?sle15_python_module_pythons} +Name: python-PySocks +Version: 1.7.1 +Release: 0 +Summary: A Python SOCKS client module +License: BSD-3-Clause +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 setuptools} +BuildRequires: python-rpm-macros +BuildArch: noarch +%ifpython2 +Provides: %{oldpython}-SocksiPy = %{version} +Obsoletes: %{oldpython}-SocksiPy < %{version} +%endif +%python_subpackages + +%description +A Python SOCKS client module. + +It is an actively maintained SocksiPy fork. Contains many +improvements to the original. + +See https://github.com/Anorov/PySocks for more information. + +%prep +%setup -q -n PySocks-%{version} + +%build +%python_build + +%install +%python_install + +%files %{python_files} +%{python_sitelib}/socks.py* +%{python_sitelib}/sockshandler.py* +%{python_sitelib}/PySocks-%{version}-py*.egg-info +%pycache_only %{python_sitelib}/__pycache__ + +%changelog