Wed Mar 13 18:54:31 2019 UTC ()
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.


(adam)
diff -r1.2812 -r1.2813 pkgsrc/devel/Makefile
diff -r0 -r1.1 pkgsrc/devel/py-selectors2/DESCR
diff -r0 -r1.1 pkgsrc/devel/py-selectors2/Makefile
diff -r0 -r1.1 pkgsrc/devel/py-selectors2/PLIST
diff -r0 -r1.1 pkgsrc/devel/py-selectors2/distinfo

cvs diff -r1.2812 -r1.2813 pkgsrc/devel/Makefile (expand / switch to context diff)
--- pkgsrc/devel/Makefile 2019/03/13 11:54:48 1.2812
+++ pkgsrc/devel/Makefile 2019/03/13 18:54:31 1.2813
@@ -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

File Added: pkgsrc/devel/py-selectors2/DESCR
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.

File Added: pkgsrc/devel/py-selectors2/Makefile
# $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"

File Added: pkgsrc/devel/py-selectors2/PLIST
@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

File Added: pkgsrc/devel/py-selectors2/distinfo
$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