diff --git a/devel/py-anytree/Makefile b/devel/py-anytree/Makefile index ced3300b8a2c..439f8030cfaf 100644 --- a/devel/py-anytree/Makefile +++ b/devel/py-anytree/Makefile @@ -1,29 +1,30 @@ PORTNAME= anytree DISTVERSION= 2.12.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= arrowd@FreeBSD.org COMMENT= Powerful and Lightweight Python Tree Data Structure WWW= https://github.com/c0fec0de/anytree/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ dot:graphics/graphviz USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes # test_tree_png runs `dot` and returns "Error: Could not find/open font" # exclude it for now do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= \ -k 'not test_tree_png' .include diff --git a/devel/py-anytree/files/patch-pyproject.toml b/devel/py-anytree/files/patch-pyproject.toml new file mode 100644 index 000000000000..9021e4fb2ef4 --- /dev/null +++ b/devel/py-anytree/files/patch-pyproject.toml @@ -0,0 +1,21 @@ +--- pyproject.toml.orig 2023-11-16 21:52:39 UTC ++++ pyproject.toml +@@ -1,9 +1,9 @@ +-[tool.poetry] ++[project] + name = "anytree" + version = "2.12.1" + description = "Powerful and Lightweight Python Tree Data Structure with various plugins" + authors = [ +- "c0fec0de " ++ {name = "c0fec0de", email = ""} + ] + readme = "README.rst" + license = "Apache-2.0" +@@ -117,4 +117,4 @@ commands = + poetry run coverage xml + poetry run pylint anytree + poetry run make html -C docs +-""" +\ No newline at end of file ++"""