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 8E7EC158086 for ; Sun, 28 Nov 2021 12:06:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBA6C2BC075; Sun, 28 Nov 2021 12:06:10 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A0EDE2BC075 for ; Sun, 28 Nov 2021 12:06:10 +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 94D0D342CCF for ; Sun, 28 Nov 2021 12:06:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 03E69200 for ; Sun, 28 Nov 2021 12:06:07 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1638101161.7c555ab640ef40c86dc05b244c1080eb016814bd.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/prometheus-cpp/Manifest dev-cpp/prometheus-cpp/prometheus-cpp-1.0.0.ebuild X-VCS-Directories: dev-cpp/prometheus-cpp/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 7c555ab640ef40c86dc05b244c1080eb016814bd X-VCS-Branch: master Date: Sun, 28 Nov 2021 12:06:07 +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: bc4aa560-fedf-4ee0-8cab-56bff8ac8d0e X-Archives-Hash: d160197ab1679b81141b7c1c7493cbf4 commit: 7c555ab640ef40c86dc05b244c1080eb016814bd Author: Marek Szuba gentoo org> AuthorDate: Sun Nov 28 11:19:21 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Sun Nov 28 12:06:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c555ab6 dev-cpp/prometheus-cpp: add 1.0.0 Signed-off-by: Marek Szuba gentoo.org> dev-cpp/prometheus-cpp/Manifest | 1 + dev-cpp/prometheus-cpp/prometheus-cpp-1.0.0.ebuild | 41 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest index 8266f0a3e047..eb903509a93e 100644 --- a/dev-cpp/prometheus-cpp/Manifest +++ b/dev-cpp/prometheus-cpp/Manifest @@ -1 +1,2 @@ DIST prometheus-cpp-0.13.0.tar.gz 55448 BLAKE2B 5790e74f5bb783070b6928adf9d850dc59ff8507d580a96549e62a2ea9ca1cf5b5de0fb445dd373bbae6da3fdae59d1dbf2eca5e04dc3d6adb58e5c52da1e666 SHA512 d2c6708047cec1998697931d5e9b420dfa513ade9f298761b08ae87a5526cbe64476ebc56793c21d8c3d741e3a4db5ce8d27af1d39b4ca30a45de34f40fdca67 +DIST prometheus-cpp-1.0.0.tar.gz 56244 BLAKE2B 51ff199c0cd09367de873310a835b7a4a5893de11a6115b3de8ef142eb12b326ea7498a8adc155f3bbea6389da41eef91b5ef23cb0227ef1d1ceb64e4d7eac2e SHA512 baeb12725dd47b170e1ac94c23b2b18ba8aa11dedd95af7adee8fdf9ddebaddfca1ef75c30b1d65c94e1cfbcba2c41e0f4686f1a1de66beaba7dcd70ab190164 diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.0.ebuild b/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.0.ebuild new file mode 100644 index 000000000000..07f8033472af --- /dev/null +++ b/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Prometheus Client Library for Modern C++" +HOMEPAGE="https://github.com/jupp0r/prometheus-cpp" +SRC_URI="https://github.com/jupp0r/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="test zlib" + +RESTRICT="!test? ( test )" + +RDEPEND="net-misc/curl + sys-libs/zlib + www-servers/civetweb[cxx]" +DEPEND="${RDEPEND} + test? ( + dev-cpp/benchmark + dev-cpp/gtest + )" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DENABLE_PULL=yes + -DENABLE_PUSH=yes + -DENABLE_COMPRESSION=$(usex zlib) + -DENABLE_TESTING=$(usex test) + -DUSE_THIRDPARTY_LIBRARIES=OFF + -DGENERATE_PKGCONFIG=ON + -DRUN_IWYU=OFF + ) + + cmake_src_configure +}