diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-12-19 20:27:19 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-12-19 20:27:19 +0200 |
commit | 3e5b8e028ece48bd3cf4eeac01219783c9b29c99 (patch) | |
tree | e2e46900a49eb72eecf35f5f811ec34d7a8cf5e1 /dev-python/bottleneck | |
parent | sys-fs/lvm2: Stabilize 2.03.17-r1 x86, #887203 (diff) | |
download | gentoo-3e5b8e028ece48bd3cf4eeac01219783c9b29c99.tar.gz gentoo-3e5b8e028ece48bd3cf4eeac01219783c9b29c99.tar.bz2 gentoo-3e5b8e028ece48bd3cf4eeac01219783c9b29c99.zip |
dev-python/bottleneck: don't overwrite users -O*
Closes: https://bugs.gentoo.org/886989
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/bottleneck')
-rw-r--r-- | dev-python/bottleneck/bottleneck-1.3.5-r1.ebuild (renamed from dev-python/bottleneck/bottleneck-1.3.5.ebuild) | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-python/bottleneck/bottleneck-1.3.5.ebuild b/dev-python/bottleneck/bottleneck-1.3.5-r1.ebuild index d1a52a75700d..9f919ab05ef5 100644 --- a/dev-python/bottleneck/bottleneck-1.3.5.ebuild +++ b/dev-python/bottleneck/bottleneck-1.3.5-r1.ebuild @@ -31,6 +31,13 @@ DEPEND=" distutils_enable_tests pytest +src_prepare() { + # don't overwrites user's optimization level + sed -e '/extra_compile_args=\["-O2"\]/d' -i setup.py || die + + distutils-r1_src_prepare +} + python_test() { cd "${BUILD_DIR}/install$(python_get_sitedir)" || die epytest |