devel/py-envs: Update to 1.4 and fix envs command
1.3 imports raw_input from click._compat, which click 8 removed, so
envs.util and the envs CLI failed to import. 1.4 uses input().
- Build with pep517: the setup.py that poetry generated for 1.4 is
rejected by setuptools 63 ("'extras_require' must be a dictionary")
- Add a CLI option (off by default) for the envs command: envs.cli
imports click, jinja2 and terminaltables (upstream's "cli" extra),
and the port had no RUN_DEPENDS at all, so the command failed with
ModuleNotFoundError. By default the port installs only the envs
module, which needs nothing beyond Python, and no longer installs
the broken command; with CLI on, it installs the command and depends
on the three modules.
While here, follow the Python Ports Policy.
PR: 299869
Approved by: Ivan Rozhuk <rozhuk.im@gmail.com> (maintainer)
Approved by: osa, vvd (Mentors, implicit)
MFH: 2026Q48f0a3b9ffdPort details
devel/py-envs 1.4
Easy access of environment variables from Python
Port info
- Maintainer
- rozhuk.im@gmail.com
- Packages
- latest: 1.3_1, update to 1.4 not built yet
- Upstream
- up to date
- Last update
- to 1.4 · 8f0a3b9ffd
- Quarterly
- 2026Q4: 1.3_1 · last MFH 150d28ad0a
- WWW
- https://github.com/capless/envs
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install py312-envsinstalls 1.3_1 fromlatest; fromquarterly(2026Q4) 1.3_1- Port
# cd /usr/ports/devel/py-envs && make install clean- Size
- 29 KiB download · 103 KiB installed
- Depends on
- lang/python312 3.12.15
- License
- APACHE20
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 1.3_1 | 1.3_1 | – |
| FreeBSD 15 | 1.3_1 | 1.3_1 | – |
| FreeBSD 14 | 1.3_1 | 1.3_1 | 1.3_1 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 1.3_1 | 1.3_1 | – |
| FreeBSD 14 | 1.3_1 | 1.3_1 | 1.3_1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 1.3_1.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (7)
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.06a08e69f3
devel/py-envs: Add NO_ARCH Approved by: portmgr (blanket)e2c9b8e1cf
*/*: rename CHEESESHOP to PYPI in MASTER_SITES PR: 267994 Differential revision: D37518 Approved by: bapt77d68471ad
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)fb16dfecae
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. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
devel/py-envs: New port: Easy access of environment variables from Python PR: 252078 Approved by: lwhsu (mentor)d2bb2b9912