Date: Tue, 18 Oct 2022 07:03:08 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267165] devel/py-black package creation fails Message-ID: <bug-267165-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267165 Bug ID: 267165 Summary: devel/py-black package creation fails Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: dimitri@kaparis.name Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org Invoking `make package` for devel/py-black fails with the following output: ``` =3D=3D=3D> py39-black-22.10.0_1 depends on package: py39-setuptools_scm>= =3D6.3.1 - found =3D=3D=3D> py39-black-22.10.0_1 depends on package: py39-setuptools>=3D63= .1.0 - found =3D=3D=3D> py39-black-22.10.0_1 depends on file: /usr/local/bin/python3.9= - found =3D=3D=3D> Configuring for py39-black-22.10.0_1 configuration error: `project.license` must be valid exactly by one definit= ion (2 matches found): - keys: 'file': {type: string} required: ['file'] - keys: 'text': {type: string} required: ['text'] DESCRIPTION: `Project license <https://www.python.org/dev/peps/pep-0621/#license>`_. GIVEN VALUE: "MIT" OFFENDING RULE: 'oneOf' DEFINITION: { "oneOf": [ { "properties": { "file": { "type": "string", "$$description": [ "Relative path to the file (UTF-8) which contai= ns the license for the", "project." ] } }, "required": [ "file" ] }, { "properties": { "text": { "type": "string", "$$description": [ "The license of the project whose meaning is th= at of the", "`License field from the core metadata", =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 "<https://packaging.python.org/specifications/core-metadata/#license>`_." ] } }, "required": [ "text" ] } ] } Traceback (most recent call last): File "<string>", line 1, in <module> File "setup.py", line 4, in <module> setup( File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.p= y", line 151, in setup dist.parse_config_files() File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 86= 8, in parse_config_files pyprojecttoml.apply_configuration(self, filename, ignore_option_errors) File "/usr/local/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 58, in apply_configuration config =3D read_configuration(filepath, True, ignore_option_errors, dis= t) File "/usr/local/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 122, in read_configuration validate(subset, filepath) File "/usr/local/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 47, in validate raise error from None ValueError: invalid pyproject.toml config: `project.license` *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/py-black *** Error code 1 Stop. make: stopped in /usr/ports/devel/py-black ``` --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267165-7788>