From aafa534bec3bcead6404c67857e7063e26f88653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 15 Jul 2024 12:57:53 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-pysocks revision b0e2c0b212001cfa75b1e5c4f5e9bd2b --- .gitattributes | 23 +++++++++++ PySocks-1.7.1.tar.gz | 3 ++ saltbundlepy-pysocks.changes | 77 ++++++++++++++++++++++++++++++++++++ saltbundlepy-pysocks.spec | 66 +++++++++++++++++++++++++++++++ 4 files changed, 169 insertions(+) create mode 100644 .gitattributes create mode 100644 PySocks-1.7.1.tar.gz create mode 100644 saltbundlepy-pysocks.changes create mode 100644 saltbundlepy-pysocks.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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..2f8aad1 --- /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/saltbundlepy-pysocks.changes b/saltbundlepy-pysocks.changes new file mode 100644 index 0000000..787934d --- /dev/null +++ b/saltbundlepy-pysocks.changes @@ -0,0 +1,77 @@ +------------------------------------------------------------------- +Fri Dec 15 15:23:33 UTC 2023 - Victor Zhestkov + +- Update to 1.7.1: + * no changelog provided + +- Update to 1.7.0: + * no changelog provided + +- changes from 1.6.8: + * Python 2.7 and 3.4+ only + +- Removed: + * fix-deprecated-collections.patch + +------------------------------------------------------------------- +Mon Apr 4 12:58:01 UTC 2022 - Victor Zhestkov + +- Strictly require Python 3.10 with saltbundlepy requrement + +------------------------------------------------------------------- +Fri Oct 22 12:55:55 UTC 2021 - Victor Zhestkov + +- Stop using deprecated collections module + +- Added: + * fix-deprecated-collections.patch + +------------------------------------------------------------------- +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/saltbundlepy-pysocks.spec b/saltbundlepy-pysocks.spec new file mode 100644 index 0000000..028612b --- /dev/null +++ b/saltbundlepy-pysocks.spec @@ -0,0 +1,66 @@ +# +# spec file for package saltbundlepy-pysocks +# +# Copyright (c) 2021 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/ +# + + +%{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}} +%define pythons saltbundlepy + +# Disable python bytecompile for all distros +# It's called explicitly in the spec +%global __brp_python_bytecompile %{nil} + +Name: saltbundlepy-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: %{saltbundlepy_module devel >= 3.10} +BuildRequires: %{saltbundlepy_module setuptools} +BuildRequires: saltbundlepy-rpm-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +Requires: saltbundlepy-base +%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