Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/rrdtool/
Date: Sat, 14 Sep 2019 08:40:48
Message-Id: 1568450439.fb42d58e2b736d6117f5f1cffcccd55c94844fe8.jer@gentoo
1 commit: fb42d58e2b736d6117f5f1cffcccd55c94844fe8
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 14 08:40:03 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=fb42d58e
7
8 net-analyzer/rrdtool: Old
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 net-analyzer/rrdtool/Manifest | 1 -
14 net-analyzer/rrdtool/rrdtool-1.7.0.ebuild | 190 ------------------------------
15 2 files changed, 191 deletions(-)
16
17 diff --git a/net-analyzer/rrdtool/Manifest b/net-analyzer/rrdtool/Manifest
18 index 861a05f0b6a..2dca88add42 100644
19 --- a/net-analyzer/rrdtool/Manifest
20 +++ b/net-analyzer/rrdtool/Manifest
21 @@ -1,4 +1,3 @@
22 DIST rrdtool-1.6.0.tar.gz 2186538 BLAKE2B b56ef79b9d45a65cacd7c1d8da2158dcaaff3ebc2ffc0640081cdc2fa3ac643be1ce48a2cac60427a836dc3e457ddb042c95533d0ffbcdefa2978f5659150391 SHA512 45a8f16a2bda9d497c5f39de80236adb7a5bd054a14755c4d130f21cd6430bd0a76caef9632994be56fd1ea2364eb218687ea8ebf945a71ca411221c248f3ebd
23 -DIST rrdtool-1.7.0.tar.gz 2849994 BLAKE2B f7a91fa661728850af55356a69b61ea1d4343c79579823e025e0a0757d1dab0d2cda6387197ece20e07f33a657743350cadfaf6504500f13be472d18e8826a3f SHA512 36d979561601135d74622eaf183701de15cba5e25118f7a308926a695ba84ecb33c3d16511bf4bc80cff055853e2eb85065bc4ed8aef19fc0277c6430ecd319f
24 DIST rrdtool-1.7.1.tar.gz 2881346 BLAKE2B e538c6ba3fb6726f0515ed655aa8d5e184f6d3066bb32e981b3254e41c53e29529698da5ef73f8365391180c76d15808d1d727a0834b8025893b01c3b9af8f46 SHA512 ee5c9ff234493442ccd9bfc7031700483011de3e05c01e026509b699cb0d7d3e286e2046357c5fff5807f3e709043c8f218b48b43f8b126a23e228a3927d7b14
25 DIST rrdtool-1.7.2.tar.gz 2883737 BLAKE2B f3ff6cc4e325cdec42a6f9e67a1644f501c11edc47bc281df58c2e1d7be4c01767c35166f4301f68cf9c22dcd5c159bb51ee704a5e36776acdf166100122cebb SHA512 453230efc68aeb4a12842d20a9d246ba478a79c2f6bfd9693a91837c1c1136abe8af177be64fe29aa40bf84ccfce7f2f15296aefe095e89b8b62aef5a7623e29
26
27 diff --git a/net-analyzer/rrdtool/rrdtool-1.7.0.ebuild b/net-analyzer/rrdtool/rrdtool-1.7.0.ebuild
28 deleted file mode 100644
29 index 9f3cdf8e4bd..00000000000
30 --- a/net-analyzer/rrdtool/rrdtool-1.7.0.ebuild
31 +++ /dev/null
32 @@ -1,190 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -DISTUTILS_OPTIONAL=true
39 -DISTUTILS_SINGLE_IMPL=true
40 -GENTOO_DEPEND_ON_PERL=no
41 -PYTHON_COMPAT=( python{2_7,3_5,3_6} )
42 -inherit autotools perl-module distutils-r1 flag-o-matic multilib
43 -
44 -MY_P=${P/_/-}
45 -
46 -DESCRIPTION="A system to store and display time-series data"
47 -HOMEPAGE="https://oss.oetiker.ch/rrdtool/"
48 -SRC_URI="${HOMEPAGE}pub/${MY_P}.tar.gz"
49 -
50 -LICENSE="GPL-2"
51 -SLOT="0/8.0.0"
52 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
53 -IUSE="dbi doc graph lua perl python rados rrdcgi ruby static-libs tcl tcpd"
54 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
55 -
56 -CDEPEND="
57 - >=dev-libs/glib-2.28.7:2[static-libs(+)?]
58 - >=dev-libs/libxml2-2.7.8:2[static-libs(+)?]
59 - dbi? ( dev-db/libdbi[static-libs(+)?] )
60 - graph? (
61 - >=media-libs/libpng-1.5.10:0=[static-libs(+)?]
62 - >=x11-libs/cairo-1.10.2[svg,static-libs(+)?]
63 - >=x11-libs/pango-1.28
64 - )
65 - lua? ( dev-lang/lua:*[deprecated] )
66 - perl? ( dev-lang/perl:= )
67 - python? ( ${PYTHON_DEPS} )
68 - rados? ( sys-cluster/ceph )
69 - tcl? ( dev-lang/tcl:0= )
70 - tcpd? ( sys-apps/tcp-wrappers )
71 -"
72 -
73 -DEPEND="
74 - ${CDEPEND}
75 - sys-apps/groff
76 - virtual/pkgconfig
77 - virtual/awk
78 -"
79 -RDEPEND="
80 - ${CDEPEND}
81 -"
82 -PDEPEND="
83 - ruby? ( ~dev-ruby/rrdtool-bindings-${PV} )
84 -"
85 -PATCHES=(
86 - "${FILESDIR}"/${PN}-1.4.9-disable-rrd_graph-perl.patch
87 - "${FILESDIR}"/${PN}-1.5.0_rc1-disable-rrd_graph-lua.patch
88 - "${FILESDIR}"/${PN}-1.6.0-configure.ac.patch
89 - "${FILESDIR}"/${PN}-1.7.0-disable-rrd_graph-cgi.patch
90 -
91 -)
92 -S=${WORKDIR}/${MY_P}
93 -
94 -python_compile() {
95 - cd bindings/python || die
96 - distutils-r1_python_compile
97 -}
98 -
99 -python_install() {
100 - cd bindings/python || die
101 - distutils-r1_python_install
102 -}
103 -
104 -pkg_setup() {
105 - use python && python-single-r1_pkg_setup
106 -}
107 -
108 -src_prepare() {
109 - default
110 - # At the next version bump, please see if you actually still need this
111 - # before adding versions
112 - if ! [ -f doc/rrdrados.pod ]; then
113 - cp "${FILESDIR}"/${PN}-1.5.5-rrdrados.pod doc/rrdrados.pod
114 - else
115 - die "File already exists: doc/rrdrados.pod. Remove this code!"
116 - fi
117 -
118 - # bug 456810
119 - # no time to sleep
120 - sed -i \
121 - -e 's|$LUA_CFLAGS|IGNORE_THIS_BAD_TEST|g' \
122 - -e 's|^sleep 1$||g' \
123 - -e '/^dnl.*png/s|^dnl||g' \
124 - configure.ac || die
125 -
126 - # Python bindings are built/installed manually
127 - sed -i \
128 - -e '/^all-local:/s| @COMP_PYTHON@||' \
129 - bindings/Makefile.am || die
130 -
131 - if ! use graph; then
132 - sed -i \
133 - -e '2s:rpn1::; 2s:rpn2::; 6s:create-with-source-4::;' \
134 - -e '7s:xport1::; 7s:dcounter1::; 7s:vformatter1::' \
135 - tests/Makefile.am || die
136 - fi
137 -
138 - echo ${PV/_rc*/} >> VERSION || die
139 -
140 - export rd_cv_gcc_flag__Werror=no
141 -
142 - eautoreconf
143 -}
144 -
145 -src_configure() {
146 - filter-flags -ffast-math
147 -
148 - export RRDDOCDIR=${EPREFIX}/usr/share/doc/${PF}
149 -
150 - # to solve bug #260380
151 - [[ ${CHOST} == *-solaris* ]] && append-flags -D__EXTENSIONS__
152 -
153 - # Stub configure.ac
154 - local myconf=()
155 - if ! use tcpd; then
156 - myconf+=( "--disable-libwrap" )
157 - fi
158 - if ! use dbi; then
159 - myconf+=( "--disable-libdbi" )
160 - fi
161 - if ! use rados; then
162 - myconf+=( "--disable-librados" )
163 - fi
164 -
165 - econf \
166 - $(use_enable graph rrd_graph) \
167 - $(use_enable lua lua-site-install) \
168 - $(use_enable lua) \
169 - $(use_enable perl perl-site-install) \
170 - $(use_enable perl) \
171 - $(use_enable python) \
172 - $(use_enable rrdcgi) \
173 - $(use_enable static-libs static) \
174 - $(use_enable tcl) \
175 - $(use_with tcl tcllib "${EPREFIX}"/usr/$(get_libdir)) \
176 - --with-perl-options=INSTALLDIRS=vendor \
177 - --disable-ruby-site-install \
178 - --disable-ruby \
179 - ${myconf[@]}
180 -}
181 -
182 -src_compile() {
183 - default
184 -
185 - use python && distutils-r1_src_compile
186 -}
187 -
188 -src_test() {
189 - export LC_ALL=C
190 - default
191 -}
192 -
193 -src_install() {
194 - default
195 -
196 - if ! use doc ; then
197 - rm -rf "${ED}"usr/share/doc/${PF}/{html,txt}
198 - fi
199 -
200 - if use !rrdcgi ; then
201 - # uses rrdcgi, causes invalid shebang error in Prefix, useless
202 - # without rrdcgi installed
203 - rm -f "${ED}"usr/share/${PN}/examples/cgi-demo.cgi
204 - fi
205 -
206 - if use perl ; then
207 - perl_delete_localpod
208 - perl_delete_packlist
209 - fi
210 -
211 - dodoc CHANGES CONTRIBUTORS NEWS THREADS TODO
212 -
213 - find "${ED}"usr -name '*.la' -exec rm -f {} +
214 -
215 - keepdir /var/lib/rrdcached/journal/
216 - keepdir /var/lib/rrdcached/db/
217 -
218 - newconfd "${FILESDIR}"/rrdcached.confd rrdcached
219 - newinitd "${FILESDIR}"/rrdcached.init rrdcached
220 -
221 - use python && distutils-r1_src_install
222 -}