pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-contextlib2



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Aug 21 08:06:46 UTC 2024

Modified Files:
        pkgsrc/devel/py-contextlib2: Makefile PLIST distinfo

Log Message:
py-contextlib2: updated to 21.6.0

21.6.0 (2021-06-27)

* License update: due to the inclusion of type hints from the ``typeshed``
  project, the ``contextlib2`` project is now under a combination of the
  Python Software License (existing license) and the Apache License 2.0
  (``typeshed`` license)
* Switched to calendar based versioning using a "year"-"month"-"serial" scheme,
  rather than continuing with pre-1.0 semantic versioning
* Due to the inclusion of asynchronous features from Python 3.7+, the
  minimum supported Python version is now Python 3.6
* Synchronised with the Python 3.10 version of contextlib
  following new features available on Python 3.6+:

  * ``asyncontextmanager`` (added in Python 3.7, enhanced in Python 3.10)
  * ``aclosing`` (added in Python 3.10)
  * ``AbstractAsyncContextManager`` (added in Python 3.7)
  * ``AsyncContextDecorator`` (added in Python 3.10)
  * ``AsyncExitStack`` (added in Python 3.7)
  * async support in ``nullcontext`` (Python 3.10)

* ``contextlib2`` now includes an adapted copy of the ``contextlib``
  type hints from ``typeshed`` (the adaptation removes the Python version
  dependencies from the API definition)
* to incorporate the type hints stub file and the ``py.typed`` marker file,
  ``contextlib2`` is now installed as a package rather than as a module
* Updates to the default compatibility testing matrix:

  * Added: CPython 3.9, CPython 3.10
  * Dropped: CPython 2.7, CPython 3.5, PyPy2


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-contextlib2/Makefile \
    pkgsrc/devel/py-contextlib2/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-contextlib2/PLIST

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

Modified files:

Index: pkgsrc/devel/py-contextlib2/Makefile
diff -u pkgsrc/devel/py-contextlib2/Makefile:1.4 pkgsrc/devel/py-contextlib2/Makefile:1.5
--- pkgsrc/devel/py-contextlib2/Makefile:1.4    Tue Jan  4 20:52:58 2022
+++ pkgsrc/devel/py-contextlib2/Makefile        Wed Aug 21 08:06:46 2024
@@ -1,17 +1,19 @@
-# $NetBSD: Makefile,v 1.4 2022/01/04 20:52:58 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2024/08/21 08:06:46 adam Exp $
 
-DISTNAME=      contextlib2-0.6.0
+DISTNAME=      contextlib2-21.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/contextlib2/}
 
 MAINTAINER=    minskim%NetBSD.org@localhost
 HOMEPAGE=      https://contextlib2.readthedocs.org/
 COMMENT=       Backports and enhancements for the contextlib module
-LICENSE=       python-software-foundation
+LICENSE=       python-software-foundation AND apache-2.0
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-contextlib2/distinfo
diff -u pkgsrc/devel/py-contextlib2/distinfo:1.4 pkgsrc/devel/py-contextlib2/distinfo:1.5
--- pkgsrc/devel/py-contextlib2/distinfo:1.4    Tue Oct 26 10:18:20 2021
+++ pkgsrc/devel/py-contextlib2/distinfo        Wed Aug 21 08:06:46 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:18:20 nia Exp $
+$NetBSD: distinfo,v 1.5 2024/08/21 08:06:46 adam Exp $
 
-BLAKE2s (contextlib2-0.6.0.tar.gz) = e12f35d513f084dfe13214da5e5a6b7fb8d6ac88f4bbfc5fe86038ea37a7f3aa
-SHA512 (contextlib2-0.6.0.tar.gz) = 01901ac226c7fca40add00e95cedb2535a802e0114a53ae1315c6dfee20744dbafa7d9619986ad76345ad9b9aa3e364ac01d23f51b5eb70dd2febd5af1f1fc56
-Size (contextlib2-0.6.0.tar.gz) = 29607 bytes
+BLAKE2s (contextlib2-21.6.0.tar.gz) = 4822435a37e2a4c5ffe1c2f1dc4912e73f4079c38fe6046f74584d567bfe2f8a
+SHA512 (contextlib2-21.6.0.tar.gz) = a85cafaaf66c7c6a59a4e9ac757941b1a98c17e5a49e41573dc759fafbbf17928a21f582e8aaa0fdc60636413ec702e198bde19a78ac304237b6da1c3d47b730
+Size (contextlib2-21.6.0.tar.gz) = 43795 bytes

Index: pkgsrc/devel/py-contextlib2/PLIST
diff -u pkgsrc/devel/py-contextlib2/PLIST:1.1 pkgsrc/devel/py-contextlib2/PLIST:1.2
--- pkgsrc/devel/py-contextlib2/PLIST:1.1       Tue Sep  5 18:22:48 2017
+++ pkgsrc/devel/py-contextlib2/PLIST   Wed Aug 21 08:06:46 2024
@@ -1,8 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2017/09/05 18:22:48 minskim Exp $
-${PYSITELIB}/contextlib2.pyo
-${PYSITELIB}/contextlib2.pyc
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/contextlib2.py
+@comment $NetBSD: PLIST,v 1.2 2024/08/21 08:06:46 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/contextlib2/__init__.py
+${PYSITELIB}/contextlib2/__init__.pyc
+${PYSITELIB}/contextlib2/__init__.pyi
+${PYSITELIB}/contextlib2/__init__.pyo
+${PYSITELIB}/contextlib2/py.typed



Home | Main Index | Thread Index | Old Index