From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AB7FA158064 for ; Sat, 4 May 2024 06:48:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7F072BC017; Sat, 4 May 2024 06:48:26 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D1762BC017 for ; Sat, 4 May 2024 06:48:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E5F8B3430EF for ; Sat, 4 May 2024 06:48:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75BA315AF for ; Sat, 4 May 2024 06:48:24 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1714805289.3d1d63fdf286bf02ef0ab8ed1e25df95ce8656ec.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/cli11/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/cli11/Manifest dev-cpp/cli11/cli11-2.4.2.ebuild X-VCS-Directories: dev-cpp/cli11/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 3d1d63fdf286bf02ef0ab8ed1e25df95ce8656ec X-VCS-Branch: master Date: Sat, 4 May 2024 06:48:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fd35de6e-01ef-4263-88f3-8552de06f4d4 X-Archives-Hash: 3514e0f29c0279b3a57ee586116e142e commit: 3d1d63fdf286bf02ef0ab8ed1e25df95ce8656ec Author: Ionen Wolkens gentoo org> AuthorDate: Sat May 4 06:47:38 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sat May 4 06:48:09 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d1d63fd dev-cpp/cli11: add 2.4.2 Signed-off-by: Ionen Wolkens gentoo.org> dev-cpp/cli11/Manifest | 1 + dev-cpp/cli11/cli11-2.4.2.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-cpp/cli11/Manifest b/dev-cpp/cli11/Manifest index 53afcb9be806..5d1ce915a783 100644 --- a/dev-cpp/cli11/Manifest +++ b/dev-cpp/cli11/Manifest @@ -1 +1,2 @@ DIST cli11-2.4.1.tar.gz 339023 BLAKE2B 4db4bacc30ae5526135fe354e4f707f6858cb42b0662daafdde23cf397701c5185794d72794d920ef8f66ce846aafa718ac24fb567b04144d5b15905ed4badd7 SHA512 965290d09977672d3bc3c57ca4b89a88c2c09461da6e866b18217d702d4d5a0977588fcb8fef1a3c3804e61ad80d276029f47469cc83dbfdc7021ee35f6b7269 +DIST cli11-2.4.2.tar.gz 343478 BLAKE2B b1a71bb9495ca86eac62af800919dd78899bd972cfc05035659a3c0a8d07f70ccdc076d18756ba20ddffe31c9dc346e4579474284e601497fcac6c6866e536de SHA512 fdb61c430f5b99a9495fda7f94bfc8d0fb5360c99beeccbcb3b8918713579aac97fa0dcbce296065d9043f141a538c505919c9810fd1d192661e8b48b6a2637a diff --git a/dev-cpp/cli11/cli11-2.4.2.ebuild b/dev-cpp/cli11/cli11-2.4.2.ebuild new file mode 100644 index 000000000000..174cace30411 --- /dev/null +++ b/dev-cpp/cli11/cli11-2.4.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 2023-2024 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 ~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 "${BUILD_DIR}"/docs/html +}