py-graphviz: updated to 0.20.3

Version 0.20.3
--------------

Revert improvements to the internal ``tools.deprecate_positional_args()``
decorator that caused false positive
``PendingDeprecationWarning: The signature of ... will be reduced``
warnings that have been misinterpreted in the 0.20.2 release process.


Version 0.20.2
--------------

Drop Python 3.7 support (end of life 27 Jun 2023).

Tag Python 3.11 and 3.12 support.

Add caveat about ``labe`` escaping/quoting to ``.node()`` and ``.render()``
API docs.

Document that ``doctest_skip_exe()`` lines in doctest should be ignored.

Improve internal ``tools.deprecate_positional_args()`` decorator
and fix incorect test assertion.

Update GitHub actions.

Pin ``pytest`` test dependency to ``<8.1`` as a workaround
for ``import file mismatch error`` related to ``conftest.py`` files,
in ``pytest 8.1.1``, see https://github.com/pytest-dev/pytest/issues/12123.
This commit is contained in:
adam 2024-03-23 16:34:07 +00:00
parent 1a282b9745
commit b83c5cd665
3 changed files with 16 additions and 18 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.20 2022/10/31 15:40:38 adam Exp $
# $NetBSD: Makefile,v 1.21 2024/03/23 16:34:07 adam Exp $
DISTNAME= graphviz-0.20.1
DISTNAME= graphviz-0.20.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/graphviz/}
@ -11,18 +11,16 @@ HOMEPAGE= https://github.com/xflr6/graphviz
COMMENT= Create and render graph descriptions in DOT language
LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=1.8:../../devel/py-test-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=3:../../devel/py-test-mock
USE_LANGUAGES= # none
PYSETUPTESTTARGET= pytest
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,9 +1,9 @@
@comment $NetBSD: PLIST,v 1.4 2021/12/30 21:20:13 adam 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
@comment $NetBSD: PLIST,v 1.5 2024/03/23 16:34:07 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/graphviz/__init__.py
${PYSITELIB}/graphviz/__init__.pyc
${PYSITELIB}/graphviz/__init__.pyo

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.20 2022/10/31 15:40:38 adam Exp $
$NetBSD: distinfo,v 1.21 2024/03/23 16:34:07 adam Exp $
BLAKE2s (graphviz-0.20.1.zip) = f48ce59d344dc02484a4cc31ae18a45a8ba70722d6ddc714917129903a1f23e3
SHA512 (graphviz-0.20.1.zip) = 79be98b0b8efff8d865661dca2260ce9e2ba0a855acb112aa922ec7b91f87397a3c5e4134df9a75c62dc3c8add2942ab4dac321cce068a355bf2819cdeb806bf
Size (graphviz-0.20.1.zip) = 255182 bytes
BLAKE2s (graphviz-0.20.3.zip) = 3a260660b94b68a68397280b0ac34e1abd547c69b7e1b2e7e74966f78cd26a69
SHA512 (graphviz-0.20.3.zip) = 2071fdd699bfe3918260489c9cc8014b248059196d573acd2a3a666b1c8b5fce0b0592484955ee9ada32e540517ab1951595ad932a75c4d120fc6ec117f66d60
Size (graphviz-0.20.3.zip) = 256455 bytes