Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2017 18:07:04 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r445676 - in head/devel: . py-cli-helpers
Message-ID:  <201707131807.v6DI74LX099552@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Jul 13 18:07:04 2017
New Revision: 445676
URL: https://svnweb.freebsd.org/changeset/ports/445676

Log:
  Add py-cli-helpers 0.2.1
  
  CLI Helpers is a Python package that makes it easy to perform common tasks when
  building command-line apps. It’s a helper library for command-line interfaces.
  
  Libraries like Click and Python Prompt Toolkit are amazing tools that help you
  create quality apps. CLI Helpers complements these libraries by wrapping up
  common tasks in simple interfaces.
  
  CLI Helpers is not focused on your app’s design pattern or framework – you can
  use it on its own or in combination with other libraries. It’s lightweight and
  easy to extend.
  
  What’s included in CLI Helpers?
  - Prettyprinting of tabular data with custom pre-processing
  - [in progress] config file reading/writing
  
  WWW: https://pypi.python.org/pypi/cli-helpers
  WWW: https://github.com/dbcli/cli_helpers

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Jul 13 18:06:28 2017	(r445675)
+++ head/devel/Makefile	Thu Jul 13 18:07:04 2017	(r445676)
@@ -4203,6 +4203,7 @@
     SUBDIR += py-circuits
     SUBDIR += py-cjson
     SUBDIR += py-cld
+    SUBDIR += py-cli-helpers
     SUBDIR += py-cliapp
     SUBDIR += py-click
     SUBDIR += py-click-log

Added: head/devel/py-cli-helpers/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-cli-helpers/Makefile	Thu Jul 13 18:07:04 2017	(r445676)
@@ -0,0 +1,30 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	cli-helpers
+PORTVERSION=	0.2.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	cli_helpers-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Helpers for building command-line apps
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments \
+		${PYTHON_PKGNAMEPREFIX}terminaltables>=3.0.0:textproc/py-terminaltables
+
+NO_ARCH=	yes
+USE_PYTHON=	autoplist distutils
+USES=		python
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}backports.csv>=1.0.0:devel/py-backports.csv
+.endif
+
+.include <bsd.port.post.mk>

Added: head/devel/py-cli-helpers/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-cli-helpers/distinfo	Thu Jul 13 18:07:04 2017	(r445676)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1499882308
+SHA256 (cli_helpers-0.2.1.tar.gz) = a868e69e780c1fd5091c83e784e8b18e2005cab921f1dfda4ffd376271ee85ac
+SIZE (cli_helpers-0.2.1.tar.gz) = 35019

Added: head/devel/py-cli-helpers/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-cli-helpers/pkg-descr	Thu Jul 13 18:07:04 2017	(r445676)
@@ -0,0 +1,17 @@
+CLI Helpers is a Python package that makes it easy to perform common tasks when
+building command-line apps. It’s a helper library for command-line interfaces.
+
+Libraries like Click and Python Prompt Toolkit are amazing tools that help you
+create quality apps. CLI Helpers complements these libraries by wrapping up
+common tasks in simple interfaces.
+
+CLI Helpers is not focused on your app’s design pattern or framework – you can
+use it on its own or in combination with other libraries. It’s lightweight and
+easy to extend.
+
+What’s included in CLI Helpers?
+- Prettyprinting of tabular data with custom pre-processing
+- [in progress] config file reading/writing
+
+WWW: https://pypi.python.org/pypi/cli-helpers
+WWW: https://github.com/dbcli/cli_helpers



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