forked from pool/python-PySocks
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySocks?expand=0&rev=18
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
||||||
BIN
PySocks-1.7.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
PySocks-1.7.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
88
python-PySocks.changes
Normal file
88
python-PySocks.changes
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 12 14:26:39 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 21 12:21:08 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add sle15_python_module_pythons (jsc#PED-68)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 13 22:43:57 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Make calling of %{sle15modernpython} optional.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 24 09:48:18 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.7.1:
|
||||||
|
* no changelog provided
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 15 15:53:16 UTC 2019 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
- 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 <mcepl@suse.com>
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
64
python-PySocks.spec
Normal file
64
python-PySocks.spec
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-PySocks
|
||||||
|
#
|
||||||
|
# Copyright (c) 2025 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%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 pip}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
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
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%{python_sitelib}/socks.py*
|
||||||
|
%{python_sitelib}/sockshandler.py*
|
||||||
|
%{python_sitelib}/[Pp]y[Ss]ocks-%{version}*-info
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__
|
||||||
|
|
||||||
|
%changelog
|
||||||
Reference in New Issue
Block a user