aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author0mp <0mp@FreeBSD.org>2018-09-19 01:00:14 +0800
committer0mp <0mp@FreeBSD.org>2018-09-19 01:00:14 +0800
commit7256c91728557fc0eea8575cdc88719191e53fde (patch)
treeb9bce8dd61f3f7b916dfbddb6ce53a1e6cfda6a6
parentf78e0f17f9e719253c5be86775fd0d6ff143286e (diff)
downloadfreebsd-ports-gnome-7256c91728557fc0eea8575cdc88719191e53fde.tar.gz
freebsd-ports-gnome-7256c91728557fc0eea8575cdc88719191e53fde.tar.zst
freebsd-ports-gnome-7256c91728557fc0eea8575cdc88719191e53fde.zip
New port: devel/py-selectors2
Backported, durable, and portable selectors for Python designed to replace the standard library selectors module. This module was originally written for the urllib3 project and later released as an independent project. PR: 230873 Submitted by: John W. O'Brien <john@saltant.com> Reviewed by: mat (mentor) Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D17182
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-selectors2/Makefile19
-rw-r--r--devel/py-selectors2/distinfo3
-rw-r--r--devel/py-selectors2/pkg-descr4
4 files changed, 27 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 9c64b8eab814..c8b05813c151 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5045,6 +5045,7 @@
SUBDIR += py-scripttest
SUBDIR += py-sdl2
SUBDIR += py-selection
+ SUBDIR += py-selectors2
SUBDIR += py-selectors34
SUBDIR += py-semantic_version
SUBDIR += py-serpent
diff --git a/devel/py-selectors2/Makefile b/devel/py-selectors2/Makefile
new file mode 100644
index 000000000000..cc61131264b1
--- /dev/null
+++ b/devel/py-selectors2/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= selectors2
+DISTVERSION= 2.0.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= john@saltant.com
+COMMENT= Backported, durable, and portable I/O selectors for Python
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:-3.3
+USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-selectors2/distinfo b/devel/py-selectors2/distinfo
new file mode 100644
index 000000000000..98dbeb4b7c3d
--- /dev/null
+++ b/devel/py-selectors2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1535152007
+SHA256 (selectors2-2.0.1.tar.gz) = 81b77c4c6f607248b1d6bbdb5935403fef294b224b842a830bbfabb400c81884
+SIZE (selectors2-2.0.1.tar.gz) = 18600
diff --git a/devel/py-selectors2/pkg-descr b/devel/py-selectors2/pkg-descr
new file mode 100644
index 000000000000..caebce17d99a
--- /dev/null
+++ b/devel/py-selectors2/pkg-descr
@@ -0,0 +1,4 @@
+Backported, durable, and portable selectors designed to replace the
+standard library selectors module.
+
+WWW: https://www.github.com/SethMichaelLarson/selectors2