summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-06-05 12:00:01 +0200
committerMichał Górny <mgorny@gentoo.org>2024-06-05 12:01:05 +0200
commit991571cd433f50868199c7a683ed537c4825cede (patch)
treeb2e5ae0a85b7f91f7f1dead574958d6c0ba7b215 /dev-python/pydevd
parentnet-analyzer/zabbix: bump to 7.0.0, dropped oracle support completely (diff)
downloadgentoo-991571cd433f50868199c7a683ed537c4825cede.tar.gz
gentoo-991571cd433f50868199c7a683ed537c4825cede.tar.bz2
gentoo-991571cd433f50868199c7a683ed537c4825cede.zip
dev-python/pydevd: Require extension build to pass
Closes: https://bugs.gentoo.org/933299 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pydevd')
-rw-r--r--dev-python/pydevd/pydevd-3.1.0-r1.ebuild (renamed from dev-python/pydevd/pydevd-3.1.0.ebuild)2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/pydevd/pydevd-3.1.0.ebuild b/dev-python/pydevd/pydevd-3.1.0-r1.ebuild
index 6dc4edbc8458..42e4036ae60c 100644
--- a/dev-python/pydevd/pydevd-3.1.0.ebuild
+++ b/dev-python/pydevd/pydevd-3.1.0-r1.ebuild
@@ -45,9 +45,11 @@ python_prepare_all() {
distutils-r1_python_prepare_all
# Drop -O3 and -flto compiler args
+ # Make extension build failures fatal
sed -i \
-e 's/extra_link_args = extra_compile_args\[\:\]/pass/g' \
-e '/extra_compile_args/d' \
+ -e '/except/a\ raise' \
setup.py || die
# Disable tests incompatible with new package versions