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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 61CEC1580FD for ; Fri, 27 Dec 2024 12:08:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DD47E07D3; Fri, 27 Dec 2024 12:08:35 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A389E07D3 for ; Fri, 27 Dec 2024 12:08:35 +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 E02BF33BE00 for ; Fri, 27 Dec 2024 12:08:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 797F017F0 for ; Fri, 27 Dec 2024 12:08:32 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1735301219.0ca164558b4beacc35a8de976bab52f306daad48.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/cxxopts/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/cxxopts/Manifest dev-libs/cxxopts/cxxopts-3.2.1.ebuild X-VCS-Directories: dev-libs/cxxopts/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0ca164558b4beacc35a8de976bab52f306daad48 X-VCS-Branch: master Date: Fri, 27 Dec 2024 12:08:32 +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: 661caf16-a07d-4831-a6c7-8f7a2fa05550 X-Archives-Hash: 85de7543ae4242f6e455609e22125825 commit: 0ca164558b4beacc35a8de976bab52f306daad48 Author: Alexey Rochev gmail com> AuthorDate: Fri Dec 6 01:05:25 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Dec 27 12:06:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca16455 dev-libs/cxxopts: add 3.2.1 Signed-off-by: Alexey Rochev gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39608 Signed-off-by: Sam James gentoo.org> dev-libs/cxxopts/Manifest | 1 + dev-libs/cxxopts/cxxopts-3.2.1.ebuild | 39 +++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-libs/cxxopts/Manifest b/dev-libs/cxxopts/Manifest index 7c4f5f353d16..b2a7ac501f93 100644 --- a/dev-libs/cxxopts/Manifest +++ b/dev-libs/cxxopts/Manifest @@ -1,2 +1,3 @@ DIST cxxopts-3.0.0.tar.gz 97020 BLAKE2B 129b055dd03ce9e4a146d36587063f7155b47456d81e395ae6eeab8012e8d6cfcb410c305353f2ac2ec66a2f3e8d6169e1a0d27c53dcb35388b967d3c9cc86f1 SHA512 239479a3b35ddef6fc380ac9371e1cf7e3aea066f03e1ea538151fa2fff4296838daa976d55e988d8f87f40c0ae027767bcb214754177499413af1081315565c DIST cxxopts-3.2.0.tar.gz 160534 BLAKE2B b6fead8930e83b4af089631e584bec0777da2e7b58aeb5e44b03a1655795dd3aff3923a245699e936bef7e0e871da2c86dd5639d44a839f1ac305a694e811feb SHA512 7265de66b92591255488d01bc26ca874423c75223e2e157a99f14fdd3e92e8d2669b72732acac3ce835190f1a09c13a994c480f0513f229eba8aa008e3d98955 +DIST cxxopts-3.2.1.tar.gz 160606 BLAKE2B 891657d5c00213ae79a1f7600627829f114cf17c3f5c332b1a1c2dcdf2ba7c4a46826f5e0bdff2c09803396fdf133c12d35f6d76b01e473c83bc0fc130821ad4 SHA512 7841fb3e6c3c2a057917c962e29fc0090e6ed06f5515aaa5e2a868fef59071a9a99b74d81c32cf613ecf10a68a4d96d6ad07805f48c7c3951ded096a2317dc3d diff --git a/dev-libs/cxxopts/cxxopts-3.2.1.ebuild b/dev-libs/cxxopts/cxxopts-3.2.1.ebuild new file mode 100644 index 000000000000..bc1006c6538a --- /dev/null +++ b/dev-libs/cxxopts/cxxopts-3.2.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Lightweight C++ command line option parser" +HOMEPAGE="https://github.com/jarro2783/cxxopts" +SRC_URI="https://github.com/jarro2783/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="icu test" + +RESTRICT=" + !test? ( test ) +" + +DOCS=( + README.md + CHANGELOG.md +) + +src_prepare() { + sed -r -e 's:-Werror[[:space:]]*::' -i cmake/cxxopts.cmake || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCXXOPTS_BUILD_EXAMPLES:BOOL=OFF + -DCXXOPTS_BUILD_TESTS:BOOL=$(usex test) + -DCXXOPTS_ENABLE_INSTALL:BOOL=ON + -DCXXOPTS_USE_UNICODE_HELP:BOOL=$(usex icu) + ) + cmake_src_configure +}