mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/bottleneck: don't overwrite users -O*
Closes: https://bugs.gentoo.org/886989 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user