From 68ee43484dc10d1afe9078b7104ba8e1604e6a7c Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sat, 8 Feb 2025 20:59:44 -0500 Subject: [PATCH] python3-anytree: fix build with python3-poetry-core>=2.0 --- .../patches/project-metadata.patch | 16 ++++++++++++++++ srcpkgs/python3-anytree/template | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/python3-anytree/patches/project-metadata.patch diff --git a/srcpkgs/python3-anytree/patches/project-metadata.patch b/srcpkgs/python3-anytree/patches/project-metadata.patch new file mode 100644 index 00000000000..168f2070c9f --- /dev/null +++ b/srcpkgs/python3-anytree/patches/project-metadata.patch @@ -0,0 +1,16 @@ +Fix the build for python3-poetry-core>=2.0 + +--- a/pyproject.toml ++++ b/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 = "c0fec0de@gmail.com" } + ] + readme = "README.rst" + license = "Apache-2.0" diff --git a/srcpkgs/python3-anytree/template b/srcpkgs/python3-anytree/template index 48c207335ed..02c4f4ef354 100644 --- a/srcpkgs/python3-anytree/template +++ b/srcpkgs/python3-anytree/template @@ -1,7 +1,7 @@ # Template file for 'python3-anytree' pkgname=python3-anytree version=2.12.1 -revision=2 +revision=3 build_style=python3-pep517 hostmakedepends="python3-poetry-core" depends="python3-six"