diff options
| author | Sam James <sam@gentoo.org> | 2025-05-30 14:35:44 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-05-30 14:36:52 +0100 |
| commit | e35c85e8f7ee82a020c23843971ccb88cfaa32a8 (patch) | |
| tree | 6731251c5e5b5d3e157bd2d2e471b7c36f7d1139 /dev-cpp | |
| parent | 564b8fa99c394e915142731216be70ec53010e36 (diff) | |
| download | gentoo-e35c85e8f7ee82a020c23843971ccb88cfaa32a8.tar.gz gentoo-e35c85e8f7ee82a020c23843971ccb88cfaa32a8.tar.bz2 gentoo-e35c85e8f7ee82a020c23843971ccb88cfaa32a8.zip | |
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@gentoo.org>
Diffstat (limited to 'dev-cpp')
| -rw-r--r-- | dev-cpp/libcmis/libcmis-0.6.2-r1.ebuild | 11 | ||||
| -rw-r--r-- | 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) |
