summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-10-16 13:47:01 +0000
committeradam <adam@pkgsrc.org>2018-10-16 13:47:01 +0000
commit3d6fa905d2896c5fbb975e161236e76507197a52 (patch)
tree499e071536ba3af1dbc837162df544b3510c03ed /textproc
parentc9544414bd163bcc2304893fa52af69c3bea9873 (diff)
downloadpkgsrc-3d6fa905d2896c5fbb975e161236e76507197a52.tar.gz
py-ptable: added version 0.9.2 (py-prettytable fork)
PTable is a simple Python library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables, originally forked from PrettyTable.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-prettytable/DESCR2
-rw-r--r--textproc/py-prettytable/Makefile21
-rw-r--r--textproc/py-prettytable/PLIST8
-rw-r--r--textproc/py-prettytable/distinfo6
-rw-r--r--textproc/py-ptable/ALTERNATIVES1
-rw-r--r--textproc/py-ptable/DESCR3
-rw-r--r--textproc/py-ptable/Makefile20
-rw-r--r--textproc/py-ptable/PLIST24
-rw-r--r--textproc/py-ptable/distinfo6
9 files changed, 54 insertions, 37 deletions
diff --git a/textproc/py-prettytable/DESCR b/textproc/py-prettytable/DESCR
deleted file mode 100644
index 1b465e2d8bd..00000000000
--- a/textproc/py-prettytable/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-A simple Python library for easily displaying tabular data in a visually
-appealing ASCII table format.
diff --git a/textproc/py-prettytable/Makefile b/textproc/py-prettytable/Makefile
deleted file mode 100644
index 63cce33043b..00000000000
--- a/textproc/py-prettytable/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: Makefile,v 1.6 2017/09/04 18:55:10 wiz Exp $
-#
-
-DISTNAME= prettytable-0.7.2
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
-CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_PYPI:=P/PrettyTable/}
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= https://pypi.python.org/pypi/PrettyTable/
-COMMENT= Simple Python library for easily displaying tabular data
-LICENSE= modified-bsd
-
-USE_LANGUAGES= # none
-
-post-extract:
- ${CHMOD} -R a+r ${WRKSRC}
-
-.include "../../lang/python/egg.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-prettytable/PLIST b/textproc/py-prettytable/PLIST
deleted file mode 100644
index 6697189a227..00000000000
--- a/textproc/py-prettytable/PLIST
+++ /dev/null
@@ -1,8 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2012/11/11 21:35:17 jakllsch Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/prettytable.py
-${PYSITELIB}/prettytable.pyc
-${PYSITELIB}/prettytable.pyo
diff --git a/textproc/py-prettytable/distinfo b/textproc/py-prettytable/distinfo
deleted file mode 100644
index 4dad6c95616..00000000000
--- a/textproc/py-prettytable/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 02:00:04 agc Exp $
-
-SHA1 (prettytable-0.7.2.tar.gz) = b7d0bf0feee0d23108a044ffae44aff5c5935250
-RMD160 (prettytable-0.7.2.tar.gz) = af187cbcf1139866bc67b1bc8cb5c3187726b41f
-SHA512 (prettytable-0.7.2.tar.gz) = 84611b9ad11bd428cdb00795e0a9baff44d027331b73ed1742596acda8acc8aca3df4276fa2f2ca2289f10b2989b3c86556de70bca6a9773b15cd80c54c33117
-Size (prettytable-0.7.2.tar.gz) = 24784 bytes
diff --git a/textproc/py-ptable/ALTERNATIVES b/textproc/py-ptable/ALTERNATIVES
new file mode 100644
index 00000000000..5f552a511dc
--- /dev/null
+++ b/textproc/py-ptable/ALTERNATIVES
@@ -0,0 +1 @@
+bin/ptable @PREFIX@/bin/ptable-@PYVERSSUFFIX@
diff --git a/textproc/py-ptable/DESCR b/textproc/py-ptable/DESCR
new file mode 100644
index 00000000000..5dbdc13a3ef
--- /dev/null
+++ b/textproc/py-ptable/DESCR
@@ -0,0 +1,3 @@
+PTable is a simple Python library designed to make it quick and easy to
+represent tabular data in visually appealing ASCII tables, originally forked
+from PrettyTable.
diff --git a/textproc/py-ptable/Makefile b/textproc/py-ptable/Makefile
new file mode 100644
index 00000000000..8a2fd9271e6
--- /dev/null
+++ b/textproc/py-ptable/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2018/10/16 13:47:01 adam Exp $
+
+DISTNAME= PTable-0.9.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=P/PTable/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/kxxoling/PTable
+COMMENT= Simple Python library for easily displaying tabular data
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} ptable ptable-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-ptable/PLIST b/textproc/py-ptable/PLIST
new file mode 100644
index 00000000000..7f98771732a
--- /dev/null
+++ b/textproc/py-ptable/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2018/10/16 13:47:01 adam Exp $
+bin/ptable-${PYVERSSUFFIX}
+${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}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/pbr.json
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/prettytable/__init__.py
+${PYSITELIB}/prettytable/__init__.pyc
+${PYSITELIB}/prettytable/__init__.pyo
+${PYSITELIB}/prettytable/_compact.py
+${PYSITELIB}/prettytable/_compact.pyc
+${PYSITELIB}/prettytable/_compact.pyo
+${PYSITELIB}/prettytable/cli.py
+${PYSITELIB}/prettytable/cli.pyc
+${PYSITELIB}/prettytable/cli.pyo
+${PYSITELIB}/prettytable/factory.py
+${PYSITELIB}/prettytable/factory.pyc
+${PYSITELIB}/prettytable/factory.pyo
+${PYSITELIB}/prettytable/prettytable.py
+${PYSITELIB}/prettytable/prettytable.pyc
+${PYSITELIB}/prettytable/prettytable.pyo
diff --git a/textproc/py-ptable/distinfo b/textproc/py-ptable/distinfo
new file mode 100644
index 00000000000..588c66f2351
--- /dev/null
+++ b/textproc/py-ptable/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/10/16 13:47:01 adam Exp $
+
+SHA1 (PTable-0.9.2.tar.gz) = 38c41cadd8dac4c49410c4e35d35f62042e817ad
+RMD160 (PTable-0.9.2.tar.gz) = 89d752444d706f44f7c959ba86182f50827ec942
+SHA512 (PTable-0.9.2.tar.gz) = e541abf6fa3cf54a14a3cd8bab4e80c50f2fe3b2bf1ca79390d0f74e74ce2c963bbd0720496c2c53d728e473bafc2e0da8857cd690fd4ad5f96040aafc53032f
+Size (PTable-0.9.2.tar.gz) = 31042 bytes