Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rrdtool-bindings/
Date: Sat, 14 Sep 2019 08:40:48
Message-Id: 1568450439.6d4208982d86c95b77e68f9da8126f6417b1ef85.jer@gentoo
1 commit: 6d4208982d86c95b77e68f9da8126f6417b1ef85
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 14 08:35:42 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 14 08:40:39 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d420898
7
8 dev-ruby/rrdtool-bindings: DEPEND on net-analyzer/rrdtool
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Bug: https://bugs.gentoo.org/690318
12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
13
14 .../rrdtool-bindings/rrdtool-bindings-1.6.0.ebuild | 1 +
15 .../rrdtool-bindings/rrdtool-bindings-1.7.0.ebuild | 60 ----------------------
16 .../rrdtool-bindings-1.7.1-r1.ebuild | 1 +
17 .../rrdtool-bindings/rrdtool-bindings-1.7.1.ebuild | 59 ---------------------
18 .../rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild | 1 +
19 5 files changed, 3 insertions(+), 119 deletions(-)
20
21 diff --git a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.6.0.ebuild b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.6.0.ebuild
22 index 50bf714fd42..20f293c3ab7 100644
23 --- a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.6.0.ebuild
24 +++ b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.6.0.ebuild
25 @@ -29,6 +29,7 @@ RDEPEND="
26 ~net-analyzer/rrdtool-${PV}[graph=]
27 "
28 DEPEND="
29 + ${RDEPEND}
30 test? ( ~net-analyzer/rrdtool-${PV}[graph] )
31 "
32
33
34 diff --git a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.0.ebuild b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.0.ebuild
35 deleted file mode 100644
36 index 1f8d1af39fc..00000000000
37 --- a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.0.ebuild
38 +++ /dev/null
39 @@ -1,60 +0,0 @@
40 -# Copyright 1999-2019 Gentoo Authors
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI=5
44 -USE_RUBY="ruby23 ruby24 ruby25 ruby26"
45 -RUBY_FAKEGEM_TASK_DOC=""
46 -inherit ruby-ng
47 -
48 -MY_P=${P/-bindings}
49 -MY_P=${MY_P/_/-}
50 -
51 -DESCRIPTION="Ruby bindings for rrdtool"
52 -HOMEPAGE="https://oss.oetiker.ch/rrdtool/"
53 -SRC_URI="${HOMEPAGE}pub/${MY_P}.tar.gz"
54 -RUBY_S="$MY_P"/bindings/ruby
55 -
56 -LICENSE="GPL-2"
57 -SLOT="0"
58 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
59 -IUSE="graph test"
60 -REQUIRED_USE="test? ( graph )"
61 -
62 -# Block on older versions of rrdtool that install the bindings themselves.
63 -# requires rrd_xport which requires rrd_graph
64 -RDEPEND="
65 - ~net-analyzer/rrdtool-${PV}[graph=]
66 -"
67 -DEPEND="
68 - test? ( ~net-analyzer/rrdtool-${PV}[graph] )
69 -"
70 -
71 -RUBY_PATCHES=(
72 - "${FILESDIR}"/${PN}-1.4.8-graph-ruby.patch
73 -)
74 -
75 -each_ruby_configure() {
76 - rm ../../src/rrd_config.h || die
77 - touch ../../src/rrd_config.h || die
78 -
79 - ${RUBY} extconf.rb \
80 - --with-cflags="${CFLAGS} $(usex graph -DHAVE_RRD_GRAPH -UHAVE_RRD_GRAPH)" || die
81 -}
82 -
83 -each_ruby_compile() {
84 - emake V=1 ABS_TOP_SRCDIR="${PWD}/../.."
85 -}
86 -
87 -each_ruby_test() {
88 - if use graph; then
89 - ${RUBY} -I. test.rb || die
90 - fi
91 -}
92 -
93 -all_ruby_install() {
94 - dodoc CHANGES README
95 -}
96 -
97 -each_ruby_install() {
98 - DESTDIR=${D} emake install
99 -}
100
101 diff --git a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.1-r1.ebuild b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.1-r1.ebuild
102 index 113be286f9b..aa652bbfc94 100644
103 --- a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.1-r1.ebuild
104 +++ b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.1-r1.ebuild
105 @@ -26,6 +26,7 @@ RDEPEND="
106 ~net-analyzer/rrdtool-${PV}[graph=]
107 "
108 DEPEND="
109 + ${RDEPEND}
110 test? ( ~net-analyzer/rrdtool-${PV}[graph] )
111 "
112
113
114 diff --git a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.1.ebuild b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.1.ebuild
115 deleted file mode 100644
116 index 4ed42759a6c..00000000000
117 --- a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.1.ebuild
118 +++ /dev/null
119 @@ -1,59 +0,0 @@
120 -# Copyright 1999-2019 Gentoo Authors
121 -# Distributed under the terms of the GNU General Public License v2
122 -
123 -EAPI=5
124 -USE_RUBY="ruby23 ruby24 ruby25 ruby26"
125 -RUBY_FAKEGEM_TASK_DOC=""
126 -inherit ruby-ng
127 -
128 -MY_P=${P/-bindings}
129 -MY_P=${MY_P/_/-}
130 -
131 -DESCRIPTION="Ruby bindings for rrdtool"
132 -HOMEPAGE="https://oss.oetiker.ch/rrdtool/"
133 -SRC_URI="${HOMEPAGE}pub/${MY_P}.tar.gz"
134 -RUBY_S="$MY_P"/bindings/ruby
135 -
136 -LICENSE="GPL-2"
137 -SLOT="0"
138 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
139 -IUSE="graph test"
140 -REQUIRED_USE="test? ( graph )"
141 -
142 -# Block on older versions of rrdtool that install the bindings themselves.
143 -# requires rrd_xport which requires rrd_graph
144 -RDEPEND="
145 - ~net-analyzer/rrdtool-${PV}[graph=]
146 -"
147 -DEPEND="
148 - test? ( ~net-analyzer/rrdtool-${PV}[graph] )
149 -"
150 -RUBY_PATCHES=(
151 - "${FILESDIR}"/${PN}-1.4.8-graph-ruby.patch
152 -)
153 -
154 -each_ruby_configure() {
155 - rm ../../src/rrd_config.h || die
156 - touch ../../src/rrd_config.h || die
157 -
158 - ${RUBY} extconf.rb \
159 - --with-cflags="${CFLAGS} $(usex graph -DHAVE_RRD_GRAPH -UHAVE_RRD_GRAPH)" || die
160 -}
161 -
162 -each_ruby_compile() {
163 - emake V=1 ABS_TOP_SRCDIR="${PWD}/../.."
164 -}
165 -
166 -each_ruby_test() {
167 - if use graph; then
168 - ${RUBY} -I. test.rb || die
169 - fi
170 -}
171 -
172 -all_ruby_install() {
173 - dodoc CHANGES README
174 -}
175 -
176 -each_ruby_install() {
177 - DESTDIR=${D} emake install
178 -}
179
180 diff --git a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild
181 index 113be286f9b..aa652bbfc94 100644
182 --- a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild
183 +++ b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild
184 @@ -26,6 +26,7 @@ RDEPEND="
185 ~net-analyzer/rrdtool-${PV}[graph=]
186 "
187 DEPEND="
188 + ${RDEPEND}
189 test? ( ~net-analyzer/rrdtool-${PV}[graph] )
190 "