commit:     faa4e71e5377d2336d4f9e91380061e51443d23a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 21 11:02:13 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Nov 21 11:02:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa4e71e

dev-python/sexpdata: Fix build failure

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 dev-python/sexpdata/files/sexpdata-1.0.1-setup.patch | 16 ++++++++++++++++
 dev-python/sexpdata/sexpdata-1.0.1.ebuild            |  2 ++
 2 files changed, 18 insertions(+)

diff --git a/dev-python/sexpdata/files/sexpdata-1.0.1-setup.patch 
b/dev-python/sexpdata/files/sexpdata-1.0.1-setup.patch
new file mode 100644
index 000000000000..a647058d4cdd
--- /dev/null
+++ b/dev-python/sexpdata/files/sexpdata-1.0.1-setup.patch
@@ -0,0 +1,16 @@
+Fix build failure.
+/usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:75:
 _MissingDynamic: `license` defined outside of `pyproject.toml` is ignored.
+
+--- sexpdata-1.0.1/setup.py
++++ sexpdata-1.0.1/setup.py
+@@ -12,10 +12,8 @@
+     author='Joshua D. Boyd, Takafumi Arakaki',
+     author_email='[email protected]',
+     url='https://github.com/jd-boyd/sexpdata',
+-    license='BSD License',
+     description='S-expression parser for Python',
+     long_description=long_description,
+-    keywords='s-expression, lisp, parser',
+     classifiers=[
+         "Development Status :: 3 - Alpha",
+         'License :: OSI Approved :: BSD License',

diff --git a/dev-python/sexpdata/sexpdata-1.0.1.ebuild 
b/dev-python/sexpdata/sexpdata-1.0.1.ebuild
index dd901557ed02..44206508b543 100644
--- a/dev-python/sexpdata/sexpdata-1.0.1.ebuild
+++ b/dev-python/sexpdata/sexpdata-1.0.1.ebuild
@@ -22,4 +22,6 @@ LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 
+PATCHES=( "${FILESDIR}/${P}-setup.patch" )
+
 distutils_enable_tests pytest

Reply via email to