Files
ports/misc/py-numcodecs/files/patch-pyproject.toml
T
Po-Chuan Hsieh 99f2b848bd misc/py-numcodecs: Fix patch-pyproject.toml
The error message is as follows:
===>  Configuring for py311-numcodecs-0.16.5
/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` must not contain {'license-files'} properties
...
ValueError: invalid pyproject.toml config: `project`
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/py-numcodecs

Approved by:	portmgr (blanket)
2026-05-01 00:44:57 +08:00

17 lines
423 B
TOML

--- pyproject.toml.orig 2025-11-21 02:38:15 UTC
+++ pyproject.toml
@@ -33,12 +33,7 @@ maintainers = [
maintainers = [
{ name = "Alistair Miles", email = "alimanfoo@googlemail.com" },
]
-license = "MIT"
-license-files = [
- "LICENSE.txt",
- "c-blosc/LICENSE.txt",
- "c-blosc/LICENSES/*",
-]
+license = { text = "MIT" }
[project.urls]
"Bug Tracker" = "https://github.com/zarr-developers/numcodecs/issues"