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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-expandvars | 1.1.2 |
| DragonFly | devel/py-expandvars | 0.12.0 |
| MidnightBSD | devel/py-expandvars | 0.12.0_1 |
| HardenedBSD | devel/py-expandvars | 1.1.2 |
| GhostBSD | devel/py-expandvars | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.1.2 | 1.1.2 | - | 0.12.0 | 1.1.2 |
| FreeBSD:14:quarterly | 1.1.2 | 1.1.2 | n/a | 0.12.0 | 1.1.2 |
| FreeBSD:15:latest | 1.1.2 | 1.1.2 | n/a | 0.12.0 | 0.12.0 |
| FreeBSD:15:quarterly | 1.1.2 | 1.1.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.1.2 | 1.1.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 7
Required by 3
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| expandvars-1.1.2.tar.gz | 70842 | 6c5822b7b756a99a356b915dd1267f52ab8a4efaa135963bd7f4bd5d368f71d7 |
Master sites 1
- PYPI