ports/databases/py-aiosql/files/patch-pyproject.toml
Nicola Vitale 9c20757026
databases/py-aiosql: Update to 13.4
- Add a patch to fix build that would otherwise fail with the error:

===>  Building for py311-aiosql-13.4
* Getting build dependencies for wheel...
[06/13/25 10:43:25] WARNING  pyproject.toml does not contain a tool.setuptools_scm section                                                                              setuptools.py:119
/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']

Reported by:	portscout!
2025-06-13 10:54:36 +02:00

12 lines
343 B
TOML

--- pyproject.toml.orig 2025-04-09 08:26:41 UTC
+++ pyproject.toml
@@ -9,7 +9,7 @@ requires-python = ">=3.9"
description = "Simple SQL in Python"
readme = "README.rst"
requires-python = ">=3.9"
-license = "BSD-2-Clause"
+license = {file="LICENSE"}
classifiers = [
"Programming Language :: Python",
"Programming Language :: SQL",