public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rrdtool-bindings/
Date: Sun, 11 Aug 2024 14:22:19 +0000 (UTC)	[thread overview]
Message-ID: <1723386130.b2d0d1775bb37619e5867e3f5b90500d639c2ea0.conikost@gentoo> (raw)

commit:     b2d0d1775bb37619e5867e3f5b90500d639c2ea0
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 14:16:04 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 14:22:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2d0d177

dev-ruby/rrdtool-bindings: add 1.9.0

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-ruby/rrdtool-bindings/Manifest                 |  1 +
 .../rrdtool-bindings/rrdtool-bindings-1.9.0.ebuild | 64 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/dev-ruby/rrdtool-bindings/Manifest b/dev-ruby/rrdtool-bindings/Manifest
index e3ece643a7cd..8a82f2164d65 100644
--- a/dev-ruby/rrdtool-bindings/Manifest
+++ b/dev-ruby/rrdtool-bindings/Manifest
@@ -1 +1,2 @@
 DIST rrdtool-1.8.0.tar.gz 2955398 BLAKE2B d821d662af432c53760bc0e9636b84d9209933a810fa71091fc4c2b44518c89c7ad509bde7955d952279ee41464c3bfa4f631662dde61b6fff46699bb382653f SHA512 8ae6f94d119e8d0e1ba7f2d0738f1ba008a4880d1022f1c0c5436f662d961fceec5c42e01c241493ece3d6f55c60fd7d1d264f93e678f3cf1251201dcde027c1
+DIST rrdtool-1.9.0.tar.gz 2972593 BLAKE2B a5633b1bcacf53823f95f7899872e67d9941faec235c56546de8b66faf15a958a7c0d6a86d569c078e11a478dc272b1fbe784c3d3d9d45e8c3de696f0d6e378a SHA512 ebeb1fd9e1eed8e01d4d08a4f07aa22c272cc95ac87852f81a892690e6f446b5398bf64689ea99622779cba490722d97b325bda2d2a6d4dfc0719929b2a4c041

diff --git a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.9.0.ebuild b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.9.0.ebuild
new file mode 100644
index 000000000000..47736a0ab2d9
--- /dev/null
+++ b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.9.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="${P/-bindings}"
+MY_P="${MY_P/_/-}"
+
+USE_RUBY="ruby31 ruby32 ruby33"
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit ruby-ng
+
+DESCRIPTION="Ruby bindings for rrdtool"
+HOMEPAGE="https://oss.oetiker.ch/rrdtool/"
+SRC_URI="https://github.com/oetiker/${PN/-bindings}-1.x/releases/download/v${PV}/${MY_P}.tar.gz"
+RUBY_S="${MY_P}/bindings/ruby"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="graph test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( graph )"
+
+# Block on older versions of rrdtool that install the bindings themselves.
+# requires rrd_xport which requires rrd_graph
+RDEPEND="
+	~net-analyzer/rrdtool-${PV}[graph=]
+"
+DEPEND="
+	${RDEPEND}
+	test? ( ~net-analyzer/rrdtool-${PV}[graph] )
+"
+
+all_ruby_prepare() {
+	eapply -p3 "${FILESDIR}"/${PN}-1.4.8-graph-ruby.patch
+}
+
+each_ruby_configure() {
+	rm ../../src/rrd_config.h || die
+	touch ../../src/rrd_config.h || die
+
+	${RUBY} extconf.rb \
+		--with-cflags="${CFLAGS} $(usex graph -DHAVE_RRD_GRAPH -UHAVE_RRD_GRAPH)" || die
+}
+
+each_ruby_compile() {
+	emake V=1 ABS_TOP_SRCDIR="${PWD}/../.."
+}
+
+each_ruby_test() {
+	if use graph; then
+		${RUBY} -I. test.rb || die
+	fi
+}
+
+all_ruby_install() {
+	dodoc CHANGES README
+}
+
+each_ruby_install() {
+	DESTDIR=${D} emake install
+}


             reply	other threads:[~2024-08-11 14:22 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-11 14:22 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-04 20:15 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rrdtool-bindings/ Conrad Kostecki
2025-04-03 22:25 Sam James
2025-04-03 16:52 Arthur Zamarin
2025-04-03  2:42 Sam James
2025-04-03  2:42 Sam James
2025-04-03  2:42 Sam James
2025-04-03  2:42 Sam James
2025-04-03  2:42 Sam James
2025-03-30 16:44 Viorel Munteanu
2024-12-29  9:15 Hans de Graaff
2024-09-17 16:00 Sam James
2024-09-17 16:00 Sam James
2024-07-17  9:38 Hans de Graaff
2023-04-13  3:03 Sam James
2023-04-13  3:03 Sam James
2022-12-05  9:29 WANG Xuerui
2022-07-18 21:47 Conrad Kostecki
2022-05-28 18:08 Conrad Kostecki
2022-05-28 15:55 Jakov Smolić
2022-05-06 11:34 Jakov Smolić
2022-05-06 11:34 Jakov Smolić
2022-05-06 11:34 Jakov Smolić
2022-05-06 11:34 Jakov Smolić
2022-05-06 11:29 Jakov Smolić
2022-05-06  8:09 Arthur Zamarin
2022-04-23  9:43 Hans de Graaff
2022-04-05 19:34 Conrad Kostecki
2021-08-02 22:31 Marek Szuba
2021-04-08  5:52 Hans de Graaff
2020-09-19 11:28 Michał Górny
2020-08-06  6:47 Sergei Trofimovich
2020-08-03 16:34 Sergei Trofimovich
2020-07-18  0:29 Sam James
2020-07-08 10:59 Michał Górny
2020-07-05  8:52 Sergei Trofimovich
2020-07-05  8:47 Sergei Trofimovich
2020-06-28 20:56 Thomas Deutschmann
2020-06-27 20:41 Mart Raudsepp
2020-06-27  5:19 Jeroen Roovers
2020-03-28  9:54 Sergei Trofimovich
2020-03-26  7:25 Hans de Graaff
2019-09-14  9:51 Jeroen Roovers
2019-09-14  8:40 Jeroen Roovers
2019-05-28 12:08 Jeroen Roovers
2019-04-27 23:35 Aaron Bauman
2019-04-27 22:56 Aaron Bauman
2019-04-21  7:46 Hans de Graaff
2019-03-23 12:16 Jeroen Roovers
2019-03-09  8:19 Mikle Kolyada
2019-02-05 15:48 Jeroen Roovers
2019-01-26 16:45 Hans de Graaff
2018-06-06  4:44 Hans de Graaff
2018-03-24 12:44 Jeroen Roovers
2018-03-18 23:15 Jeroen Roovers
2018-01-05 19:40 Mikle Kolyada
2017-12-20 22:04 Sergei Trofimovich
2017-09-24  7:10 Hans de Graaff
2017-06-28  6:09 Hans de Graaff
2017-06-06  8:25 Sergei Trofimovich
2017-06-06  8:25 Sergei Trofimovich
2017-05-21 22:34 Jeroen Roovers
2017-04-14  5:28 Hans de Graaff
2017-03-01  7:55 Michael Weber
2017-02-18  8:51 Jeroen Roovers
2017-01-29 17:28 Fabian Groffen
2016-12-21 18:39 Thomas Deutschmann
2016-12-03  6:41 Hans de Graaff
2016-10-22 11:50 Tobias Klausmann
2016-10-22  8:38 Jeroen Roovers
2016-04-23 11:42 Jeroen Roovers
2016-04-23 11:37 Jeroen Roovers
2016-04-17 14:39 Manuel Rüger
2016-02-15 19:52 Tobias Klausmann
2016-02-05 12:49 Tobias Klausmann
2015-12-26 12:07 Jeroen Roovers
2015-12-26 10:14 Jeroen Roovers
2015-12-14 14:12 Agostino Sarubbo
2015-11-14  8:56 Jeroen Roovers
2015-08-14 12:48 Jeroen Roovers
2015-08-14 12:38 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1723386130.b2d0d1775bb37619e5867e3f5b90500d639c2ea0.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox