pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-prettytable py-prettytable: updated to 2.1.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/8b285049c391
branches: trunk
changeset: 451957:8b285049c391
user: adam <adam%pkgsrc.org@localhost>
date: Tue May 04 09:27:03 2021 +0000
description:
py-prettytable: updated to 2.1.0
Release 2.1.0
Added
Support formatting options in get_json_string()
Changed
Replace setuptools/pkg_resources with importlib.metadata for getting version
Fixed
Docs: Add documentation for align, max_width, etc.
Docs: Remove reference to Python 2.x print statement in README
Docs: Update get_html_string with thead and tbody tags
diffstat:
textproc/py-prettytable/Makefile | 19 +++++++++++++++----
textproc/py-prettytable/distinfo | 10 +++++-----
2 files changed, 20 insertions(+), 9 deletions(-)
diffs (52 lines):
diff -r be4c19051aa1 -r 8b285049c391 textproc/py-prettytable/Makefile
--- a/textproc/py-prettytable/Makefile Tue May 04 09:21:21 2021 +0000
+++ b/textproc/py-prettytable/Makefile Tue May 04 09:27:03 2021 +0000
@@ -1,18 +1,29 @@
-# $NetBSD: Makefile,v 1.10 2021/05/04 08:33:14 fcambus Exp $
+# $NetBSD: Makefile,v 1.11 2021/05/04 09:27:03 adam Exp $
-DISTNAME= prettytable-2.0.0
+DISTNAME= prettytable-2.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/prettytable/}
MAINTAINER= fcambus%NetBSD.org@localhost
-HOMEPAGE= https://pypi.org/project/prettytable/
+HOMEPAGE= https://github.com/jazzband/prettytable
COMMENT= Display tabular data in a visually appealing ASCII table format
LICENSE= modified-bsd
+DEPENDS+= ${PYPKGPREFIX}-wcwidth-[0-9]*:../../devel/py-wcwidth
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+.endif
+
USE_LANGUAGES= # none
-DEPENDS+= ${PYPKGPREFIX}-wcwidth-[0-9]*:../../devel/py-wcwidth
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r be4c19051aa1 -r 8b285049c391 textproc/py-prettytable/distinfo
--- a/textproc/py-prettytable/distinfo Tue May 04 09:21:21 2021 +0000
+++ b/textproc/py-prettytable/distinfo Tue May 04 09:27:03 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2021/05/04 08:33:14 fcambus Exp $
+$NetBSD: distinfo,v 1.8 2021/05/04 09:27:03 adam 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
+SHA1 (prettytable-2.1.0.tar.gz) = b39dd9b7da575a254dcc2b0c3a408c4cdcbf65c9
+RMD160 (prettytable-2.1.0.tar.gz) = e3ff9f62d76ba5bdf38cddd44ba5d414b7f1ba5a
+SHA512 (prettytable-2.1.0.tar.gz) = 8eaad22c66299ca3f66cc167e1a94aa41e3b2699da4ff48a0e81927ee8cc623d3147ae29a0bef92370d07d6a7fb6b1eac535fca7090562419aed219b9483edd5
+Size (prettytable-2.1.0.tar.gz) = 43306 bytes
Home |
Main Index |
Thread Index |
Old Index