pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-prettytable



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May  4 09:27:03 UTC 2021

Modified Files:
        pkgsrc/textproc/py-prettytable: Makefile distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/py-prettytable/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/py-prettytable/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-prettytable/Makefile
diff -u pkgsrc/textproc/py-prettytable/Makefile:1.10 pkgsrc/textproc/py-prettytable/Makefile:1.11
--- pkgsrc/textproc/py-prettytable/Makefile:1.10        Tue May  4 08:33:14 2021
+++ pkgsrc/textproc/py-prettytable/Makefile     Tue May  4 09:27:03 2021
@@ -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"

Index: pkgsrc/textproc/py-prettytable/distinfo
diff -u pkgsrc/textproc/py-prettytable/distinfo:1.7 pkgsrc/textproc/py-prettytable/distinfo:1.8
--- pkgsrc/textproc/py-prettytable/distinfo:1.7 Tue May  4 08:33:14 2021
+++ pkgsrc/textproc/py-prettytable/distinfo     Tue May  4 09:27:03 2021
@@ -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