summaryrefslogtreecommitdiff
path: root/textproc/py-prettytable
diff options
context:
space:
mode:
authorfcambus <fcambus@pkgsrc.org>2021-05-04 08:33:14 +0000
committerfcambus <fcambus@pkgsrc.org>2021-05-04 08:33:14 +0000
commit13de72ea2feb63e68d50bab6f3821fecd305e151 (patch)
tree3e3db6ed297c4be429883411b65e30e0f7bb6215 /textproc/py-prettytable
parent6b3e8eb5df2b133f2dbdc99f6780c42f5d1b3a19 (diff)
downloadpkgsrc-13de72ea2feb63e68d50bab6f3821fecd305e151.tar.gz
textproc/py-prettytable: import py38-prettytable-2.0.0.
PrettyTable is a simple Python library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables. PrettyTable lets you control many aspects of the table, like the width of the column padding, the alignment of text within columns, which characters are used to draw the table border, whether you even want a border, and much more. You can control which subsets of the columns and rows are printed, and you can sort the rows by the value of a particular column.
Diffstat (limited to 'textproc/py-prettytable')
-rw-r--r--textproc/py-prettytable/DESCR8
-rw-r--r--textproc/py-prettytable/Makefile18
-rw-r--r--textproc/py-prettytable/PLIST12
-rw-r--r--textproc/py-prettytable/distinfo6
4 files changed, 44 insertions, 0 deletions
diff --git a/textproc/py-prettytable/DESCR b/textproc/py-prettytable/DESCR
new file mode 100644
index 00000000000..447c8a8c51d
--- /dev/null
+++ b/textproc/py-prettytable/DESCR
@@ -0,0 +1,8 @@
+PrettyTable is a simple Python library designed to make it quick and easy
+to represent tabular data in visually appealing ASCII tables.
+
+PrettyTable lets you control many aspects of the table, like the width of
+the column padding, the alignment of text within columns, which characters
+are used to draw the table border, whether you even want a border, and much
+more. You can control which subsets of the columns and rows are printed, and
+you can sort the rows by the value of a particular column.
diff --git a/textproc/py-prettytable/Makefile b/textproc/py-prettytable/Makefile
new file mode 100644
index 00000000000..08ebc0a1558
--- /dev/null
+++ b/textproc/py-prettytable/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.10 2021/05/04 08:33:14 fcambus Exp $
+
+DISTNAME= prettytable-2.0.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/prettytable/}
+
+MAINTAINER= fcambus@NetBSD.org
+HOMEPAGE= https://pypi.org/project/prettytable/
+COMMENT= Display tabular data in a visually appealing ASCII table format
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+
+DEPENDS+= ${PYPKGPREFIX}-wcwidth-[0-9]*:../../devel/py-wcwidth
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-prettytable/PLIST b/textproc/py-prettytable/PLIST
new file mode 100644
index 00000000000..2c510d5bb1f
--- /dev/null
+++ b/textproc/py-prettytable/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.5 2021/05/04 08:33:14 fcambus Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/prettytable/__init__.py
+${PYSITELIB}/prettytable/__init__.pyc
+${PYSITELIB}/prettytable/__init__.pyo
+${PYSITELIB}/prettytable/prettytable.py
+${PYSITELIB}/prettytable/prettytable.pyc
+${PYSITELIB}/prettytable/prettytable.pyo
diff --git a/textproc/py-prettytable/distinfo b/textproc/py-prettytable/distinfo
new file mode 100644
index 00000000000..3366111dfd4
--- /dev/null
+++ b/textproc/py-prettytable/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.7 2021/05/04 08:33:14 fcambus Exp $
+
+SHA1 (prettytable-2.0.0.tar.gz) = 3bb4dd7478e9cfe23e498082a09033ffc4fbcc0b
+RMD160 (prettytable-2.0.0.tar.gz) = 57c2ab6c0eeb64c4909ab8f0607839c5ce5256fe
+SHA512 (prettytable-2.0.0.tar.gz) = b7c47df7d85a91e9518dea8dafcb27037e5cde81f59dd2b9e9468ae44b18431dd7d943fed487d5713e2c5aa25df76a8eb6587d045f73b8f25f53715a8a2085fc
+Size (prettytable-2.0.0.tar.gz) = 43072 bytes