Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-pysocks revision b0e2c0b212001cfa75b1e5c4f5e9bd2b

This commit is contained in:
Adrian Schröter 2024-07-15 12:57:53 +02:00
commit aafa534bec
4 changed files with 169 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

BIN
PySocks-1.7.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,77 @@
-------------------------------------------------------------------
Fri Dec 15 15:23:33 UTC 2023 - Victor Zhestkov <vzhestkov@suse.com>
- 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 <victor.zhestkov@suse.com>
- Strictly require Python 3.10 with saltbundlepy requrement
-------------------------------------------------------------------
Fri Oct 22 12:55:55 UTC 2021 - Victor Zhestkov <victor.zhestkov@suse.com>
- 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

66
saltbundlepy-pysocks.spec Normal file
View File

@ -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