notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-contextlib2 Backports and enhancements for the contextlib module
21.6.0 devel on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 21.6.0Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2015-12-27 05:32:41
Last Update: 2024-07-11 02:20:45
Commit Hash: 7614dbe
People watching this port, also watch:: woff2, libXdamage, sway, xcb-util-image, libevent
Also Listed In: python
License: BSD2CLAUSE
WWW:
https://pypi.org/project/contextlib2/
Description:
Backport of the standard library's contextlib module to earlier Python versions.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}contextlib2>0:devel/py-contextlib2@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-contextlib2/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-contextlib2
  • pkg install py311-contextlib2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-contextlib2 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-contextlib2
Package flavors (<flavor>: <package>)
  • py311: py311-contextlib2
distinfo:
TIMESTAMP = 1720660094 SHA256 (contextlib2-21.6.0.tar.gz) = ab1e2bfe1d01d968e1b7e8d9023bc51ef3509bba217bb730cee3827e1ee82869 SIZE (contextlib2-21.6.0.tar.gz) = 43795

Packages (timestamps in pop-ups are UTC):
py37-contextlib2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--0.6.0.p1---0.6.0.p1-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-contextlib2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--0.6.0.p1--0.6.0.p10.6.0.p10.6.0.p1
FreeBSD:14:latest--0.6.0.p1--0.6.0.p1-0.6.0.p1
FreeBSD:14:quarterly-----0.6.0.p10.6.0.p10.6.0.p1
FreeBSD:15:latest--n/a-n/a0.6.0.p10.6.0.p10.6.0.p1
 
py311-contextlib2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest21.6.021.6.0-21.6.021.6.0---
FreeBSD:13:quarterly21.6.021.6.0-21.6.021.6.0---
FreeBSD:14:latest21.6.021.6.0-21.6.021.6.0---
FreeBSD:14:quarterly21.6.021.6.0-21.6.021.6.0---
FreeBSD:15:latest21.6.021.6.0n/a21.6.0n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
This port is required by:
for Run
  1. devel/py-pytest-shutil
  2. devel/py-yg.lockfile

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. devel/py-jaraco.util13*
  2. textproc/scancode-toolkit*
  3. www/py-vcrpy*
  4. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
devel_py-contextlib2
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/c/contextlib2/
  2. https://pypi.org/packages/source/c/contextlib2/
Collapse this list.

Number of commits found: 18

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
21.6.0
11 Jul 2024 02:20:45
commit hash: 7614dbec472c4508e525f659bb91b8212d94de4acommit hash: 7614dbec472c4508e525f659bb91b8212d94de4acommit hash: 7614dbec472c4508e525f659bb91b8212d94de4acommit hash: 7614dbec472c4508e525f659bb91b8212d94de4a files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/py-contextlib2: update 0.6.0.post1 → 21.6.0

PR:	280169
0.6.0.p1
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
0.6.0.p1
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.6.0.p1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.6.0.p1
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.6.0.p1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.6.0.p1
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
0.6.0.p1
06 Sep 2020 14:42:22
Revision:547792Original commit files touched by this commit
yuri search for other commits by this committer
devel/py-contextlib2: Update 0.6.0 -> 0.6.0.post1
0.6.0
11 Jan 2020 22:09:23
Revision:522718Original commit files touched by this commit
yuri search for other commits by this committer
devel/py-contextlib2: Update 0.5.5 -> 0.6.0

Reported by:	portscout
0.5.5
25 Apr 2018 16:42:38
Revision:468282Original commit files touched by this commit
amdmi3 search for other commits by this committer
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.

Approved by:	portmgr blanket, mat
0.5.5
25 Feb 2018 00:40:37
Revision:462887Original commit files touched by this commit
yuri search for other commits by this committer
Replaced my old rawbw.com maintainer's address with yuri@FreeBSD.org

98 ports are affected.

Approved by:	tcberner (mentor, implicit)
0.5.5
08 Feb 2018 20:18:09
Revision:461265Original commit files touched by this commit
amdmi3 search for other commits by this committer
Canonicalize PyPi WWWs:
- Switch to https://
- Remove trailing slashes

Approved by:	portmgr blanket
0.5.5
07 May 2017 21:27:28
Revision:440383Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 0.5.5

Changes:	https://github.com/jazzband/contextlib2/blob/master/NEWS.rst
		https://contextlib2.readthedocs.io/en/stable/#release-history
PR:		219107
Submitted by:	Yuri Victorovich <yuri@rawbw.com> (maintainer)
0.5.4
31 Jul 2016 20:49:16
Revision:419414Original commit files touched by this commit
pawel search for other commits by this committer
Update toversion 0.5.4

PR:		211477
Submitted by:	maintainer
0.5.3
20 May 2016 17:51:58
Revision:415566Original commit files touched by this commit
pi search for other commits by this committer
devel/py-contextlib2: 0.5.1 -> 0.5.3

- ``ExitStack`` now correctly handles context managers implemented
  as old-style classes in Python 2.x (such as ``codecs.StreamReader`` and
  ``codecs.StreamWriter``)
- ``setup.py`` has been migrated to setuptools and configured to emit a
  universal wheel file by default
- development migrated from BitBucket to GitHub
- ``redirect_stream``, ``redirect_stdout``, ``redirect_stderr`` and
  ``suppress`` now explicitly inherit from ``object``, ensuring
  compatibility with ``ExitStack`` when run under Python 2.x (patch
  contributed by Devin Jeanpierre).
- ``MANIFEST.in`` is now included in the published sdist, ensuring
  the archive can be precisely recreated even without access to the
  original source repo (patch contributed by Guy Rozendorn)

PR:		209643
Submitted by:	Yuri Victorovich <yuri@rawbw.com> (maintainer)
0.5.1
15 Jan 2016 06:34:31
Revision:406138Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 0.5.1

PR:		206236
Submitted by:	maintainer
0.4.0
27 Dec 2015 05:32:32
Revision:404546Original commit files touched by this commit
vanilla search for other commits by this committer
Add py-contextlib2 0.4.0, backports and enhancements for the contextlib
module.

PR:		205639
Submitted by:	Yuri Victorovich <yuri@rawbw.com>

Number of commits found: 18