BSD Ports

devel/py-configargparse 1.7.7 NetBSD

Argparse-like with config files or environment variables support

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
a92c6f314b
License
mit
Categories
devel, python
Package size
56.6 KiB, 316.4 KiB installed

Description

Applications with more than a handful of user-settable options are best configured through a combination of command line args, config files, hard-coded defaults, and in some cases, environment variables.

Python's command line parsing modules like argparse have very limited support for config files and environment variables, so this module extends argparse to add these features.

In the other systems

SystemPortVersion
NetBSDdevel/py-configargparse1.7.7
FreeBSDdevel/py-configargparse1.7.7
OpenBSDdevel/py-configargparse1.8.0
DragonFlydevel/py-configargparse1.5.3_1
MidnightBSDdevel/py-configargparse1.7.1_1
HardenedBSDdevel/py-configargparse1.7.7
GhostBSDdevel/py-configargparse1.7.7

Install

Binary package:

pkgin install py311-configargparse

From pkgsrc:

cd /usr/pkgsrc/devel/py-configargparse && make install clean

Packages

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

RepositoryVersion
NetBSD 10.1 x86_641.7.7
NetBSD 10.1 aarch641.7.5
SmartOS / illumos x86_641.8.0
macOS 15 arm641.8.0

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-configargparse-1.7.7, py313-configargparse-1.7.7, py314-configargparse-1.7.7

Commit history 3

DateCommitCreditsLog message
a92c6f314b wiz py-configargparse: update to 1.8.0.
Values for mutually exclusive options now follow the usual override order (#164, #358) Python 3.14 is now supported and tested in CI (#359)
801fc74b95 adam py-configargparse: updated to 1.7.7
1.7.7 Args with a custom argparse.Action and nargs can now be set from a config file
f452fe0105 adam py-configargparse: updated to 1.7.6
1.7.6 config file and environment variable values can no longer trigger writing out a config file config file values containing newlines are now rejected when writing out a config file, rather than written out as separate keys