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 7897E15815E for ; Thu, 8 Feb 2024 03:37:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2F46E2A25; Thu, 8 Feb 2024 03:37:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 98374E2A25 for ; Thu, 8 Feb 2024 03:37:25 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B106A343104 for ; Thu, 8 Feb 2024 03:37:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 049621082 for ; Thu, 8 Feb 2024 03:37:23 +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: <1707363432.c2105acd24e8b029837603ccb5ec18788d134966.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.1.ebuild X-VCS-Directories: dev-cpp/cli11/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: c2105acd24e8b029837603ccb5ec18788d134966 X-VCS-Branch: master Date: Thu, 8 Feb 2024 03:37:23 +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: f3ef0201-48ec-4b61-a6da-299a43bdd221 X-Archives-Hash: a8f9b3adfe2ce4fa9f7734eef7036007 commit: c2105acd24e8b029837603ccb5ec18788d134966 Author: Ionen Wolkens gentoo org> AuthorDate: Thu Feb 8 03:35:26 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Thu Feb 8 03:37:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2105acd dev-cpp/cli11: add 2.4.1 Signed-off-by: Ionen Wolkens gentoo.org> dev-cpp/cli11/Manifest | 1 + dev-cpp/cli11/cli11-2.4.1.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-cpp/cli11/Manifest b/dev-cpp/cli11/Manifest index 3875f8b5eebd..d65d0f7ff019 100644 --- a/dev-cpp/cli11/Manifest +++ b/dev-cpp/cli11/Manifest @@ -1,2 +1,3 @@ DIST cli11-2.3.2.tar.gz 303507 BLAKE2B 68a1ca97fb55a4329f7d56a7d661f71f356bebcb0878421bccb18093aab171cff963f4e3e8f47b95cac4947ebbd7c7d6c853cc28e404c07091685ba1e99ac8d3 SHA512 f48b289d52034c47b90db58c035a123b464bed488cf31bcdbe10a692214a5c05e62b99d6fb7c4b065f42df862ecf3813f11dd533b3697939d761e99d2b89c2ec DIST cli11-2.4.0.tar.gz 338628 BLAKE2B 8e9a58c81be34826ef455851b618d18fcf7f75f654539f4f961e63b1be364b656133163b6e1c00ccf1f67e4a45772556570d6a70f8845a69b13665da29b3bafa SHA512 21c6e7861c5b5481079f78fd1585c77c7c73dd8f06a58a673922ee12fa0ffd2ba6c485de427a4e4ee3e5d710b8dc9483e70da0dc2a67c46d3fd77ebdfe300f79 +DIST cli11-2.4.1.tar.gz 339023 BLAKE2B 4db4bacc30ae5526135fe354e4f707f6858cb42b0662daafdde23cf397701c5185794d72794d920ef8f66ce846aafa718ac24fb567b04144d5b15905ed4badd7 SHA512 965290d09977672d3bc3c57ca4b89a88c2c09461da6e866b18217d702d4d5a0977588fcb8fef1a3c3804e61ad80d276029f47469cc83dbfdc7021ee35f6b7269 diff --git a/dev-cpp/cli11/cli11-2.4.1.ebuild b/dev-cpp/cli11/cli11-2.4.1.ebuild new file mode 100644 index 000000000000..174cace30411 --- /dev/null +++ b/dev-cpp/cli11/cli11-2.4.1.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 +}