Created attachment 265688 [details] Updated Makefile and distinfo
===> Configuring for py311-archinfo-9.2.185 /usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:104: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. warnings.warn(msg, _BetaConfiguration) configuration error: `project.license` must be valid exactly by one definition (2 matches found): - keys: 'file': {type: string} required: ['file'] - keys: 'text': {type: string} required: ['text'] Traceback (most recent call last): File "<string>", line 1, in <module> File "setup.py", line 3, in <module> setup( File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 151, in setup dist.parse_config_files() File "/usr/local/lib/python3.11/site-packages/setuptools/dist.py", line 868, in parse_config_files pyprojecttoml.apply_configuration(self, filename, ignore_option_errors) File "/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 58, in apply_configuration config = read_configuration(filepath, True, ignore_option_errors, dist) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 122, in read_configuration validate(subset, filepath) File "/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 47, in validate raise error from None ValueError: invalid pyproject.toml config: `project.license` *** Error code 1
Check this for example: https://cgit.freebsd.org/ports/tree/archivers/py-zlib-ng/files/patch-pyproject.toml
devel/py-archinfo/files/patch-pyproject.toml: --- pyproject.toml.orig 2025-11-25 17:09:08 UTC +++ pyproject.toml @@ -5,8 +5,8 @@ description = "Classes with architecture-specific info [project] name = "archinfo" description = "Classes with architecture-specific information useful to other projects." -license = "BSD-2-Clause" -license-files = ["LICENSE"] +license = {text = "BSD-2-Clause"} +#license-files = ["LICENSE"] classifiers = [ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only",
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8b92f725402e774638b7bed7a04c6a235a42df33 commit 8b92f725402e774638b7bed7a04c6a235a42df33 Author: Rares Aioanei <schaiba@gmail.com> AuthorDate: 2025-11-29 14:41:01 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-11-29 14:41:01 +0000 devel/py-archinfo: Update 9.2.181 => 9.2.185 Commit log: https://github.com/angr/archinfo/compare/v9.2.181...v9.2.185 PR: 291265 Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org> devel/py-archinfo/Makefile | 2 +- devel/py-archinfo/distinfo | 6 +++--- devel/py-archinfo/files/patch-pyproject.toml (new) | 13 +++++++++++++ 3 files changed, 17 insertions(+), 4 deletions(-)
Thanks.