pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jan  8 20:04:28 UTC 2020

Modified Files:
        pkgsrc/misc: Makefile
Added Files:
        pkgsrc/misc/py-sniffio: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.528 -r1.529 pkgsrc/misc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/py-sniffio/DESCR \
    pkgsrc/misc/py-sniffio/Makefile pkgsrc/misc/py-sniffio/PLIST \
    pkgsrc/misc/py-sniffio/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/Makefile
diff -u pkgsrc/misc/Makefile:1.528 pkgsrc/misc/Makefile:1.529
--- pkgsrc/misc/Makefile:1.528  Wed Jan  8 20:01:40 2020
+++ pkgsrc/misc/Makefile        Wed Jan  8 20:04:27 2020
@@ -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-ansi
 SUBDIR+=       py-asciinema
 SUBDIR+=       py-carddav
 SUBDIR+=       py-immutables
+SUBDIR+=       py-sniffio
 SUBDIR+=       py-stdnum
 SUBDIR+=       py-tqdm
 SUBDIR+=       py-trytond-carrier

Added files:

Index: pkgsrc/misc/py-sniffio/DESCR
diff -u /dev/null pkgsrc/misc/py-sniffio/DESCR:1.1
--- /dev/null   Wed Jan  8 20:04:28 2020
+++ pkgsrc/misc/py-sniffio/DESCR        Wed Jan  8 20:04:27 2020
@@ -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.
Index: pkgsrc/misc/py-sniffio/Makefile
diff -u /dev/null pkgsrc/misc/py-sniffio/Makefile:1.1
--- /dev/null   Wed Jan  8 20:04:28 2020
+++ pkgsrc/misc/py-sniffio/Makefile     Wed Jan  8 20:04:27 2020
@@ -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"
Index: pkgsrc/misc/py-sniffio/PLIST
diff -u /dev/null pkgsrc/misc/py-sniffio/PLIST:1.1
--- /dev/null   Wed Jan  8 20:04:28 2020
+++ pkgsrc/misc/py-sniffio/PLIST        Wed Jan  8 20:04:28 2020
@@ -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
Index: pkgsrc/misc/py-sniffio/distinfo
diff -u /dev/null pkgsrc/misc/py-sniffio/distinfo:1.1
--- /dev/null   Wed Jan  8 20:04:28 2020
+++ pkgsrc/misc/py-sniffio/distinfo     Wed Jan  8 20:04:28 2020
@@ -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