Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2021 19:59:14 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565972 - in head/devel: . py-milc
Message-ID:  <202102181959.11IJxEij069441@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Thu Feb 18 19:59:13 2021
New Revision: 565972
URL: https://svnweb.freebsd.org/changeset/ports/565972

Log:
  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/

Added:
  head/devel/py-milc/
  head/devel/py-milc/Makefile   (contents, props changed)
  head/devel/py-milc/distinfo   (contents, props changed)
  head/devel/py-milc/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Feb 18 19:44:39 2021	(r565971)
+++ head/devel/Makefile	Thu Feb 18 19:59:13 2021	(r565972)
@@ -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

Added: head/devel/py-milc/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-milc/Makefile	Thu Feb 18 19:59:13 2021	(r565972)
@@ -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>

Added: head/devel/py-milc/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-milc/distinfo	Thu Feb 18 19:59:13 2021	(r565972)
@@ -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

Added: head/devel/py-milc/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-milc/pkg-descr	Thu Feb 18 19:59:13 2021	(r565972)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102181959.11IJxEij069441>