summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorwiz <wiz>2017-04-04 11:26:54 +0000
committerwiz <wiz>2017-04-04 11:26:54 +0000
commit04f3f41db2b08d9a9139ea50274c03076ef2df64 (patch)
tree63d2f3ba539a83d9c62bbf84eec2f2208207f21a /textproc
parent24390c4a39cd122e23e69bd618a1ed3348410f64 (diff)
downloadpkgsrc-04f3f41db2b08d9a9139ea50274c03076ef2df64.tar.gz
Import py-tabulate-0.7.7 as textproc/py-tabulate.
Pretty-print tabular data in Python, a library and a command-line utility. The main use cases of the library are: * printing small tables without hassle: just one function call, formatting is guided by the data itself * authoring tabular data for lightweight plain-text markup: multiple output formats suitable for further editing or transformation * readable presentation of mixed textual and numeric data: smart column alignment, configurable number formatting, alignment by a decimal point
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-tabulate/DESCR14
-rw-r--r--textproc/py-tabulate/Makefile20
-rw-r--r--textproc/py-tabulate/PLIST12
-rw-r--r--textproc/py-tabulate/distinfo6
4 files changed, 52 insertions, 0 deletions
diff --git a/textproc/py-tabulate/DESCR b/textproc/py-tabulate/DESCR
new file mode 100644
index 00000000000..47980dbc185
--- /dev/null
+++ b/textproc/py-tabulate/DESCR
@@ -0,0 +1,14 @@
+Pretty-print tabular data in Python, a library and a command-line
+utility.
+
+The main use cases of the library are:
+
+* printing small tables without hassle: just one function call,
+ formatting is guided by the data itself
+
+* authoring tabular data for lightweight plain-text markup: multiple
+ output formats suitable for further editing or transformation
+
+* readable presentation of mixed textual and numeric data: smart
+ column alignment, configurable number formatting, alignment by a
+ decimal point
diff --git a/textproc/py-tabulate/Makefile b/textproc/py-tabulate/Makefile
new file mode 100644
index 00000000000..dde94271bb2
--- /dev/null
+++ b/textproc/py-tabulate/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/04/04 11:26:54 wiz Exp $
+
+DISTNAME= tabulate-0.7.7
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=t/tabulate/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://pypi.python.org/pypi/tabulate
+COMMENT= Pretty-print tabular data
+LICENSE= mit
+
+# TEST_DEPENDS
+BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+
+# tests broken due to missing file in distribution as of 0.7.7
+# https://bitbucket.org/astanin/python-tabulate/issues/110/test-commonpy-missing-in-pypi-tarball
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-tabulate/PLIST b/textproc/py-tabulate/PLIST
new file mode 100644
index 00000000000..a81c020fe40
--- /dev/null
+++ b/textproc/py-tabulate/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/04 11:26:54 wiz Exp $
+bin/tabulate
+${PYSITELIB}/${EGG_INFODIR}/.PKG-INFO.swp
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/tabulate.py
+${PYSITELIB}/tabulate.pyc
+${PYSITELIB}/tabulate.pyo
diff --git a/textproc/py-tabulate/distinfo b/textproc/py-tabulate/distinfo
new file mode 100644
index 00000000000..047ac07adcf
--- /dev/null
+++ b/textproc/py-tabulate/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/04 11:26:54 wiz Exp $
+
+SHA1 (tabulate-0.7.7.tar.gz) = 9021b475eefb357deb12f7b0e59a12457411472c
+RMD160 (tabulate-0.7.7.tar.gz) = e627ae6da8fb685263df4d7b7dc3a96d1b348c1c
+SHA512 (tabulate-0.7.7.tar.gz) = 36ea77577e36fad28efa9b1c10686a4a795acdea77be4f8b442b38f45d70993245b4b473b0ce146f3d24eb49f186ec47ada332a9a3973ac2786d5a46b7358213
+Size (tabulate-0.7.7.tar.gz) = 39140 bytes