devel/py-milc 1.8.0
Opinionated, batteries-included Python 3 CLI framework
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
17ef48aa53- License
- MIT
- Categories
- devel, python
- Package size
- 50.5 KiB, 239.3 KiB installed
Description
MILC is a framework for writing CLI applications in Python 3. It gives you all the features users expect from a modern CLI tool out of the box:
- CLI Argument Parsing, with or without subcommands
- Automatic tab-completion support through argcomplete
- Configuration file which can be overridden by CLI options
- ANSI color support- even on Windows- with colorama
- Logging to stderr and/or a file, with ANSI colors
- Easy method for printing to stdout with ANSI colors
- Labeling log output with colored emoji to easily distinguish message types
- Thread safety
Install
As a binary package — by origin, or by package name:
pkg install devel/py-milc
pkg install py312-milc
From the ports tree:
cd /usr/ports/devel/py-milc/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-milc>0:devel/py-milc
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.8.0 | 1.8.0 | 1.4.2 | 1.8.0 | 1.8.0 |
| FreeBSD:14:quarterly | 1.8.0 | 1.8.0 | n/a | 1.8.0 | 1.8.0 |
| FreeBSD:15:latest | 1.8.0 | 1.8.0 | n/a | 1.8.0 | 1.8.0 |
| FreeBSD:15:quarterly | 1.8.0 | 1.8.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.8.0 | 1.8.0 | 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 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 5
${PYTHON_PKGNAMEPREFIX}appdirs>=0: devel/py-appdirs${PYTHON_PKGNAMEPREFIX}argcomplete>=0: devel/py-argcomplete${PYTHON_PKGNAMEPREFIX}colorama>=0: devel/py-colorama${PYTHON_PKGNAMEPREFIX}halo>=0: misc/py-halo${PYTHON_PKGNAMEPREFIX}spinners>=0: misc/py-spinners
Test 3
${PYTHON_PKGNAMEPREFIX}flake8>=0: devel/py-flake8${PYTHON_PKGNAMEPREFIX}nose2>=0: devel/py-nose2${PYTHON_PKGNAMEPREFIX}semver>=0: devel/py-semver
The full lists below include those, and their dependencies in turn.
All build dependencies 16
All run dependencies 15
Required by 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| clueboard-milc-1.8.0_GH0.tar.gz | 273530 | 3bbb7dc7c33c4bdfff8a24e82c60de71af50bf96783f1b83040ccce66485b140 |