summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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