summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2016-08-21 13:50:16 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2016-08-21 13:50:16 +0000
commit999e11f16310b35d3ecb9bcc7a4bd36b550665b0 (patch)
treea03ed1a000b5d597195fab90495560ef3626224d
parent3dfff1ae57f0a22bce6ff3b67190628a74d94dd5 (diff)
downloadfreebsd-ports-999e11f16310b35d3ecb9bcc7a4bd36b550665b0.zip
selectors34 is a backport of the selectors module from Python 3.4. The selectors
module written by Charles-François Natali. This port is based on Victor Stinner’s trollius/selectors.py port. WWW: https://pypi.python.org/pypi/selectors34
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-selectors34/Makefile20
-rw-r--r--devel/py-selectors34/distinfo3
-rw-r--r--devel/py-selectors34/pkg-descr5
4 files changed, 29 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a8c69f790ed9..9a85035e8397 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4439,6 +4439,7 @@
SUBDIR += py-scripttest
SUBDIR += py-sdl2
SUBDIR += py-selection
+ SUBDIR += py-selectors34
SUBDIR += py-semantic_version
SUBDIR += py-serpent
SUBDIR += py-setproctitle
diff --git a/devel/py-selectors34/Makefile b/devel/py-selectors34/Makefile
new file mode 100644
index 000000000000..39d16c318293
--- /dev/null
+++ b/devel/py-selectors34/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= selectors34
+PORTVERSION= 1.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= rm@FreeBSD.org
+COMMENT= Backport of the selectors module from Python 3.4
+
+LICENSE= PSFL
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
+
+NO_ARCH= yes
+USES= python:2.7-3.3
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-selectors34/distinfo b/devel/py-selectors34/distinfo
new file mode 100644
index 000000000000..eb3ba2915edd
--- /dev/null
+++ b/devel/py-selectors34/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1471786779
+SHA256 (selectors34-1.1.tar.gz) = 84b3743b9046461aebbcd13c15e79ab91e79acfb6e030b54a0ec6360ae0bbc52
+SIZE (selectors34-1.1.tar.gz) = 10525
diff --git a/devel/py-selectors34/pkg-descr b/devel/py-selectors34/pkg-descr
new file mode 100644
index 000000000000..e2f4831965e0
--- /dev/null
+++ b/devel/py-selectors34/pkg-descr
@@ -0,0 +1,5 @@
+selectors34 is a backport of the selectors module from Python 3.4. The selectors
+module written by Charles-François Natali. This port is based on Victor
+Stinner’s trollius/selectors.py port.
+
+WWW: https://pypi.python.org/pypi/selectors34