commit: 4db6ac1bd1d41538dcba70f601f470c26038971b Author: Filip Kobierski <fkobi <AT> pm <DOT> me> AuthorDate: Tue Jun 17 12:07:05 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jun 22 09:52:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db6ac1b
dev-cpp/ut2-glaze: drop ineffective USE=doc also - remove "A " from DESCRIPTION - remove cmake BDEPEND -- it's in `inherit cmake` - shorten `usex` Signed-off-by: Filip Kobierski <fkobi <AT> pm.me> Part-of: https://github.com/gentoo/gentoo/pull/42640 Closes: https://github.com/gentoo/gentoo/pull/42640 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-cpp/ut2-glaze/metadata.xml | 3 --- dev-cpp/ut2-glaze/ut2-glaze-0.0.4.ebuild | 16 +++------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/dev-cpp/ut2-glaze/metadata.xml b/dev-cpp/ut2-glaze/metadata.xml index 9bf458ed4850..f3d0ae81a9ce 100644 --- a/dev-cpp/ut2-glaze/metadata.xml +++ b/dev-cpp/ut2-glaze/metadata.xml @@ -13,9 +13,6 @@ Yet another stripped down fork of boost-ext ut2 (! not ut !). ut2 is a library for testing using `constexpr` extensively in comparison to boost-ext/ut. </longdescription> - <use> - <flag name="doc">Install README files</flag> - </use> <upstream> <bugs-to>https://github.com/openalgz/ut/issues</bugs-to> <changelog>https://github.com/openalgz/ut/releases</changelog> diff --git a/dev-cpp/ut2-glaze/ut2-glaze-0.0.4.ebuild b/dev-cpp/ut2-glaze/ut2-glaze-0.0.4.ebuild index b8ba90e5afeb..257a8c7e0af7 100644 --- a/dev-cpp/ut2-glaze/ut2-glaze-0.0.4.ebuild +++ b/dev-cpp/ut2-glaze/ut2-glaze-0.0.4.ebuild @@ -6,7 +6,7 @@ EAPI=8 # it's a header-only lib, thus not cmake-multilib. However, examples and tests... inherit cmake -DESCRIPTION="A stripped down fork of boost-ext ut2" +DESCRIPTION="Stripped down fork of boost-ext ut2" HOMEPAGE="https://github.com/openalgz/ut" SRC_URI="https://github.com/openalgz/ut/archive/refs/tags/v${PV}.tar.gz -> ut2-openalgz-${PV}.tar.gz" @@ -15,11 +15,9 @@ S="${WORKDIR}/ut-${PV}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="test doc" +IUSE="test" RESTRICT="!test? ( test )" -BDEPEND="dev-build/cmake" - # Build patches from Arniiiii, https://github.com/gentoo-mirror/ex_repo PATCHES=( "${FILESDIR}/${P}-optional-test.patch" @@ -30,15 +28,7 @@ PATCHES=( src_configure() { local mycmakeargs=( -DCMAKE_SKIP_INSTALL_RULES=OFF - -DBUILD_TESTING=$(usex test ON OFF) + -DBUILD_TESTING=$(usex test) ) cmake_src_configure } - -src_install() { - if use doc; then - einstalldocs - fi - - cmake_src_install -}
