mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
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@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@gentoo.org>
This commit is contained in:
parent
e08f18a954
commit
4db6ac1bd1
@ -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>
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user