From faa4e71e5377d2336d4f9e91380061e51443d23a Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Tue, 21 Nov 2023 12:02:13 +0100 Subject: dev-python/sexpdata: Fix build failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Müller --- 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(+) create mode 100644 dev-python/sexpdata/files/sexpdata-1.0.1-setup.patch (limited to 'dev-python/sexpdata') 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='jdboyd@jdboyd.net', + 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 -- cgit v1.2.3-65-gdbad