Path to this page:
./
devel/py-contextlib2,
Backports and enhancements for the contextlib module
Branch: CURRENT,
Version: 21.6.0,
Package name: py312-contextlib2-21.6.0,
Maintainer: minskimcontextlib2 provides backports of features in the latest version of
the standard library's contextlib module to earlier Python
versions. It also serves as a real world proving ground for potential
future enhancements to that module.
Required to run:[
devel/py-setuptools] [
lang/python37]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 42.769 KB
Version history: (Expand)
- (2024-08-21) Updated to version: py312-contextlib2-21.6.0
- (2023-02-09) Updated to version: py310-contextlib2-0.6.0nb1
- (2022-01-05) Updated to version: py39-contextlib2-0.6.0nb1
- (2021-10-07) Updated to version: py39-contextlib2-0.6.0
- (2019-12-15) Updated to version: py37-contextlib2-0.6.0
- (2017-11-23) Package has been reborn
CVS history: (Expand)
2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-08-21 10:06:46 by Adam Ciarcinski | Files touched by this commit (3) | |
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
|
2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595) |
Log message:
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
|
2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016) |
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Could not be committed due to merge conflict:
devel/py-traitlets/distinfo
The following distfiles were unfetchable (note: some may be only fetched
conditionally):
./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
|
2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017) |
Log message:
devel: Remove SHA1 hashes for distfiles
|
2019-12-15 12:18:32 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-contextlib2: updated to 0.6.0
0.6.0:
Backport `AbstractContextManager` from Python 3.6 and `nullcontext`
from Python 3.7
|
2018-03-24 07:13:58 by Adam Ciarcinski | Files touched by this commit (2) |
Log message:
py-contextlib2: cleanups
|
2017-09-05 20:22:48 by Min Sik Kim | Files touched by this commit (4) |
Log message:
Import py-contextlib2-0.5.5 as devel/py-contextlib2
contextlib2 provides backports of features in the latest version of
the standard library’s contextlib module to earlier Python
versions. It also serves as a real world proving ground for potential
future enhancements to that module.
|