pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel py-selectors2: added version 2.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d5f61705165
branches:  trunk
changeset: 320972:4d5f61705165
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Mar 13 18:54:31 2019 +0000

description:
py-selectors2: added version 2.0.1

Backported, durable, and portable selectors designed to replace the standard
library selectors module.

Features
* Support for all major platforms. (Linux, Mac OS, Windows)
* Support many different selectors
  - select.kqueue (BSD, Mac OS)
  - select.devpoll (Solaris)
  - select.epoll (Linux 2.5.44+)
  - select.poll (Linux, Mac OS)
  - select.select - (Linux, Mac OS, Windows)
* Support for PEP 475 (Retries system calls on interrupt)
* Support for modules which monkey-patch the standard library after import
  (like greenlet, gevent)
* Support for systems which define a selector being available but don't
  actually implement it.

diffstat:

 devel/Makefile               |   3 ++-
 devel/py-selectors2/DESCR    |  16 ++++++++++++++++
 devel/py-selectors2/Makefile |  19 +++++++++++++++++++
 devel/py-selectors2/PLIST    |   9 +++++++++
 devel/py-selectors2/distinfo |   6 ++++++
 5 files changed, 52 insertions(+), 1 deletions(-)

diffs (83 lines):

diff -r cb4fa31ad645 -r 4d5f61705165 devel/Makefile
--- a/devel/Makefile    Wed Mar 13 18:37:12 2019 +0000
+++ b/devel/Makefile    Wed Mar 13 18:54:31 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2812 2019/03/13 11:54:48 jaapb Exp $
+# $NetBSD: Makefile,v 1.2813 2019/03/13 18:54:31 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2300,6 +2300,7 @@
 SUBDIR+=       py-ruamel-ordereddict
 SUBDIR+=       py-ruamel-yaml
 SUBDIR+=       py-scandir
+SUBDIR+=       py-selectors2
 SUBDIR+=       py-semantic_version
 SUBDIR+=       py-serpent
 SUBDIR+=       py-setuptools
diff -r cb4fa31ad645 -r 4d5f61705165 devel/py-selectors2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-selectors2/DESCR Wed Mar 13 18:54:31 2019 +0000
@@ -0,0 +1,16 @@
+Backported, durable, and portable selectors designed to replace the standard
+library selectors module.
+
+Features
+* Support for all major platforms. (Linux, Mac OS, Windows)
+* Support many different selectors
+  - select.kqueue (BSD, Mac OS)
+  - select.devpoll (Solaris)
+  - select.epoll (Linux 2.5.44+)
+  - select.poll (Linux, Mac OS)
+  - select.select - (Linux, Mac OS, Windows)
+* Support for PEP 475 (Retries system calls on interrupt)
+* Support for modules which monkey-patch the standard library after import
+  (like greenlet, gevent)
+* Support for systems which define a selector being available but don't
+  actually implement it.
diff -r cb4fa31ad645 -r 4d5f61705165 devel/py-selectors2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-selectors2/Makefile      Wed Mar 13 18:54:31 2019 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2019/03/13 18:54:31 adam Exp $
+
+DISTNAME=      selectors2-2.0.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=s/selectors2/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/sethmlarson/selectors2
+COMMENT=       Back-ported, durable, and portable selectors
+LICENSE=       mit
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-psutil>=5.2.2:../../sysutils/py-psutil
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r cb4fa31ad645 -r 4d5f61705165 devel/py-selectors2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-selectors2/PLIST Wed Mar 13 18:54:31 2019 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/13 18:54:31 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/selectors2.py
+${PYSITELIB}/selectors2.pyc
+${PYSITELIB}/selectors2.pyo
diff -r cb4fa31ad645 -r 4d5f61705165 devel/py-selectors2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-selectors2/distinfo      Wed Mar 13 18:54:31 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/13 18:54:31 adam Exp $
+
+SHA1 (selectors2-2.0.1.tar.gz) = 3bb9bcd899595341ce276a00e94317bafa5455eb
+RMD160 (selectors2-2.0.1.tar.gz) = 3b92f77e5f2ad99b9a2a6605359ff6a9d1fd3e60
+SHA512 (selectors2-2.0.1.tar.gz) = cff6289296691726f28f649995ab224501b1e6510347a3aad49e786ffefb02c71169932c8cb7c85c692a02977cd4fee236437bd9e804f9949faf01f2134f9e45
+Size (selectors2-2.0.1.tar.gz) = 18600 bytes



Home | Main Index | Thread Index | Old Index