diff options
author | adam <adam@pkgsrc.org> | 2019-03-13 18:54:31 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2019-03-13 18:54:31 +0000 |
commit | ebbd31571f1e8aca9a828cf491a25f72594ae429 (patch) | |
tree | 572a00b8158d863ee3c18acace570837faf4cff7 /devel | |
parent | 3619dfffaf55cf9824732333877f12d716f7babb (diff) | |
download | pkgsrc-ebbd31571f1e8aca9a828cf491a25f72594ae429.tar.gz |
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 (limited to 'devel')
-rw-r--r-- | devel/Makefile | 3 | ||||
-rw-r--r-- | devel/py-selectors2/DESCR | 16 | ||||
-rw-r--r-- | devel/py-selectors2/Makefile | 19 | ||||
-rw-r--r-- | devel/py-selectors2/PLIST | 9 | ||||
-rw-r--r-- | devel/py-selectors2/distinfo | 6 |
5 files changed, 52 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile index d0a7eba54be..1459723609a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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-base 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 --git a/devel/py-selectors2/DESCR b/devel/py-selectors2/DESCR new file mode 100644 index 00000000000..174436c2d3f --- /dev/null +++ b/devel/py-selectors2/DESCR @@ -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 --git a/devel/py-selectors2/Makefile b/devel/py-selectors2/Makefile new file mode 100644 index 00000000000..bc460def186 --- /dev/null +++ b/devel/py-selectors2/Makefile @@ -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 +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 --git a/devel/py-selectors2/PLIST b/devel/py-selectors2/PLIST new file mode 100644 index 00000000000..b839f312f1f --- /dev/null +++ b/devel/py-selectors2/PLIST @@ -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 --git a/devel/py-selectors2/distinfo b/devel/py-selectors2/distinfo new file mode 100644 index 00000000000..f75c5461956 --- /dev/null +++ b/devel/py-selectors2/distinfo @@ -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 |