[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2024-09-08 Thread Petr Vaněk
commit: cb0f83a370cfd200a8cdca6e782b4bb9f3ca4055
Author: Petr Vaněk  gentoo  org>
AuthorDate: Sun Sep  8 18:17:08 2024 +
Commit: Petr Vaněk  gentoo  org>
CommitDate: Sun Sep  8 18:33:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb0f83a3

dev-cpp/prometheus-cpp: drop 1.1.0

Signed-off-by: Petr Vaněk  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  1 -
 dev-cpp/prometheus-cpp/prometheus-cpp-1.1.0.ebuild | 41 --
 2 files changed, 42 deletions(-)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index f0308f8c5d76..591bce8787fd 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1,2 +1 @@
-DIST prometheus-cpp-1.1.0.tar.gz 58489 BLAKE2B 
af24fbc34e79c04ec80dbf4430de5a2cf0e66b7de4c06f9b37e6bc3ab7f868b948db486a4f962c7986748eff1247eb0119ad5b581ac01129ce6bfa10f7b53ec7
 SHA512 
0715a0eb8a7f7065e01b8039c261eaa98a77a8d035783ccef9333fb06eecd75599959807ec157514c60ed435841bcd0cdd8cd295bcf7cd88e21e1099ba12be89
 DIST prometheus-cpp-1.2.4.tar.gz 73953 BLAKE2B 
75ca7b8c88408b54ab806dcc8ecaa48c9d29a7cbb76fe786fc76e114fa0bfcacaced7d899f8aff24060c9cbb4836d144b25fca2ac45438982789bcf881fade67
 SHA512 
8c15492054189b736e502258c30e0fac3c9ea61907260e6e3cd29fe4077451f9e49fd580508aa6e21691209545d9cf87011be5b046fa097a53a133167553

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-1.1.0.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-1.1.0.ebuild
deleted file mode 100644
index 6239a46b04df..
--- a/dev-cpp/prometheus-cpp/prometheus-cpp-1.1.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2022 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2024-04-10 Thread Marek Szuba
commit: 541219b570666d0707babfbaf5519934f12eab6a
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Apr 10 10:19:44 2024 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Apr 10 10:36:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541219b5

dev-cpp/prometheus-cpp: add 1.2.4

Signed-off-by: Marek Szuba  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  1 +
 dev-cpp/prometheus-cpp/prometheus-cpp-1.2.4.ebuild | 41 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index 8db566135d1c..f0308f8c5d76 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1 +1,2 @@
 DIST prometheus-cpp-1.1.0.tar.gz 58489 BLAKE2B 
af24fbc34e79c04ec80dbf4430de5a2cf0e66b7de4c06f9b37e6bc3ab7f868b948db486a4f962c7986748eff1247eb0119ad5b581ac01129ce6bfa10f7b53ec7
 SHA512 
0715a0eb8a7f7065e01b8039c261eaa98a77a8d035783ccef9333fb06eecd75599959807ec157514c60ed435841bcd0cdd8cd295bcf7cd88e21e1099ba12be89
+DIST prometheus-cpp-1.2.4.tar.gz 73953 BLAKE2B 
75ca7b8c88408b54ab806dcc8ecaa48c9d29a7cbb76fe786fc76e114fa0bfcacaced7d899f8aff24060c9cbb4836d144b25fca2ac45438982789bcf881fade67
 SHA512 
8c15492054189b736e502258c30e0fac3c9ea61907260e6e3cd29fe4077451f9e49fd580508aa6e21691209545d9cf87011be5b046fa097a53a133167553

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 ..c63b8b7eb353
--- /dev/null
+++ b/dev-cpp/prometheus-cpp/prometheus-cpp-1.2.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2023-08-21 Thread Marek Szuba
commit: 51ad5e4a7547d301133cd99a8acaa0bce02d1049
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Aug 21 18:01:52 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Aug 21 18:08:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51ad5e4a

dev-cpp/prometheus-cpp: drop 1.0.1

Signed-off-by: Marek Szuba  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  1 -
 dev-cpp/prometheus-cpp/prometheus-cpp-1.0.1.ebuild | 41 --
 2 files changed, 42 deletions(-)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index 4c3372be6aec..8db566135d1c 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1,2 +1 @@
-DIST prometheus-cpp-1.0.1.tar.gz 56673 BLAKE2B 
2f2396de0c3c544e92ecdf9f973941f7b61784db690bf3811841a522d3c40cb885e273ce62e66721674f8911fea7b58dc6ae5f0dc10cfdca803054445ca18250
 SHA512 
eb81b92de986853401f8900d19dfc58d68227d49c74be294b408adc0374292fb462b1f7f7aee522fb03d6fc2ea56f3187fa6ec182aeea169b8bdce38054ee805
 DIST prometheus-cpp-1.1.0.tar.gz 58489 BLAKE2B 
af24fbc34e79c04ec80dbf4430de5a2cf0e66b7de4c06f9b37e6bc3ab7f868b948db486a4f962c7986748eff1247eb0119ad5b581ac01129ce6bfa10f7b53ec7
 SHA512 
0715a0eb8a7f7065e01b8039c261eaa98a77a8d035783ccef9333fb06eecd75599959807ec157514c60ed435841bcd0cdd8cd295bcf7cd88e21e1099ba12be89

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.1.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.1.ebuild
deleted file mode 100644
index 6239a46b04df..
--- a/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2022 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2022-11-14 Thread Marek Szuba
commit: dece9829f016de521df9b9c06e57883ec488cf1f
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Nov 14 10:07:08 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Nov 14 11:05:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dece9829

dev-cpp/prometheus-cpp: add 1.1.0

Signed-off-by: Marek Szuba  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  1 +
 dev-cpp/prometheus-cpp/prometheus-cpp-1.1.0.ebuild | 41 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index f91fbfd5bb6b..4c3372be6aec 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1 +1,2 @@
 DIST prometheus-cpp-1.0.1.tar.gz 56673 BLAKE2B 
2f2396de0c3c544e92ecdf9f973941f7b61784db690bf3811841a522d3c40cb885e273ce62e66721674f8911fea7b58dc6ae5f0dc10cfdca803054445ca18250
 SHA512 
eb81b92de986853401f8900d19dfc58d68227d49c74be294b408adc0374292fb462b1f7f7aee522fb03d6fc2ea56f3187fa6ec182aeea169b8bdce38054ee805
+DIST prometheus-cpp-1.1.0.tar.gz 58489 BLAKE2B 
af24fbc34e79c04ec80dbf4430de5a2cf0e66b7de4c06f9b37e6bc3ab7f868b948db486a4f962c7986748eff1247eb0119ad5b581ac01129ce6bfa10f7b53ec7
 SHA512 
0715a0eb8a7f7065e01b8039c261eaa98a77a8d035783ccef9333fb06eecd75599959807ec157514c60ed435841bcd0cdd8cd295bcf7cd88e21e1099ba12be89

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-1.1.0.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-1.1.0.ebuild
new file mode 100644
index ..6239a46b04df
--- /dev/null
+++ b/dev-cpp/prometheus-cpp/prometheus-cpp-1.1.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2022-09-25 Thread Marek Szuba
commit: 1a57fe648eee0db5bbd79cacda28b41d950ddaeb
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Sep 26 00:42:54 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Sep 26 01:01:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a57fe64

dev-cpp/prometheus-cpp: drop 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 deletions(-)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index 699cad4a7e1f..f91fbfd5bb6b 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1,2 +1 @@
-DIST prometheus-cpp-1.0.0.tar.gz 56244 BLAKE2B 
51ff199c0cd09367de873310a835b7a4a5893de11a6115b3de8ef142eb12b326ea7498a8adc155f3bbea6389da41eef91b5ef23cb0227ef1d1ceb64e4d7eac2e
 SHA512 
baeb12725dd47b170e1ac94c23b2b18ba8aa11dedd95af7adee8fdf9ddebaddfca1ef75c30b1d65c94e1cfbcba2c41e0f4686f1a1de66beaba7dcd70ab190164
 DIST prometheus-cpp-1.0.1.tar.gz 56673 BLAKE2B 
2f2396de0c3c544e92ecdf9f973941f7b61784db690bf3811841a522d3c40cb885e273ce62e66721674f8911fea7b58dc6ae5f0dc10cfdca803054445ca18250
 SHA512 
eb81b92de986853401f8900d19dfc58d68227d49c74be294b408adc0374292fb462b1f7f7aee522fb03d6fc2ea56f3187fa6ec182aeea169b8bdce38054ee805

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.0.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.0.ebuild
deleted file mode 100644
index 07f8033472af..
--- a/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2022-05-30 Thread Marek Szuba
commit: 6ea1d5f1c249df859aad8ebb09505711365930b0
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon May 30 10:09:35 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon May 30 10:42:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ea1d5f1

dev-cpp/prometheus-cpp: add 1.0.1

Signed-off-by: Marek Szuba  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  1 +
 dev-cpp/prometheus-cpp/prometheus-cpp-1.0.1.ebuild | 41 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index c9aa7b0d0b18..699cad4a7e1f 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1 +1,2 @@
 DIST prometheus-cpp-1.0.0.tar.gz 56244 BLAKE2B 
51ff199c0cd09367de873310a835b7a4a5893de11a6115b3de8ef142eb12b326ea7498a8adc155f3bbea6389da41eef91b5ef23cb0227ef1d1ceb64e4d7eac2e
 SHA512 
baeb12725dd47b170e1ac94c23b2b18ba8aa11dedd95af7adee8fdf9ddebaddfca1ef75c30b1d65c94e1cfbcba2c41e0f4686f1a1de66beaba7dcd70ab190164
+DIST prometheus-cpp-1.0.1.tar.gz 56673 BLAKE2B 
2f2396de0c3c544e92ecdf9f973941f7b61784db690bf3811841a522d3c40cb885e273ce62e66721674f8911fea7b58dc6ae5f0dc10cfdca803054445ca18250
 SHA512 
eb81b92de986853401f8900d19dfc58d68227d49c74be294b408adc0374292fb462b1f7f7aee522fb03d6fc2ea56f3187fa6ec182aeea169b8bdce38054ee805

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.1.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.1.ebuild
new file mode 100644
index ..6239a46b04df
--- /dev/null
+++ b/dev-cpp/prometheus-cpp/prometheus-cpp-1.0.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2022-03-01 Thread Marek Szuba
commit: bc3847a7ab40eb16a7d12039e13809b9af1b78b5
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Mar  1 15:32:25 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Mar  1 16:47:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc3847a7

dev-cpp/prometheus-cpp: drop 0.13.0

Signed-off-by: Marek Szuba  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  1 -
 .../prometheus-cpp/prometheus-cpp-0.13.0.ebuild| 41 --
 2 files changed, 42 deletions(-)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index eb903509a93e..c9aa7b0d0b18 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1,2 +1 @@
-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-0.13.0.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-0.13.0.ebuild
deleted file mode 100644
index 07f8033472af..
--- a/dev-cpp/prometheus-cpp/prometheus-cpp-0.13.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2021-11-28 Thread Marek Szuba
commit: 7c555ab640ef40c86dc05b244c1080eb016814bd
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Nov 28 11:19:21 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Nov 28 12:06:01 2021 +
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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2021-11-19 Thread Marek Szuba
commit: e09f895dc5c93ccbf52845d20ebf606ccba00bd7
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Nov 19 14:50:29 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Nov 19 14:58:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e09f895d

dev-cpp/prometheus-cpp: drop 0.12.2, 0.12.3

Signed-off-by: Marek Szuba  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  2 --
 .../prometheus-cpp/prometheus-cpp-0.12.2.ebuild| 41 --
 .../prometheus-cpp/prometheus-cpp-0.12.3.ebuild| 41 --
 3 files changed, 84 deletions(-)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index e4f552e6847b..8266f0a3e047 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1,3 +1 @@
-DIST prometheus-cpp-0.12.2.tar.gz 55191 BLAKE2B 
f1430cf6b8ca8272c447e8c2a25af5fb0d515389cb1078f8836a9a1f1ba0e26cc43236e9c147219384df40d601b843219acb95ebc46bb1c2fce6d83a86724182
 SHA512 
9907658939b7956219c3623bd5997f341f4374fbce2ee606bd1d8df820779ed8dc70658a30aafbb47b9af645205c048270b23e701203e13286bc365094a441d3
-DIST prometheus-cpp-0.12.3.tar.gz 55510 BLAKE2B 
8a9dffb4608f1d1f141726cf7bec3a19ca9040baca9871ff3aa950aa979b34319e704539ff3f2830a5c145645e9c3c0efc9e9b2c5c534d8b3745aaf1e9426763
 SHA512 
e8093db6e58d1672fd94daeed94f2c11f663145195bf878e0403973f2f4f62a3f9430cf6de1fc9ac0821b4b323e3faeb96199d450b3d7a04a5dee0e6f94ddc01
 DIST prometheus-cpp-0.13.0.tar.gz 55448 BLAKE2B 
5790e74f5bb783070b6928adf9d850dc59ff8507d580a96549e62a2ea9ca1cf5b5de0fb445dd373bbae6da3fdae59d1dbf2eca5e04dc3d6adb58e5c52da1e666
 SHA512 
d2c6708047cec1998697931d5e9b420dfa513ade9f298761b08ae87a5526cbe64476ebc56793c21d8c3d741e3a4db5ce8d27af1d39b4ca30a45de34f40fdca67

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.2.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.2.ebuild
deleted file mode 100644
index 9f22bf741501..
--- a/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.2.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 ~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
-}

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.3.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.3.ebuild
deleted file mode 100644
index 62457df73986..
--- a/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.3.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2021-09-15 Thread Marek Szuba
commit: 8bf4173c9679fa95df02b733f8cb57fe29620474
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Sep 15 13:28:33 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Sep 15 14:16:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bf4173c

dev-cpp/prometheus-cpp: add 0.13.0

Signed-off-by: Marek Szuba  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  1 +
 .../prometheus-cpp/prometheus-cpp-0.13.0.ebuild| 41 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index 78b153008a1..e4f552e6847 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1,2 +1,3 @@
 DIST prometheus-cpp-0.12.2.tar.gz 55191 BLAKE2B 
f1430cf6b8ca8272c447e8c2a25af5fb0d515389cb1078f8836a9a1f1ba0e26cc43236e9c147219384df40d601b843219acb95ebc46bb1c2fce6d83a86724182
 SHA512 
9907658939b7956219c3623bd5997f341f4374fbce2ee606bd1d8df820779ed8dc70658a30aafbb47b9af645205c048270b23e701203e13286bc365094a441d3
 DIST prometheus-cpp-0.12.3.tar.gz 55510 BLAKE2B 
8a9dffb4608f1d1f141726cf7bec3a19ca9040baca9871ff3aa950aa979b34319e704539ff3f2830a5c145645e9c3c0efc9e9b2c5c534d8b3745aaf1e9426763
 SHA512 
e8093db6e58d1672fd94daeed94f2c11f663145195bf878e0403973f2f4f62a3f9430cf6de1fc9ac0821b4b323e3faeb96199d450b3d7a04a5dee0e6f94ddc01
+DIST prometheus-cpp-0.13.0.tar.gz 55448 BLAKE2B 
5790e74f5bb783070b6928adf9d850dc59ff8507d580a96549e62a2ea9ca1cf5b5de0fb445dd373bbae6da3fdae59d1dbf2eca5e04dc3d6adb58e5c52da1e666
 SHA512 
d2c6708047cec1998697931d5e9b420dfa513ade9f298761b08ae87a5526cbe64476ebc56793c21d8c3d741e3a4db5ce8d27af1d39b4ca30a45de34f40fdca67

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-0.13.0.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-0.13.0.ebuild
new file mode 100644
index 000..07f8033472a
--- /dev/null
+++ b/dev-cpp/prometheus-cpp/prometheus-cpp-0.13.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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2021-08-13 Thread Marek Szuba
commit: a0fbad9d197d26cf439ee064eb25af4013d359b9
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Aug 13 11:55:59 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Aug 13 13:31:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0fbad9d

dev-cpp/prometheus-cpp: keyword 0.12.3 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-cpp/prometheus-cpp/prometheus-cpp-0.12.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.3.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.3.ebuild
index dca730a03e4..62457df7398 100644
--- a/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.3.ebuild
+++ b/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jupp0r/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~riscv ~x86"
 IUSE="test zlib"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2021-05-12 Thread Marek Szuba
commit: e09d14eac5f94ff90cbdb5bdafac45324ade2c94
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed May 12 10:32:16 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed May 12 10:53:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e09d14ea

dev-cpp/prometheus-cpp: add 0.12.3

Suggested-by: William Breathitt Gray  gmail.com>
Closes: https://bugs.gentoo.org/789162
Signed-off-by: Marek Szuba  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  1 +
 .../prometheus-cpp/prometheus-cpp-0.12.3.ebuild| 41 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index 3519a469256..78b153008a1 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1 +1,2 @@
 DIST prometheus-cpp-0.12.2.tar.gz 55191 BLAKE2B 
f1430cf6b8ca8272c447e8c2a25af5fb0d515389cb1078f8836a9a1f1ba0e26cc43236e9c147219384df40d601b843219acb95ebc46bb1c2fce6d83a86724182
 SHA512 
9907658939b7956219c3623bd5997f341f4374fbce2ee606bd1d8df820779ed8dc70658a30aafbb47b9af645205c048270b23e701203e13286bc365094a441d3
+DIST prometheus-cpp-0.12.3.tar.gz 55510 BLAKE2B 
8a9dffb4608f1d1f141726cf7bec3a19ca9040baca9871ff3aa950aa979b34319e704539ff3f2830a5c145645e9c3c0efc9e9b2c5c534d8b3745aaf1e9426763
 SHA512 
e8093db6e58d1672fd94daeed94f2c11f663145195bf878e0403973f2f4f62a3f9430cf6de1fc9ac0821b4b323e3faeb96199d450b3d7a04a5dee0e6f94ddc01

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.3.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.3.ebuild
new file mode 100644
index 000..dca730a03e4
--- /dev/null
+++ b/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2021-05-12 Thread Marek Szuba
commit: 6cb12acba20cd059912fe8254cfa41cbd9f067d0
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed May 12 08:53:08 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed May 12 08:53:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cb12acb

dev-cpp/prometheus-cpp: add self as maintainer

Signed-off-by: Marek Szuba  gentoo.org>

 dev-cpp/prometheus-cpp/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/prometheus-cpp/metadata.xml 
b/dev-cpp/prometheus-cpp/metadata.xml
index a8d4940f736..c001ab6f8b6 100644
--- a/dev-cpp/prometheus-cpp/metadata.xml
+++ b/dev-cpp/prometheus-cpp/metadata.xml
@@ -8,7 +8,10 @@
be collected by Prometheus, but other push/pull collections can 
be added
as plugins.

-   
+   
+   mare...@gentoo.org
+   Marek Szuba
+   


https://github.com/jupp0r/prometheus-cpp/issues
https://jupp0r.github.io/prometheus-cpp/



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2021-05-12 Thread Joonas Niilola
commit: d9d721e97a0fb9bfd28716b4b71748523b9a
Author: William Breathitt Gray  gmail  com>
AuthorDate: Tue May 11 23:09:05 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed May 12 07:36:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d721e9

dev-cpp/prometheus-cpp: Remove proxy maintainer

Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20779
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-cpp/prometheus-cpp/metadata.xml | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/dev-cpp/prometheus-cpp/metadata.xml 
b/dev-cpp/prometheus-cpp/metadata.xml
index 3a50d92cce7..a8d4940f736 100644
--- a/dev-cpp/prometheus-cpp/metadata.xml
+++ b/dev-cpp/prometheus-cpp/metadata.xml
@@ -8,14 +8,7 @@
be collected by Prometheus, but other push/pull collections can 
be added
as plugins.

-   
-   vilhelm.g...@gmail.com
-   William Breathitt Gray
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
+   


https://github.com/jupp0r/prometheus-cpp/issues
https://jupp0r.github.io/prometheus-cpp/



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/files/

2021-03-23 Thread Joonas Niilola
commit: 1ab5a53caded819f353e9967f460fe2e90e59fb8
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Mar 21 12:36:53 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Mar 23 08:34:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ab5a53c

dev-cpp/prometheus-cpp: remove unused patch(es)

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/20030
Signed-off-by: Joonas Niilola  gentoo.org>

 ...erialization-test-if-locale-is-not-availa.patch | 80 --
 1 file changed, 80 deletions(-)

diff --git 
a/dev-cpp/prometheus-cpp/files/prometheus-cpp-0.9.0-core-Skip-serialization-test-if-locale-is-not-availa.patch
 
b/dev-cpp/prometheus-cpp/files/prometheus-cpp-0.9.0-core-Skip-serialization-test-if-locale-is-not-availa.patch
deleted file mode 100644
index ced0b80e83e..000
--- 
a/dev-cpp/prometheus-cpp/files/prometheus-cpp-0.9.0-core-Skip-serialization-test-if-locale-is-not-availa.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From bf6e2ce56abe2a710181f0365a21ca2dafd2a8f5 Mon Sep 17 00:00:00 2001
-From: Gregor Jasny 
-Date: Fri, 13 Mar 2020 13:16:56 +0100
-Subject: [PATCH] core: Skip serialization test if locale is not available
-
-Closes: #345

- core/tests/raii_locale.h  | 15 +++
- core/tests/serializer_test.cc | 21 ++---
- 2 files changed, 29 insertions(+), 7 deletions(-)
- create mode 100644 core/tests/raii_locale.h
-
-diff --git a/core/tests/raii_locale.h b/core/tests/raii_locale.h
-new file mode 100644
-index 000..592d74f
 /dev/null
-+++ b/core/tests/raii_locale.h
-@@ -0,0 +1,15 @@
-+#pragma once
-+
-+#include 
-+
-+class RAIILocale {
-+ public:
-+  RAIILocale(const char* name) : savedLocale_(std::locale::classic()) {
-+std::locale::global(std::locale(name));
-+  }
-+
-+  ~RAIILocale() { std::locale::global(savedLocale_); }
-+
-+ private:
-+  const std::locale savedLocale_;
-+};
-diff --git a/core/tests/serializer_test.cc b/core/tests/serializer_test.cc
-index f935a3b..6cb8f0e 100644
 a/core/tests/serializer_test.cc
-+++ b/core/tests/serializer_test.cc
-@@ -1,9 +1,13 @@
- #include "prometheus/counter.h"
-+#include "prometheus/detail/future_std.h"
- #include "prometheus/family.h"
- #include "prometheus/text_serializer.h"
- 
-+#include "raii_locale.h"
-+
- #include 
--#include 
-+
-+#include 
- #include 
- 
- namespace prometheus {
-@@ -25,15 +29,18 @@ class SerializerTest : public testing::Test {
- 
- #ifndef _WIN32
- TEST_F(SerializerTest, shouldSerializeLocaleIndependent) {
--  // save and change locale
--  const std::locale oldLocale = std::locale::classic();
--  std::locale::global(std::locale("de_DE.UTF-8"));
-+  std::unique_ptr localeWithCommaDecimalSeparator;
-+
-+  // ignore missing locale and skip test if setup fails
-+  try {
-+localeWithCommaDecimalSeparator =
-+detail::make_unique("de_DE.UTF-8");
-+  } catch (std::runtime_error&) {
-+GTEST_SKIP();
-+  }
- 
-   const auto serialized = textSerializer.Serialize(collected);
-   EXPECT_THAT(serialized, testing::HasSubstr("1.0"));
--
--  // restore locale
--  std::locale::global(oldLocale);
- }
- #endif
- 
--- 
-2.28.0
-



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2021-03-10 Thread Joonas Niilola
commit: 2920f67312cd3cc2f93a8acb932c4927e287487e
Author: William Breathitt Gray  gmail  com>
AuthorDate: Wed Mar 10 07:33:27 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Mar 10 09:02:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2920f673

dev-cpp/prometheus-cpp: Version bump to 0.12.2

Closes: https://bugs.gentoo.org/775197
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19859
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  1 +
 .../prometheus-cpp/prometheus-cpp-0.12.2.ebuild| 41 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index be92644e327..4b369228bef 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1,3 +1,4 @@
+DIST prometheus-cpp-0.12.2.tar.gz 55191 BLAKE2B 
f1430cf6b8ca8272c447e8c2a25af5fb0d515389cb1078f8836a9a1f1ba0e26cc43236e9c147219384df40d601b843219acb95ebc46bb1c2fce6d83a86724182
 SHA512 
9907658939b7956219c3623bd5997f341f4374fbce2ee606bd1d8df820779ed8dc70658a30aafbb47b9af645205c048270b23e701203e13286bc365094a441d3
 DIST prometheus-cpp-0.12.1.tar.gz 53034 BLAKE2B 
cd7f63e76e53cb45c1a23a9b2caba15f56410acfdac5757138cd63d92188a4515563b6e2b5583cf38743c470804422934db40f21293d2dc25fe09daf6a21b82b
 SHA512 
9f9d7ed5b66ff05642e3b0c12cccbd8e23f2685da857d4d24243dfb85239f5478f651043dbe052ac19be4bd44d71875ad0c492797f9a284bad4d4519e970b19b
 DIST prometheus-cpp-0.11.0.tar.gz 51126 BLAKE2B 
8c2126bcba405748fa398d9b8aed472ca5ade45049817995836fbdb1a09fc29e4176a17ecafa6b9a26f8fb7b62cb00037815ba300123fa3c7f39faac54e160e8
 SHA512 
4ab286c49403d09f182038cda9cb3bd1b9dbf7061493ff5355afef6ec4ac6ef109c875306e76ed3776b07d640ad7034538cfbc00474106108500994242b4cde2
 DIST prometheus-cpp-0.10.0.tar.gz 49694 BLAKE2B 
f14232e1dad0376ea8e90c89079c4a6d8f2e9f5661a399d38d6f5001506db6c628cb42a934b40139cbb0d904a63c4b4483e6ed92452f5393365ed4209a236247
 SHA512 
18938b30143ed29985ee56943fd69e0a221f9d25f04fc611554050ee2786e96d968f7db251cccefcbd0017b61bcd8a7ea05af8f217c8aacd9f0694a4702ddcff

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.2.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.2.ebuild
new file mode 100644
index 000..9f22bf74150
--- /dev/null
+++ b/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2021-02-14 Thread Joonas Niilola
commit: 5058f39b823e1eb07df9a5aa1d0e3eb2bf3f894a
Author: William Breathitt Gray  gmail  com>
AuthorDate: Fri Feb  5 05:13:35 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb 15 07:19:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5058f39b

dev-cpp/prometheus-cpp: Version bump to 0.12.1

Closes: https://bugs.gentoo.org/768771
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19340
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  1 +
 .../prometheus-cpp/prometheus-cpp-0.12.1.ebuild| 38 ++
 2 files changed, 39 insertions(+)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index c1993ddc6cf..be92644e327 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1,3 +1,4 @@
+DIST prometheus-cpp-0.12.1.tar.gz 53034 BLAKE2B 
cd7f63e76e53cb45c1a23a9b2caba15f56410acfdac5757138cd63d92188a4515563b6e2b5583cf38743c470804422934db40f21293d2dc25fe09daf6a21b82b
 SHA512 
9f9d7ed5b66ff05642e3b0c12cccbd8e23f2685da857d4d24243dfb85239f5478f651043dbe052ac19be4bd44d71875ad0c492797f9a284bad4d4519e970b19b
 DIST prometheus-cpp-0.11.0.tar.gz 51126 BLAKE2B 
8c2126bcba405748fa398d9b8aed472ca5ade45049817995836fbdb1a09fc29e4176a17ecafa6b9a26f8fb7b62cb00037815ba300123fa3c7f39faac54e160e8
 SHA512 
4ab286c49403d09f182038cda9cb3bd1b9dbf7061493ff5355afef6ec4ac6ef109c875306e76ed3776b07d640ad7034538cfbc00474106108500994242b4cde2
 DIST prometheus-cpp-0.10.0.tar.gz 49694 BLAKE2B 
f14232e1dad0376ea8e90c89079c4a6d8f2e9f5661a399d38d6f5001506db6c628cb42a934b40139cbb0d904a63c4b4483e6ed92452f5393365ed4209a236247
 SHA512 
18938b30143ed29985ee56943fd69e0a221f9d25f04fc611554050ee2786e96d968f7db251cccefcbd0017b61bcd8a7ea05af8f217c8aacd9f0694a4702ddcff
 DIST prometheus-cpp-0.9.0.tar.gz 43924 BLAKE2B 
e2b26b257e44c63ae5bc2a703d0ee9247fd8f093ef58a3b00dec022af9cb56b18d20b74ccdb91899e2385b036c332b62d9959b9258082ca420fecf48926139d5
 SHA512 
d9d5fbbd8c8aad5dd6a5e872275324d689a0c57199e4158d74e13ea62b286fa71dee01bb4197b906b79792bf1ca4e67a46b5c04621d7070241ac32876f6de891

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.1.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.1.ebuild
new file mode 100644
index 000..0924da8da65
--- /dev/null
+++ b/dev-cpp/prometheus-cpp/prometheus-cpp-0.12.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~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
+   )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_PULL=yes
+   -DENABLE_PUSH=yes
+   -DENABLE_COMPRESSION=$(usex zlib)
+   -DENABLE_TESTING=$(usex test)
+   -DUSE_THIRDPARTY_LIBRARIES=OFF
+   )
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2020-11-24 Thread Joonas Niilola
commit: 81604208d77ba4efcbf435172ffbf01453d20441
Author: William Breathitt Gray  gmail  com>
AuthorDate: Mon Nov 23 23:30:36 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Nov 25 07:50:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81604208

dev-cpp/prometheus-cpp: Version bump to 0.11.0

Closes: https://bugs.gentoo.org/756256
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18381
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  1 +
 .../prometheus-cpp/prometheus-cpp-0.11.0.ebuild| 38 ++
 2 files changed, 39 insertions(+)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index 45b84044811..c1993ddc6cf 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1,2 +1,3 @@
+DIST prometheus-cpp-0.11.0.tar.gz 51126 BLAKE2B 
8c2126bcba405748fa398d9b8aed472ca5ade45049817995836fbdb1a09fc29e4176a17ecafa6b9a26f8fb7b62cb00037815ba300123fa3c7f39faac54e160e8
 SHA512 
4ab286c49403d09f182038cda9cb3bd1b9dbf7061493ff5355afef6ec4ac6ef109c875306e76ed3776b07d640ad7034538cfbc00474106108500994242b4cde2
 DIST prometheus-cpp-0.10.0.tar.gz 49694 BLAKE2B 
f14232e1dad0376ea8e90c89079c4a6d8f2e9f5661a399d38d6f5001506db6c628cb42a934b40139cbb0d904a63c4b4483e6ed92452f5393365ed4209a236247
 SHA512 
18938b30143ed29985ee56943fd69e0a221f9d25f04fc611554050ee2786e96d968f7db251cccefcbd0017b61bcd8a7ea05af8f217c8aacd9f0694a4702ddcff
 DIST prometheus-cpp-0.9.0.tar.gz 43924 BLAKE2B 
e2b26b257e44c63ae5bc2a703d0ee9247fd8f093ef58a3b00dec022af9cb56b18d20b74ccdb91899e2385b036c332b62d9959b9258082ca420fecf48926139d5
 SHA512 
d9d5fbbd8c8aad5dd6a5e872275324d689a0c57199e4158d74e13ea62b286fa71dee01bb4197b906b79792bf1ca4e67a46b5c04621d7070241ac32876f6de891

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-0.11.0.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-0.11.0.ebuild
new file mode 100644
index 000..bbbdf49919b
--- /dev/null
+++ b/dev-cpp/prometheus-cpp/prometheus-cpp-0.11.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~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
+   )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_PULL=yes
+   -DENABLE_PUSH=yes
+   -DENABLE_COMPRESSION=$(usex zlib)
+   -DENABLE_TESTING=$(usex test)
+   -DUSE_THIRDPARTY_LIBRARIES=OFF
+   )
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2020-10-08 Thread Joonas Niilola
commit: 884d96bcab917d649a1aaccee846fe070633881a
Author: William Breathitt Gray  gmail  com>
AuthorDate: Thu Oct  1 17:48:51 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Oct  8 10:02:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=884d96bc

dev-cpp/prometheus-cpp: Version bump to 0.10.0

Closes: https://bugs.gentoo.org/746026
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17736
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  1 +
 .../prometheus-cpp/prometheus-cpp-0.10.0.ebuild| 39 ++
 2 files changed, 40 insertions(+)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
index 7db715e0f9a..45b84044811 100644
--- a/dev-cpp/prometheus-cpp/Manifest
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -1 +1,2 @@
+DIST prometheus-cpp-0.10.0.tar.gz 49694 BLAKE2B 
f14232e1dad0376ea8e90c89079c4a6d8f2e9f5661a399d38d6f5001506db6c628cb42a934b40139cbb0d904a63c4b4483e6ed92452f5393365ed4209a236247
 SHA512 
18938b30143ed29985ee56943fd69e0a221f9d25f04fc611554050ee2786e96d968f7db251cccefcbd0017b61bcd8a7ea05af8f217c8aacd9f0694a4702ddcff
 DIST prometheus-cpp-0.9.0.tar.gz 43924 BLAKE2B 
e2b26b257e44c63ae5bc2a703d0ee9247fd8f093ef58a3b00dec022af9cb56b18d20b74ccdb91899e2385b036c332b62d9959b9258082ca420fecf48926139d5
 SHA512 
d9d5fbbd8c8aad5dd6a5e872275324d689a0c57199e4158d74e13ea62b286fa71dee01bb4197b906b79792bf1ca4e67a46b5c04621d7070241ac32876f6de891

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-0.10.0.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-0.10.0.ebuild
new file mode 100644
index 000..3cd75592159
--- /dev/null
+++ b/dev-cpp/prometheus-cpp/prometheus-cpp-0.10.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~x86"
+IUSE="test zlib"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-libs/cppcodec
+   net-misc/curl
+   sys-libs/zlib
+   www-servers/civetweb[cxx]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gtest
+   )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_PULL=yes
+   -DENABLE_PUSH=yes
+   -DENABLE_COMPRESSION=$(usex zlib)
+   -DENABLE_TESTING=$(usex test)
+   -DUSE_THIRDPARTY_LIBRARIES=OFF
+   )
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/, dev-cpp/prometheus-cpp/files/

2020-09-12 Thread Joonas Niilola
commit: 7176900df615d6a2fa846736f76cc3df90b51f5c
Author: William Breathitt Gray  gmail  com>
AuthorDate: Tue Sep  8 13:41:16 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Sep 13 06:01:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7176900d

dev-cpp/prometheus-cpp: Add patch to skip test if locale not available

Closes: https://bugs.gentoo.org/741040
Signed-off-by: William Breathitt Gray  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17466
Signed-off-by: Joonas Niilola  gentoo.org>

 ...erialization-test-if-locale-is-not-availa.patch | 80 ++
 dev-cpp/prometheus-cpp/prometheus-cpp-0.9.0.ebuild |  4 ++
 2 files changed, 84 insertions(+)

diff --git 
a/dev-cpp/prometheus-cpp/files/prometheus-cpp-0.9.0-core-Skip-serialization-test-if-locale-is-not-availa.patch
 
b/dev-cpp/prometheus-cpp/files/prometheus-cpp-0.9.0-core-Skip-serialization-test-if-locale-is-not-availa.patch
new file mode 100644
index 000..ced0b80e83e
--- /dev/null
+++ 
b/dev-cpp/prometheus-cpp/files/prometheus-cpp-0.9.0-core-Skip-serialization-test-if-locale-is-not-availa.patch
@@ -0,0 +1,80 @@
+From bf6e2ce56abe2a710181f0365a21ca2dafd2a8f5 Mon Sep 17 00:00:00 2001
+From: Gregor Jasny 
+Date: Fri, 13 Mar 2020 13:16:56 +0100
+Subject: [PATCH] core: Skip serialization test if locale is not available
+
+Closes: #345
+---
+ core/tests/raii_locale.h  | 15 +++
+ core/tests/serializer_test.cc | 21 ++---
+ 2 files changed, 29 insertions(+), 7 deletions(-)
+ create mode 100644 core/tests/raii_locale.h
+
+diff --git a/core/tests/raii_locale.h b/core/tests/raii_locale.h
+new file mode 100644
+index 000..592d74f
+--- /dev/null
 b/core/tests/raii_locale.h
+@@ -0,0 +1,15 @@
++#pragma once
++
++#include 
++
++class RAIILocale {
++ public:
++  RAIILocale(const char* name) : savedLocale_(std::locale::classic()) {
++std::locale::global(std::locale(name));
++  }
++
++  ~RAIILocale() { std::locale::global(savedLocale_); }
++
++ private:
++  const std::locale savedLocale_;
++};
+diff --git a/core/tests/serializer_test.cc b/core/tests/serializer_test.cc
+index f935a3b..6cb8f0e 100644
+--- a/core/tests/serializer_test.cc
 b/core/tests/serializer_test.cc
+@@ -1,9 +1,13 @@
+ #include "prometheus/counter.h"
++#include "prometheus/detail/future_std.h"
+ #include "prometheus/family.h"
+ #include "prometheus/text_serializer.h"
+ 
++#include "raii_locale.h"
++
+ #include 
+-#include 
++
++#include 
+ #include 
+ 
+ namespace prometheus {
+@@ -25,15 +29,18 @@ class SerializerTest : public testing::Test {
+ 
+ #ifndef _WIN32
+ TEST_F(SerializerTest, shouldSerializeLocaleIndependent) {
+-  // save and change locale
+-  const std::locale oldLocale = std::locale::classic();
+-  std::locale::global(std::locale("de_DE.UTF-8"));
++  std::unique_ptr localeWithCommaDecimalSeparator;
++
++  // ignore missing locale and skip test if setup fails
++  try {
++localeWithCommaDecimalSeparator =
++detail::make_unique("de_DE.UTF-8");
++  } catch (std::runtime_error&) {
++GTEST_SKIP();
++  }
+ 
+   const auto serialized = textSerializer.Serialize(collected);
+   EXPECT_THAT(serialized, testing::HasSubstr("1.0"));
+-
+-  // restore locale
+-  std::locale::global(oldLocale);
+ }
+ #endif
+ 
+-- 
+2.28.0
+

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-0.9.0.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-0.9.0.ebuild
index 3cd75592159..75d66bcbc3d 100644
--- a/dev-cpp/prometheus-cpp/prometheus-cpp-0.9.0.ebuild
+++ b/dev-cpp/prometheus-cpp/prometheus-cpp-0.9.0.ebuild
@@ -26,6 +26,10 @@ DEPEND="${RDEPEND}
dev-cpp/gtest
)"
 
+PATCHES=(
+   
"${FILESDIR}/${P}-core-Skip-serialization-test-if-locale-is-not-availa.patch"
+)
+
 src_configure() {
local mycmakeargs=(
-DENABLE_PULL=yes



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/prometheus-cpp/

2020-09-05 Thread Joonas Niilola
commit: fbe439d0da459c4ccf6e85976425ce7287a346fa
Author: William Breathitt Gray  gmail  com>
AuthorDate: Sun Jul 26 17:56:14 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Sep  6 05:55:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe439d0

dev-cpp/prometheus-cpp: New package

Bug: https://bugs.gentoo.org/733984
Signed-off-by: William Breathitt Gray  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-cpp/prometheus-cpp/Manifest|  1 +
 dev-cpp/prometheus-cpp/metadata.xml| 24 +
 dev-cpp/prometheus-cpp/prometheus-cpp-0.9.0.ebuild | 39 ++
 3 files changed, 64 insertions(+)

diff --git a/dev-cpp/prometheus-cpp/Manifest b/dev-cpp/prometheus-cpp/Manifest
new file mode 100644
index 000..7db715e0f9a
--- /dev/null
+++ b/dev-cpp/prometheus-cpp/Manifest
@@ -0,0 +1 @@
+DIST prometheus-cpp-0.9.0.tar.gz 43924 BLAKE2B 
e2b26b257e44c63ae5bc2a703d0ee9247fd8f093ef58a3b00dec022af9cb56b18d20b74ccdb91899e2385b036c332b62d9959b9258082ca420fecf48926139d5
 SHA512 
d9d5fbbd8c8aad5dd6a5e872275324d689a0c57199e4158d74e13ea62b286fa71dee01bb4197b906b79792bf1ca4e67a46b5c04621d7070241ac32876f6de891

diff --git a/dev-cpp/prometheus-cpp/metadata.xml 
b/dev-cpp/prometheus-cpp/metadata.xml
new file mode 100644
index 000..ece2117d6db
--- /dev/null
+++ b/dev-cpp/prometheus-cpp/metadata.xml
@@ -0,0 +1,24 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   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.
+   
+   
+   vilhelm.g...@gmail.com
+   William Breathitt Gray
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   
https://github.com/jupp0r/prometheus-cpp/issues
+   https://jupp0r.github.io/prometheus-cpp/
+   jupp0r/prometheus-cpp
+   
+

diff --git a/dev-cpp/prometheus-cpp/prometheus-cpp-0.9.0.ebuild 
b/dev-cpp/prometheus-cpp/prometheus-cpp-0.9.0.ebuild
new file mode 100644
index 000..3cd75592159
--- /dev/null
+++ b/dev-cpp/prometheus-cpp/prometheus-cpp-0.9.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~x86"
+IUSE="test zlib"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-libs/cppcodec
+   net-misc/curl
+   sys-libs/zlib
+   www-servers/civetweb[cxx]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gtest
+   )"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_PULL=yes
+   -DENABLE_PUSH=yes
+   -DENABLE_COMPRESSION=$(usex zlib)
+   -DENABLE_TESTING=$(usex test)
+   -DUSE_THIRDPARTY_LIBRARIES=OFF
+   )
+
+   cmake_src_configure
+}