python3-anytree: fix build with python3-poetry-core>=2.0

This commit is contained in:
Andrew J. Hesford 2025-02-08 20:59:44 -05:00
parent 24f24b6c24
commit 68ee43484d
2 changed files with 17 additions and 1 deletions

View file

@ -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 <c0fec0de@gmail.com>"
+ { name = "c0fec0de", email = "c0fec0de@gmail.com" }
]
readme = "README.rst"
license = "Apache-2.0"

View file

@ -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"