Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2026 16:47:25 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 99f2b848bddd - main - misc/py-numcodecs: Fix patch-pyproject.toml
Message-ID:  <69f3879d.226fb.45a4dd5e@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=99f2b848bddd462842cf9047dcdf25a9451d57fb

commit 99f2b848bddd462842cf9047dcdf25a9451d57fb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-30 16:44:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-30 16:44:57 +0000

    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)
---
 misc/py-numcodecs/files/patch-pyproject.toml | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/misc/py-numcodecs/files/patch-pyproject.toml b/misc/py-numcodecs/files/patch-pyproject.toml
index 67551b758830..8d24154261bf 100644
--- a/misc/py-numcodecs/files/patch-pyproject.toml
+++ b/misc/py-numcodecs/files/patch-pyproject.toml
@@ -1,10 +1,16 @@
---- pyproject.toml.orig	2026-04-29 11:34:44.748376000 -0700
-+++ pyproject.toml	2026-04-29 11:34:44.749156000 -0700
-@@ -33,7 +33,6 @@
+--- 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",
+-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"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f3879d.226fb.45a4dd5e>