commit: 41c74d31cf4774eb5f79e2a3c8966326b49a3e9a Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> AuthorDate: Thu Jul 13 18:18:38 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Jul 26 06:28:40 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c74d31
dev-util/kyua: Add -std=c++14 in CXXFLAGS for clang-16 compatibility Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/31868 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/kyua/kyua-0.13-r3.ebuild | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/dev-util/kyua/kyua-0.13-r3.ebuild b/dev-util/kyua/kyua-0.13-r3.ebuild new file mode 100644 index 000000000000..4cd34b7ab883 --- /dev/null +++ b/dev-util/kyua/kyua-0.13-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Testing framework for infrastructure software" +HOMEPAGE="https://github.com/jmmv/kyua" +SRC_URI="https://github.com/jmmv/kyua/releases/download/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" + +# Tests fail +RESTRICT="test" + +RDEPEND=" + dev-db/sqlite:3 + dev-libs/atf + dev-lua/lutok +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( dev-libs/atf ) +" + +src_configure() { + # Uses std::auto_ptr (deprecated in c++11, removed in c++17) + append-cxxflags "-std=c++14" + + default +} + +src_install() { + default + rm -r "${ED}"/usr/tests || die +}
