Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
py-envs Easy access of environment variables from Python
1.4 devel Σ=0 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 1.4Version of this port present on the latest quarterly branch.
Maintainer: rozhuk.im@gmail.com search for ports maintained by this maintainer
Port Added: 2021-07-02 16:45:17
Last Update: 2026-10-25 17:16:30
Commit Hash: 8f0a3b9
Also Listed In: python
License: APACHE20
WWW:
https://github.com/capless/envs
Description: #
Easy access of environment variables from Python with support for booleans, strings, lists, tuples, integers, floats, and dicts. If you need environment variables for your settings but need an easy way of using Python objects instead of just strings. For example, if you need a list of strings.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}envs>0:devel/py-envs@${PY_FLAVOR}
To install the port: #
cd /usr/ports/devel/py-envs/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-envs
  • pkg install py312-envs
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 py312-envs listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-envs
Package flavors (<flavor>: <package>) #
  • py312: py312-envs
distinfo: #
TIMESTAMP = 1791771479 SHA256 (envs-1.4.tar.gz) = 9d8435c6985d1cdd68299e04c58e2bdb8ae6cf66b2596a8079e6f9a93f2a0398 SIZE (envs-1.4.tar.gz) = 9230

Packages (timestamps in pop-ups are UTC): #
py39-envs
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest--1.3--
FreeBSD:14:quarterly-----
FreeBSD:15:latest--n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
py311-envs
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---1.3_1-
FreeBSD:14:quarterly---1.3_1-
FreeBSD:15:latest--n/a1.3_1n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
py312-envs
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.41.4--1.4
FreeBSD:14:quarterly1.41.4--1.4
FreeBSD:15:latest1.41.4n/a-n/a
FreeBSD:15:quarterly1.41.4n/a-n/a
FreeBSD:16:latest1.41.4n/a-n/a
 
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-poetry-core>=1.0.0 : devel/py-poetry-core@py312
  2. python3.12 : lang/python312
  3. py312-build>=0 : devel/py-build@py312
  4. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. python3.12 : lang/python312
Runtime dependencies: #
  1. python3.12 : lang/python312
This port is required by: #
for Run #
  1. devel/py-pycognito

Configuration Options: #
===> The following configuration options are available for py312-envs-1.4: CLI=off: Install the envs command-line tool ===> Use 'make config' to modify these settings
Options name: #
devel_py-envs
USES: #
python
pkg-message: #
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/e/envs/
  2. https://pypi.org/packages/source/e/envs/
Collapse this list.

Number of commits found: 7 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.4
25 Oct 2026 17:16:30
commit hash: 8f0a3b9ffdd97e32ab359924a2f68cb7698de93acommit hash: 8f0a3b9ffdd97e32ab359924a2f68cb7698de93acommit hash: 8f0a3b9ffdd97e32ab359924a2f68cb7698de93acommit hash: 8f0a3b9ffdd97e32ab359924a2f68cb7698de93a files touched by this commit
Yusuf Yaman (nxjoseph) search for other commits by this committer
Author: Patrick Crandol
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:		2026Q4
1.3_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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.
1.3
18 Sep 2024 06:15:14
commit hash: e2c9b8e1cf02752f335adb873e1568fb7d20850fcommit hash: e2c9b8e1cf02752f335adb873e1568fb7d20850fcommit hash: e2c9b8e1cf02752f335adb873e1568fb7d20850fcommit hash: e2c9b8e1cf02752f335adb873e1568fb7d20850f files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-envs: Add NO_ARCH

Approved by:	portmgr (blanket)
1.3
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)
1.3
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)
1.3
02 Jul 2021 16:40:43
commit hash: d2bb2b991214d39f07b7f75660b816e192d1c09bcommit hash: d2bb2b991214d39f07b7f75660b816e192d1c09bcommit hash: d2bb2b991214d39f07b7f75660b816e192d1c09bcommit hash: d2bb2b991214d39f07b7f75660b816e192d1c09b files touched by this commit
Guangyuan Yang (ygy) search for other commits by this committer
Author: Ivan Rozhuk
devel/py-envs: New port: Easy access of environment variables from Python

PR:		252078
Approved by:	lwhsu (mentor)

Number of commits found: 7