pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc py-sniffio: added version 1.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/459b36164a59
branches:  trunk
changeset: 420878:459b36164a59
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 08 20:04:27 2020 +0000

description:
py-sniffio: added version 1.1.0

You're writing a library. You've decided to be ambitious, and support multiple
async I/O packages, like Trio, and asyncio, and... You've written a bunch of
clever code to handle all the differences. But... how do you know which piece of
clever code to run?

This is a tiny package whose only purpose is to let you detect which async
library your code is running under.

diffstat:

 misc/Makefile            |   3 ++-
 misc/py-sniffio/DESCR    |   7 +++++++
 misc/py-sniffio/Makefile |  23 +++++++++++++++++++++++
 misc/py-sniffio/PLIST    |  21 +++++++++++++++++++++
 misc/py-sniffio/distinfo |   6 ++++++
 5 files changed, 59 insertions(+), 1 deletions(-)

diffs (90 lines):

diff -r 5909e7cabbf7 -r 459b36164a59 misc/Makefile
--- a/misc/Makefile     Wed Jan 08 20:03:07 2020 +0000
+++ b/misc/Makefile     Wed Jan 08 20:04:27 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.528 2020/01/08 20:01:40 adam Exp $
+# $NetBSD: Makefile,v 1.529 2020/01/08 20:04:27 adam Exp $
 #
 
 COMMENT=       Miscellaneous utilities
@@ -247,6 +247,7 @@
 SUBDIR+=       py-asciinema
 SUBDIR+=       py-carddav
 SUBDIR+=       py-immutables
+SUBDIR+=       py-sniffio
 SUBDIR+=       py-stdnum
 SUBDIR+=       py-tqdm
 SUBDIR+=       py-trytond-carrier
diff -r 5909e7cabbf7 -r 459b36164a59 misc/py-sniffio/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/py-sniffio/DESCR     Wed Jan 08 20:04:27 2020 +0000
@@ -0,0 +1,7 @@
+You're writing a library. You've decided to be ambitious, and support multiple
+async I/O packages, like Trio, and asyncio, and... You've written a bunch of
+clever code to handle all the differences. But... how do you know which piece of
+clever code to run?
+
+This is a tiny package whose only purpose is to let you detect which async
+library your code is running under.
diff -r 5909e7cabbf7 -r 459b36164a59 misc/py-sniffio/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/py-sniffio/Makefile  Wed Jan 08 20:04:27 2020 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2020/01/08 20:04:27 adam Exp $
+
+DISTNAME=      sniffio-1.1.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    misc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sniffio/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/python-trio/sniffio
+COMMENT=       Sniff out which async library your code is running under
+LICENSE=       mit
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 36
+DEPENDS+=      ${PYPKGPREFIX}-contextvars>=2.1:../../devel/py-contextvars
+.endif
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5909e7cabbf7 -r 459b36164a59 misc/py-sniffio/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/py-sniffio/PLIST     Wed Jan 08 20:04:27 2020 +0000
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/08 20:04:28 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/sniffio/__init__.py
+${PYSITELIB}/sniffio/__init__.pyc
+${PYSITELIB}/sniffio/__init__.pyo
+${PYSITELIB}/sniffio/_impl.py
+${PYSITELIB}/sniffio/_impl.pyc
+${PYSITELIB}/sniffio/_impl.pyo
+${PYSITELIB}/sniffio/_tests/__init__.py
+${PYSITELIB}/sniffio/_tests/__init__.pyc
+${PYSITELIB}/sniffio/_tests/__init__.pyo
+${PYSITELIB}/sniffio/_tests/test_sniffio.py
+${PYSITELIB}/sniffio/_tests/test_sniffio.pyc
+${PYSITELIB}/sniffio/_tests/test_sniffio.pyo
+${PYSITELIB}/sniffio/_version.py
+${PYSITELIB}/sniffio/_version.pyc
+${PYSITELIB}/sniffio/_version.pyo
diff -r 5909e7cabbf7 -r 459b36164a59 misc/py-sniffio/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/py-sniffio/distinfo  Wed Jan 08 20:04:27 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/08 20:04:28 adam Exp $
+
+SHA1 (sniffio-1.1.0.tar.gz) = 32b1bf94b406a003e1e64058646380ee669a9341
+RMD160 (sniffio-1.1.0.tar.gz) = b7e4a4e9e6761ba5aabbe8839dae683e9c9abf92
+SHA512 (sniffio-1.1.0.tar.gz) = f315c79245ccec8e1e6e0f8ffe4cf42fdab7f5fe3e680ddc05c65732a6d26989ac1459135f13938380928b02802bc0a6b1174c83118a60b0ad15f59730927912
+Size (sniffio-1.1.0.tar.gz) = 15285 bytes



Home | Main Index | Thread Index | Old Index