BSD Ports

devel/py-expandvars 0.12.0_1 MidnightBSD

Expand system variables Unix style

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

Description

expandvars is inspired by GNU bash's variable expansion features. It can be used as an alternative to Python's os.path.expandvars function.

A good use case is reading config files with the flexibility of reading values from environment variables using advanced features like returning a default value if some variable is not defined.

In the other systems

The newest version among them is 1.1.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-expandvars0.12.0_1 behind since 2026-08-19no data-[email protected]-
FreeBSDdevel/py-expandvars1.1.2 newestnone known-[email protected]2026-08-19
DragonFlydevel/py-expandvars0.12.0 behind since 2026-08-19none known-[email protected]-
HardenedBSDdevel/py-expandvars1.1.2 newestno data-[email protected]-
GhostBSDdevel/py-expandvars1.1.2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}expandvars

From mports:

cd /usr/mports/devel/py-expandvars && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}expandvars>0:devel/py-expandvars

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Build dependencies 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
expandvars-0.12.0.tar.gz109097d1adfa55728cf4b5d812ece3d087703faea953e0c0a1a78415de9df5024d844
Master sites 1
  • PYPI