head 1.7; access; symbols pkgsrc-2023Q4:1.6.0.10 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.8 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.6 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.4 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.2 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.5.0.6 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.4 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.2 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.3.0.10 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.8 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.6 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.4 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.2 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.2.0.6 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.4 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2; locks; strict; comment @# @; 1.7 date 2024.02.26.09.34.47; author adam; state Exp; branches; next 1.6; commitid 5xkmIDDKieczpVZE; 1.6 date 2022.10.13.16.41.03; author adam; state Exp; branches; next 1.5; commitid j8Av9AX2Wj87SzXD; 1.5 date 2022.01.04.20.54.19; author wiz; state Exp; branches; next 1.4; commitid CYyhdK9qtoffkmnD; 1.4 date 2021.12.30.12.08.50; author adam; state Exp; branches; next 1.3; commitid qSlwkAbrb9VRAFmD; 1.3 date 2020.10.13.11.10.49; author adam; state Exp; branches; next 1.2; commitid rEDkjNGTuPaKvJrC; 1.2 date 2020.03.15.23.47.14; author tnn; state Exp; branches; next 1.1; commitid aO4kjBUajJHIvy0C; 1.1 date 2020.01.08.20.04.27; author adam; state Exp; branches; next ; commitid 7EdcZ2UuSOHOqVRB; desc @@ 1.7 log @py-sniffio: updated to 1.3.1 Sniffio 1.3.1 (2024-02-26) Bugfixes - Added missing ``thread_local`` to ``sniffio.__all__`` @ text @# $NetBSD: Makefile,v 1.6 2022/10/13 16:41:03 adam Exp $ DISTNAME= sniffio-1.3.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= misc python MASTER_SITES= ${MASTER_SITE_PYPI:=s/sniffio/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/python-trio/sniffio COMMENT= Sniff out which async library your code is running under LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=64:../../devel/py-setuptools TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.4:../../devel/py-setuptools_scm TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.6 log @py-sniffio: updated to 1.3.0 sniffio 1.3.0 (2022-09-01) -------------------------- Features - Add support for Python 3.9 and 3.10. - Provide ``sniffio.thread_local.name`` for coroutine libraries to set Deprecations and Removals - Drop support for Python 3.5 and 3.6. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2022/01/04 20:54:19 wiz Exp $ d3 1 a3 1 DISTNAME= sniffio-1.3.0 d13 4 a16 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 d20 3 a22 1 .include "../../lang/python/egg.mk" @ 1.5 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2021/12/30 12:08:50 adam Exp $ d3 1 a3 1 DISTNAME= sniffio-1.2.0 a4 1 PKGREVISION= 1 @ 1.4 log @py-contextvars: removed; was Python 3.6 only @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2020/10/13 11:10:49 adam Exp $ d5 1 @ 1.3 log @py-sniffio: updated to 1.2.0 sniffio 1.2.0 Features - Include type hints @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2020/03/15 23:47:14 tnn Exp $ a14 5 .include "../../lang/python/pyversion.mk" .if ${_PYTHON_VERSION} == 36 DEPENDS+= ${PYPKGPREFIX}-contextvars>=2.1:../../devel/py-contextvars .endif @ 1.2 log @py-sniffio: PYTHON_VERSIONS_INCOMPATIBLE must go before pyversion.mk @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2020/01/08 20:04:27 adam Exp $ d3 1 a3 1 DISTNAME= sniffio-1.1.0 @ 1.1 log @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. @ text @d1 1 a1 1 # $NetBSD$ d13 2 a21 2 PYTHON_VERSIONS_INCOMPATIBLE= 27 @