[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/11] gnu: Add python-pysocks.
From: |
ng0 |
Subject: |
[PATCH 10/11] gnu: Add python-pysocks. |
Date: |
Tue, 13 Sep 2016 01:38:26 +0000 |
* gnu/packages/python.scm (python-pysocks): New variable.
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index fdf5ec8..5f7f8e0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1283,6 +1283,34 @@ Python 3.3+.")
(strip-python2-variant python-pyicu)))
(native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+(define-public python-pysocks
+ (package
+ (name "python-pysocks")
+ (version "1.5.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PySocks" version))
+ (sha256
+ (base32
+ "124bydbcspzhkb6ynckvgqra1b79rh5mrq98kbyyd202n6a7c775"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; Tests are optional and use a prebuilt mocks
+ (home-page "https://github.com/Anorov/PySocks")
+ (synopsis
+ "Python SOCKS client module")
+ (description
+ "Semi-actively maintained SocksiPy fork which contains many
+improvements to the original.")
+ (license license:bsd-3)))
+
+(define-public python2-pysocks
+ (package
+ (inherit (package-with-python2
+ (strip-python2-variant python-pysocks)))
+ (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+
(define-public python2-dogtail
;; Python 2 only, as it leads to "TabError: inconsistent use of tabs and
;; spaces in indentation" with Python 3.
--
2.10.0
- [PATCH 06/11] gnu: python-pygments: Update to 2.1.3., (continued)
- [PATCH 06/11] gnu: python-pygments: Update to 2.1.3., ng0, 2016/09/12
- [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7., ng0, 2016/09/12
- [PATCH 05/11] gnu: python-pyasn1: Update to 0.1.9., ng0, 2016/09/12
- [PATCH 03/11] gnu: Add python-flask-babel., ng0, 2016/09/12
- [PATCH 10/11] gnu: Add python-pysocks.,
ng0 <=
- [PATCH 08/11] gnu: Add python-httpbin., ng0, 2016/09/12
- [PATCH 04/11] gnu: python-ndg-httpsclient: Update to 0.4.2., ng0, 2016/09/12
- [PATCH 07/11] gnu: Add python-gunicorn., ng0, 2016/09/12