dev-cpp/cli11: add 2.7.1

Possible overlooked something important given there was a lot of
formatting changes that makes the diff from 2.6.2 noisy.

Also, this seems to have embraced LLMs.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-07-31 20:16:20 -04:00
parent 6ee8e8bdd6
commit 62cc2bd438
2 changed files with 56 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST cli11-2.6.2.tar.gz 1381808 BLAKE2B fc1693874bef7ec193cdbf5ff070fbf186c6279578f889b1487aa1800d01696cd44acbb1a0e30062db9796b796d9992aebdb4b6d0d782236bf5bdda269c4b510 SHA512 3b17c02e120d6c14246157fcfef1e55c34462d8ee3adb55e49f4b180fc2e0d52ec4371505c009839c623ccc5bf4ac16c8c94707d10b1f1cb0e916c3402d2e7a6
DIST cli11-2.7.1.tar.gz 1443189 BLAKE2B 1b1e112a553a47f4290a5d56225081a68fcd1eeb086eee04e11a4103fe2985ea62541fa6cfbbdb84a94b47d26d526400929150e4dae5afbe45d7d65985949c4d SHA512 f59ee39d2bc1e9cc8c7ef587589f22fba78a7524774319fb951e975bf5963dd6acb87107226622cae0dc629decdb5ac2fd2dfed38a449ff1056d41188dcc506d
+55
View File
@@ -0,0 +1,55 @@
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Command line parser for C++11"
HOMEPAGE="https://cliutils.github.io/CLI11/book/"
SRC_URI="
https://github.com/CLIUtils/CLI11/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz
"
S=${WORKDIR}/${PN^^}-${PV}
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
DEPEND="
test? (
dev-cpp/catch:0
dev-libs/boost
)
"
BDEPEND="
doc? (
app-text/doxygen
media-gfx/graphviz
)
"
src_configure() {
local mycmakeargs=(
-DCLI11_BUILD_DOCS=$(usex doc)
-DCLI11_BUILD_EXAMPLES=no
-DCLI11_BUILD_TESTS=$(usex test)
$(usev test -DCLI11_BOOST=yes)
)
cmake_src_configure
}
src_compile() {
cmake_src_compile all $(usev doc docs)
}
src_install() {
local DOCS=( CHANGELOG.md README.md book/{chapters,code,*.md} )
cmake_src_install
use doc && dodoc -r html
}