Files
ports/math/py-CyLP/files/patch-pyproject.toml
2026-10-04 04:07:15 +00:00

24 lines
753 B
TOML

-- Set the project name to match the FreeBSD PORTNAME so the built wheel
-- is staged as CyLP-${PORTVERSION}*.whl instead of cylp-*.
-- Fix pyproject.toml project.license for older setuptools.
-- The in-tree setuptools does not yet support PEP 639 SPDX license strings,
-- so use the legacy PEP 621 `license = {text = "..."}` form instead.
--- pyproject.toml.orig 2025-12-03 14:09:23 UTC
+++ pyproject.toml
@@ -1,5 +1,5 @@
[project]
-name = "cylp"
+name = "CyLP"
version = "0.94.0"
description="A Python interface for CLP, CBC, and CGL"
readme="README.rst"
@@ -12,7 +12,7 @@ dependencies = [
"numpy >= 1.26.0",
"scipy >= 0.10.0",
]
-license='EPL-2.0'
+license={text='EPL-2.0'}
[project.urls]
"Home Page"="https://github.com/coin-or/CyLP"