BSD Ports

devel/py-expandvars 1.1.2 FreeBSD

Expand system variables Unix style

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
337c4587a8
License
MIT
Categories
devel, python
Package size
13.5 KiB, 53.4 KiB installed

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

SystemPortVersion
FreeBSDdevel/py-expandvars1.1.2
DragonFlydevel/py-expandvars0.12.0
MidnightBSDdevel/py-expandvars0.12.0_1
HardenedBSDdevel/py-expandvars1.1.2
GhostBSDdevel/py-expandvars1.1.2

Install

Binary package:

pkg install py312-expandvars

From the ports tree:

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

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

RUN_DEPENDS=	py312-expandvars>0:devel/py-expandvars

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.21.1.2-0.12.01.1.2
FreeBSD:14:quarterly1.1.21.1.2n/a0.12.01.1.2
FreeBSD:15:latest1.1.21.1.2n/a0.12.00.12.0
FreeBSD:15:quarterly1.1.21.1.2n/an/an/a
FreeBSD:16:latest1.1.21.1.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
expandvars-1.1.2.tar.gz708426c5822b7b756a99a356b915dd1267f52ab8a4efaa135963bd7f4bd5d368f71d7
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
337c4587a8 Po-Chuan Hsieh devel/py-expandvars: Update to 1.1.2
Changes: https://github.com/sayanarijit/expandvars/releases