mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-util/fpm: 0.7.0-r1 bump; bind to dev-libs/toml-f:0/2; enable tests
The fpm-0.7.0 initially has bundled toml-f-0.2.4 and currently incompatible with toml-f-0.3.1 resulting in tests failure. Therefore the dev-libs/toml-f is subsloted and dev-util/fpm-0.7.0 depends now on dev-libs/toml-f:0/2 (i.e. 0.2.4 version). Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
@@ -19,11 +19,11 @@ SRC_URI="
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="openmp doc"
|
||||
RESTRICT="test"
|
||||
IUSE="openmp doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/toml-f
|
||||
dev-libs/toml-f:0/2
|
||||
dev-libs/m_cli2
|
||||
"
|
||||
|
||||
@@ -99,6 +99,13 @@ src_compile() {
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${BSDIR}"/fpm test --compiler "$(tc-getFC)" --flag "${FCFLAGS} ${OMPFLAG} -I/usr/include/toml-f -I/usr/include/m_cli2" \
|
||||
--c-compiler "$(tc-getCC)" --c-flag "${CFLAGS}" \
|
||||
--cxx-compiler "$(tc-getCXX)" --cxx-flag "${CXXFLAGS}" \
|
||||
--archiver="$(tc-getAR)" --link-flag "${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Set prefix and pass all used env flags to avoid recompiling with default values
|
||||
"${BSDIR}"/fpm install --prefix "${ED}/usr" \
|
||||
Reference in New Issue
Block a user