commit: e35c85e8f7ee82a020c23843971ccb88cfaa32a8 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri May 30 13:35:44 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri May 30 13:36:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e35c85e8
dev-cpp/libcmis: unrestrict tests Tests in the past were automagic based on whether dev-util/cppcheck was installed. That's long-fixed since 0.5.2 which moves that into a separate target. Unfortunately, filtering LTO for now though as we can't test it effectively b/c of ODR issues in tests. Bug: https://github.com/tdf/libcmis/issues/12 Bug: https://bugs.gentoo.org/577926 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-cpp/libcmis/libcmis-0.6.2-r1.ebuild | 11 +++++++---- dev-cpp/libcmis/libcmis-9999.ebuild | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/dev-cpp/libcmis/libcmis-0.6.2-r1.ebuild b/dev-cpp/libcmis/libcmis-0.6.2-r1.ebuild index 2d9688b24061..d0003a90e634 100644 --- a/dev-cpp/libcmis/libcmis-0.6.2-r1.ebuild +++ b/dev-cpp/libcmis/libcmis-0.6.2-r1.ebuild @@ -10,7 +10,7 @@ else SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x86-linux" fi -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="C++ client library for the CMIS interface" HOMEPAGE="https://github.com/tdf/libcmis" @@ -18,15 +18,15 @@ HOMEPAGE="https://github.com/tdf/libcmis" LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )" SLOT="0/0.6" IUSE="man test tools" - -RESTRICT="test" +RESTRICT="!test? ( test )" DEPEND=" dev-libs/boost:= dev-libs/libxml2:= net-misc/curl " -RDEPEND="${DEPEND} +RDEPEND=" + ${DEPEND} !dev-cpp/libcmis:0.5 " BDEPEND=" @@ -54,6 +54,9 @@ src_prepare() { } src_configure() { + # ODR issues in tests w/ curl + filter-lto + local myeconfargs=( --disable-werror $(use_with man) diff --git a/dev-cpp/libcmis/libcmis-9999.ebuild b/dev-cpp/libcmis/libcmis-9999.ebuild index 231f8c13549d..65ada23e2810 100644 --- a/dev-cpp/libcmis/libcmis-9999.ebuild +++ b/dev-cpp/libcmis/libcmis-9999.ebuild @@ -10,7 +10,7 @@ else SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" fi -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="C++ client library for the CMIS interface" HOMEPAGE="https://github.com/tdf/libcmis" @@ -18,15 +18,15 @@ HOMEPAGE="https://github.com/tdf/libcmis" LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )" SLOT="0/0.6" IUSE="man test tools" - -RESTRICT="test" +RESTRICT="!test? ( test )" DEPEND=" dev-libs/boost:= dev-libs/libxml2:= net-misc/curl " -RDEPEND="${DEPEND} +RDEPEND=" + ${DEPEND} !dev-cpp/libcmis:0.5 " BDEPEND=" @@ -47,6 +47,9 @@ src_prepare() { } src_configure() { + # ODR issues in tests w/ curl + filter-lto + local myeconfargs=( --disable-werror $(use_with man)
