mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
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/
This commit is contained in:
parent
391b9b1fb2
commit
6d612525cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=565972
@ -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
|
||||
|
34
devel/py-milc/Makefile
Normal file
34
devel/py-milc/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $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>
|
3
devel/py-milc/distinfo
Normal file
3
devel/py-milc/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1613677925
|
||||
SHA256 (clueboard-milc-1.1.0_GH0.tar.gz) = 4bead2e48cec88ccb6566ad701fc6fa40f3f0101dc62db5cbcfb3e72abb0a892
|
||||
SIZE (clueboard-milc-1.1.0_GH0.tar.gz) = 37375
|
13
devel/py-milc/pkg-descr
Normal file
13
devel/py-milc/pkg-descr
Normal file
@ -0,0 +1,13 @@
|
||||
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/
|
Loading…
Reference in New Issue
Block a user