mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
sci-libs/volk: fix incorrect circular deps
Also allow FEATURES="test" and don't install files which are only needed for testing. Signed-off-by: Rick Farina <zerochaos@gentoo.org> Fixes: https://bugs.gentoo.org/886593
This commit is contained in:
@@ -20,13 +20,11 @@ IUSE="orc test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
net-wireless/gnuradio
|
||||
dev-libs/boost:=
|
||||
orc? ( dev-lang/orc )"
|
||||
DEPEND="${RDEPEND}
|
||||
$(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]')"
|
||||
|
||||
RESTRICT="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
@@ -43,5 +41,17 @@ src_install() {
|
||||
# Remove stray python files generated by the build system
|
||||
find "${ED}" -name '*.pyc' -exec rm -f {} \; || die
|
||||
find "${ED}" -name '*.pyo' -exec rm -f {} \; || die
|
||||
# https://github.com/gnuradio/volk/issues/626
|
||||
rm -f "${ED}/usr/bin/list_cpu_features"
|
||||
rm -rf "${ED}/usr/include/cpu_features"
|
||||
rm -rf "${ED}/usr/$(get_libdir)/cmake/CpuFeatures"
|
||||
rm -rf "${ED}/usr/lib64/libcpu_features.a"
|
||||
python_optimize
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local myctestargs=(
|
||||
-E "(check_lgpl)"
|
||||
)
|
||||
cmake_src_test
|
||||
}
|
||||
Reference in New Issue
Block a user