diff options
author | adam <adam@pkgsrc.org> | 2021-05-04 09:27:03 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-05-04 09:27:03 +0000 |
commit | cd08dbeb2314f48c237ad5411e5b8de48cb86636 (patch) | |
tree | 883c2e3bd5041a00ec53b3224311d0d2dbfcdc58 /textproc | |
parent | 637cae2e3684943a21afa27bc15175cf0f8a47b2 (diff) | |
download | pkgsrc-cd08dbeb2314f48c237ad5411e5b8de48cb86636.tar.gz |
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 (limited to 'textproc')
-rw-r--r-- | textproc/py-prettytable/Makefile | 19 | ||||
-rw-r--r-- | textproc/py-prettytable/distinfo | 10 |
2 files changed, 20 insertions, 9 deletions
diff --git a/textproc/py-prettytable/Makefile b/textproc/py-prettytable/Makefile index 08ebc0a1558..db17eea1fb6 100644 --- a/textproc/py-prettytable/Makefile +++ b/textproc/py-prettytable/Makefile @@ -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 -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 --git a/textproc/py-prettytable/distinfo b/textproc/py-prettytable/distinfo index 3366111dfd4..bcee72e5281 100644 --- a/textproc/py-prettytable/distinfo +++ b/textproc/py-prettytable/distinfo @@ -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 |