Update to 1.7.0. Fixes bug #1708882
This commit is contained in:
parent
2169c8d6d1
commit
65997a9209
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
/1.5.7.tar.gz
|
/1.5.7.tar.gz
|
||||||
/PySocks-1.6.7.tar.gz
|
/PySocks-1.6.7.tar.gz
|
||||||
/PySocks-1.6.8.tar.gz
|
/PySocks-1.6.8.tar.gz
|
||||||
|
/PySocks-1.7.0.tar.gz
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
From d74c3f1d34d07a001656453823a153ea0c865449 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
|
|
||||||
Date: Fri, 29 Jun 2018 18:03:21 +0200
|
|
||||||
Subject: [PATCH] Avoid DeprecationWarning
|
|
||||||
|
|
||||||
Using or importing the ABCs from 'collections' instead of from
|
|
||||||
'collections.abc' is deprecated, and in 3.8 it will stop working.
|
|
||||||
|
|
||||||
Preserves Python 2 compatibility.
|
|
||||||
---
|
|
||||||
socks.py | 5 ++++-
|
|
||||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/socks.py b/socks.py
|
|
||||||
index 1b55295..80b6876 100644
|
|
||||||
--- a/socks.py
|
|
||||||
+++ b/socks.py
|
|
||||||
@@ -55,7 +55,10 @@
|
|
||||||
"""
|
|
||||||
|
|
||||||
from base64 import b64encode
|
|
||||||
-from collections import Callable
|
|
||||||
+try:
|
|
||||||
+ from collections.abc import Callable
|
|
||||||
+except ImportError:
|
|
||||||
+ from collections import Callable
|
|
||||||
from errno import EOPNOTSUPP, EINVAL, EAGAIN
|
|
||||||
import functools
|
|
||||||
from io import BytesIO
|
|
@ -23,15 +23,14 @@
|
|||||||
%global sum A Python SOCKS client module
|
%global sum A Python SOCKS client module
|
||||||
|
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 1.6.8
|
Version: 1.7.0
|
||||||
Release: 7%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/Anorov/%{pypi_name}
|
URL: https://github.com/Anorov/%{pypi_name}
|
||||||
Source0: %pypi_source
|
Source0: %pypi_source
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Patch0: https://github.com/Anorov/PySocks/commit/d74c3f1d34d07a001656453823a153ea0c865449.patch
|
|
||||||
|
|
||||||
%global _description \
|
%global _description \
|
||||||
A fork of SocksiPy with bug fixes and extra features.\
|
A fork of SocksiPy with bug fixes and extra features.\
|
||||||
@ -171,6 +170,9 @@ rm -rfv test/bin
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 18 2019 Kevin Fenzi <kevin@scrye.com> - 1.7.0-1
|
||||||
|
- Update to 1.7.0. Fixes bug #1708882
|
||||||
|
|
||||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.8-7
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.8-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (PySocks-1.6.8.tar.gz) = 9b544cf11464142a5f347cd5688b48422249363a425ccf3887117152f2f1969713674c4bba714242432ae85f3d62e03edeb9cb7b73ebd225ed3b47b3da6896d5
|
SHA512 (PySocks-1.7.0.tar.gz) = cc08ecbf65b59b6c4d4a24e01490dba19d93f2deb2860a49c4fc5679a9ceaba1860f05faaf8e299cf195e184a844f11989595e5046b07e2b30f9f3c682950e52
|
||||||
|
Loading…
Reference in New Issue
Block a user