summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-11-21 12:02:13 +0100
committerUlrich Müller <ulm@gentoo.org>2023-11-21 12:02:13 +0100
commitfaa4e71e5377d2336d4f9e91380061e51443d23a (patch)
tree25ce4f5b9f90d6bf9cdb4ccf753723bb5a2dc27f /dev-python/sexpdata
parentkde-frameworks/krunner: Drop long obsolete dependency (diff)
downloadgentoo-faa4e71e5377d2336d4f9e91380061e51443d23a.tar.gz
gentoo-faa4e71e5377d2336d4f9e91380061e51443d23a.tar.bz2
gentoo-faa4e71e5377d2336d4f9e91380061e51443d23a.zip
dev-python/sexpdata: Fix build failure
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-python/sexpdata')
-rw-r--r--dev-python/sexpdata/files/sexpdata-1.0.1-setup.patch16
-rw-r--r--dev-python/sexpdata/sexpdata-1.0.1.ebuild2
2 files changed, 18 insertions, 0 deletions
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