summaryrefslogtreecommitdiff
path: root/dev-python/ipython
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-06-10 14:43:12 +0200
committerMichał Górny <mgorny@gentoo.org>2022-06-10 14:44:33 +0200
commit6fb2dbd04266ab19ebe83a99b4e7c7c8907fdcf4 (patch)
treef7d42546692eb25cf1d59f27329959beb3e4fed1 /dev-python/ipython
parent524b1d19c53df3a7f3ba688a0fd08f92a1539fa3 (diff)
downloadgentoo-6fb2dbd04266ab19ebe83a99b4e7c7c8907fdcf4.tar.gz
gentoo-6fb2dbd04266ab19ebe83a99b4e7c7c8907fdcf4.tar.bz2
gentoo-6fb2dbd04266ab19ebe83a99b4e7c7c8907fdcf4.zip
dev-python/ipython: Force legacy setuptools backend
Closes: https://bugs.gentoo.org/850916 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ipython')
-rw-r--r--dev-python/ipython/ipython-8.2.0.ebuild4
-rw-r--r--dev-python/ipython/ipython-8.3.0-r1.ebuild4
-rw-r--r--dev-python/ipython/ipython-8.4.0.ebuild8
3 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/ipython/ipython-8.2.0.ebuild b/dev-python/ipython/ipython-8.2.0.ebuild
index 4d3f9a00ccde..91060ec26912 100644
--- a/dev-python/ipython/ipython-8.2.0.ebuild
+++ b/dev-python/ipython/ipython-8.2.0.ebuild
@@ -91,6 +91,10 @@ python_prepare_all() {
# https://github.com/ipython/ipython/issues/12892
mv IPython/extensions/{,ipython_}tests || die
+ # remove pyproject.toml that specifies incorrect backend; since
+ # the package actually requires the legacy backend, force it implicitly
+ rm pyproject.toml || die
+
distutils-r1_python_prepare_all
}
diff --git a/dev-python/ipython/ipython-8.3.0-r1.ebuild b/dev-python/ipython/ipython-8.3.0-r1.ebuild
index aaa7a7ae63a3..3a38a26f8d7a 100644
--- a/dev-python/ipython/ipython-8.3.0-r1.ebuild
+++ b/dev-python/ipython/ipython-8.3.0-r1.ebuild
@@ -89,6 +89,10 @@ python_prepare_all() {
# https://github.com/ipython/ipython/issues/12892
mv IPython/extensions/{,ipython_}tests || die
+ # remove pyproject.toml that specifies incorrect backend; since
+ # the package actually requires the legacy backend, force it implicitly
+ rm pyproject.toml || die
+
distutils-r1_python_prepare_all
}
diff --git a/dev-python/ipython/ipython-8.4.0.ebuild b/dev-python/ipython/ipython-8.4.0.ebuild
index bf72d46c9cb2..867a05be8b5c 100644
--- a/dev-python/ipython/ipython-8.4.0.ebuild
+++ b/dev-python/ipython/ipython-8.4.0.ebuild
@@ -89,6 +89,14 @@ python_prepare_all() {
# https://github.com/ipython/ipython/issues/12892
mv IPython/extensions/{,ipython_}tests || die
+ if ! grep -q __legacy__ pyproject.toml; then
+ die "pyproject.toml changed, please recheck"
+ fi
+
+ # remove pyproject.toml that specifies incorrect backend; since
+ # the package actually requires the legacy backend, force it implicitly
+ rm pyproject.toml || die
+
distutils-r1_python_prepare_all
}