app-arch/advancecomp: Remove unnecessary test code

Disable using valgrind for tests.  Remove the now-unused flag
and commented out unnecessary deps.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2018-11-25 16:33:08 +01:00
parent b155ee79dd
commit c432342c84

View File

@@ -10,20 +10,22 @@ SRC_URI="https://github.com/amadvance/${PN}/releases/download/v${PV}/${P}.tar.gz
LICENSE="GPL-2+ Apache-2.0 LGPL-2.1+ MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE="test"
IUSE=""
RDEPEND="app-arch/bzip2:=
sys-libs/zlib:="
DEPEND="${RDEPEND}"
# test? ( dev-util/valgrind )
# test? ( app-text/tofrodos )
RESTRICT="test" #282441, #523212
# Tests seem to rely on exact output:
# https://sourceforge.net/p/advancemame/bugs/270/
RESTRICT="test"
src_configure() {
local myconf=(
--enable-bzip2
$(use_enable test valgrind)
# (--disable-* arguments are mishandled)
# --disable-debug
# --disable-valgrind
)
econf "${myconf[@]}"
}