diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-cpp/prometheus-cpp | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-cpp/prometheus-cpp')
| -rw-r--r-- | dev-cpp/prometheus-cpp/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/prometheus-cpp/metadata.xml | 17 | ||||
| -rw-r--r-- | dev-cpp/prometheus-cpp/prometheus-cpp-1.2.4.ebuild | 41 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest new file mode 100644 index 000000000000..591bce8787fd --- /dev/null +++ b/dev-cpp/prometheus-cpp/Manifest @@ -0,0 +1 @@ +DIST prometheus-cpp-1.2.4.tar.gz 73953 BLAKE2B 75ca7b8c88408b54ab806dcc8ecaa48c9d29a7cbb76fe786fc76e114fa0bfcacaced7d899f8aff24060c9cbb4836d144b25fca2ac45438982789bcf881fade67 SHA512 8c15492054189b736e502258c30aaaae0fac3c9ea61907260e6e3cd29fe4077451f9e49fd580508aa6e21691209545d9cf87011be5b046fa097a53a133167553 diff --git a/dev-cpp/prometheus-cpp/metadata.xml b/dev-cpp/prometheus-cpp/metadata.xml new file mode 100644 index 000000000000..af77f88bef95 --- /dev/null +++ b/dev-cpp/prometheus-cpp/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription lang="en"> + This library aims to enable Metrics-Driven Development for C++ services. + It implements the Prometheus Data Model, a powerful abstraction on which + to collect and expose metrics. We offer the possibility for metrics to + be collected by Prometheus, but other push/pull collections can be added + as plugins. + </longdescription> + <!-- maintainer-needed --> + <upstream> + <bugs-to>https://github.com/jupp0r/prometheus-cpp/issues</bugs-to> + <doc lang="en">https://jupp0r.github.io/prometheus-cpp/</doc> + <remote-id type="github">jupp0r/prometheus-cpp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-1.2.4.ebuild b/dev-cpp/prometheus-cpp/prometheus-cpp-1.2.4.ebuild new file mode 100644 index 000000000000..60da7d0e626d --- /dev/null +++ b/dev-cpp/prometheus-cpp/prometheus-cpp-1.2.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 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 ~arm ~arm64 ~riscv x86" +IUSE="test zlib" + +RESTRICT="!test? ( test )" + +RDEPEND="net-misc/curl + virtual/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 +} |
