From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1517754-garchives=archives.gentoo.org@lists.gentoo.org> 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 13416158649 for <garchives@archives.gentoo.org>; Fri, 12 May 2023 09:02:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 063C4E0BAC; Fri, 12 May 2023 09:02:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 DE4B7E0BAC for <gentoo-commits@lists.gentoo.org>; Fri, 12 May 2023 09:02:46 +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 CFF7B340B65 for <gentoo-commits@lists.gentoo.org>; Fri, 12 May 2023 09:02:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 13EC4A6B for <gentoo-commits@lists.gentoo.org>; Fri, 12 May 2023 09:02:44 +0000 (UTC) From: "Ionen Wolkens" <ionen@gentoo.org> 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" <ionen@gentoo.org> Message-ID: <1683881977.4852c7128556259815b082af81099b9a5318b4b0.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.3.2.ebuild dev-cpp/cli11/metadata.xml X-VCS-Directories: dev-cpp/cli11/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 4852c7128556259815b082af81099b9a5318b4b0 X-VCS-Branch: master Date: Fri, 12 May 2023 09:02:44 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2c0c0abc-573e-43db-83f7-5986e8b1c0bd X-Archives-Hash: 5c52728f832159f479e4269e488bfebf commit: 4852c7128556259815b082af81099b9a5318b4b0 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Fri May 12 00:45:45 2023 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Fri May 12 08:59:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4852c712 dev-cpp/cli11: new package, add 2.3.2 Adding for media-gfx/ueberzugpp, also usable by other misc packages and may be convienient to have here. Has a meson.build but it's incomplete and is currently hardly supported, so using cmake. Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> dev-cpp/cli11/Manifest | 1 + dev-cpp/cli11/cli11-2.3.2.ebuild | 50 ++++++++++++++++++++++++++++++++++++++++ dev-cpp/cli11/metadata.xml | 11 +++++++++ 3 files changed, 62 insertions(+) diff --git a/dev-cpp/cli11/Manifest b/dev-cpp/cli11/Manifest new file mode 100644 index 000000000000..a76342ad6441 --- /dev/null +++ b/dev-cpp/cli11/Manifest @@ -0,0 +1 @@ +DIST cli11-2.3.2.tar.gz 303507 BLAKE2B 68a1ca97fb55a4329f7d56a7d661f71f356bebcb0878421bccb18093aab171cff963f4e3e8f47b95cac4947ebbd7c7d6c853cc28e404c07091685ba1e99ac8d3 SHA512 f48b289d52034c47b90db58c035a123b464bed488cf31bcdbe10a692214a5c05e62b99d6fb7c4b065f42df862ecf3813f11dd533b3697939d761e99d2b89c2ec diff --git a/dev-cpp/cli11/cli11-2.3.2.ebuild b/dev-cpp/cli11/cli11-2.3.2.ebuild new file mode 100644 index 000000000000..7963b3dd40ab --- /dev/null +++ b/dev-cpp/cli11/cli11-2.3.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 2023 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 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + =dev-cpp/catch-2*:0 + dev-libs/boost + )" +BDEPEND=" + doc? ( + app-doc/doxygen + media-gfx/graphviz + )" + +src_configure() { + local mycmakeargs=( + -DCLI11_BOOST=$(usex test) + -DCLI11_BUILD_DOCS=$(usex doc) + -DCLI11_BUILD_EXAMPLES=no + -DCLI11_BUILD_TESTS=$(usex test) + ) + + 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 +} diff --git a/dev-cpp/cli11/metadata.xml b/dev-cpp/cli11/metadata.xml new file mode 100644 index 000000000000..06f8d3df4f06 --- /dev/null +++ b/dev-cpp/cli11/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ionen@gentoo.org</email> + <name>Ionen Wolkens</name> + </maintainer> + <upstream> + <remote-id type="github">CLIUtils/CLI11</remote-id> + </upstream> +</pkgmetadata>