Commit 5e76baa5 authored by 0mp's avatar 0mp
Browse files

Add devel/py-milc

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

WWW: https://milc.clueboard.co/
parent 46e650e4
......@@ -4630,6 +4630,7 @@
SUBDIR += py-meliae
SUBDIR += py-memory-profiler
SUBDIR += py-microversion-parse
SUBDIR += py-milc
SUBDIR += py-minidump
SUBDIR += py-minimongo
SUBDIR += py-minio
......
# $FreeBSD$
PORTNAME= milc
DISTVERSION= 1.1.0
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Opinionated, batteries-included Python 3 CLI framework
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=0:devel/py-appdirs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}argcomplete>=0:devel/py-argcomplete@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}nose2>=0:devel/py-nose2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}semver>=0:devel/py-semver@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yapf>=0:textproc/py-yapf@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
GH_ACCOUNT= clueboard
USE_PYTHON= autoplist distutils
BINARY_ALIAS= python3=${PYTHON_CMD}
NO_ARCH= yes
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ./ci_tests)
.include <bsd.port.mk>
TIMESTAMP = 1613677925
SHA256 (clueboard-milc-1.1.0_GH0.tar.gz) = 4bead2e48cec88ccb6566ad701fc6fa40f3f0101dc62db5cbcfb3e72abb0a892
SIZE (clueboard-milc-1.1.0_GH0.tar.gz) = 37375
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
WWW: https://milc.clueboard.co/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment