Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/openipmi/
Date: Thu, 04 Jan 2018 11:21:45
Message-Id: 1515064887.1dae4825e9f33d435ebbde71db211fb563c503f2.polynomial-c@gentoo
1 commit: 1dae4825e9f33d435ebbde71db211fb563c503f2
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 4 11:21:27 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 4 11:21:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dae4825
7
8 sys-libs/openipmi: Removed old.
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 sys-libs/openipmi/Manifest | 2 -
13 sys-libs/openipmi/openipmi-2.0.18-r1.ebuild | 97 -------------------------
14 sys-libs/openipmi/openipmi-2.0.23_rc1.ebuild | 104 ---------------------------
15 3 files changed, 203 deletions(-)
16
17 diff --git a/sys-libs/openipmi/Manifest b/sys-libs/openipmi/Manifest
18 index be6221359bf..da31f61e4a8 100644
19 --- a/sys-libs/openipmi/Manifest
20 +++ b/sys-libs/openipmi/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST OpenIPMI-2.0.18.tar.gz 2895686 BLAKE2B 5197b58fbf3b378b296c1b3f0ddfe02f19982a2f3a08a8e6c35647f592192f1b141f1c74d9d83cba73d9f19caa03cb6a147f31b70dddce97f04860bda5579019 SHA512 a6caf791fb6d5bd83234481ea3c84a408dad3eabc093dbc4681742d23b47b223d0a1715a71a9b977a03a80f5c350dd34f6591ece5ea0d9876cb6debfc80a39d4
23 DIST OpenIPMI-2.0.22.tar.gz 3081893 BLAKE2B 6ec5ec7f61f3033a9d953df4b091522fa5bd891a93dfe648f807548e3dc0f5ffc0d15af9b687379e6749d7b97ee2fd6c7f9e713aaa7423b82bf099fb2d0fb6b8 SHA512 78017fc0b52ce6a83db45f595f50170410120c9f7394429869c177ee40ea5b924bcc0e36bb60f9368a75a2f78ff71c70ae3631ba55a207cfb6eb4f62aa44ff89
24 -DIST OpenIPMI-2.0.23-rc1.tar.gz 3225557 BLAKE2B d67e0f0f401c174cba805cf7ce6d46a9133e5bb87f40776f91200ace3f27be023373d26ae74900dbf8c211c8d246a28105f347fd1e6f6d83ba9d92cf984ac11a SHA512 4da3d74073fe19573b8bc5fda15ecfa4d500a074559155456010e0bac8a8c2d345e30c086a851a9a4e7266165dd9a7a6d8f618e65bad3c2b18fe86d8f4c362ab
25 DIST OpenIPMI-2.0.24.tar.gz 3211633 BLAKE2B 56658e0c06ae2d192415fb5d71fe13afc5819a7b2412af8f51d829a11f3ad10faf592b5da4cb51e43667303385ca2c1f8413045bc444f045d6f3e0f6dc553682 SHA512 de1e0a46d7e25af06e07a0f5b8e23deac14d2bca854fbe09b221e776b46b5cf13b5af6b7ee1e8d0984eb792aa4bd095d66d98775674809feafe0a357ca95d677
26
27 diff --git a/sys-libs/openipmi/openipmi-2.0.18-r1.ebuild b/sys-libs/openipmi/openipmi-2.0.18-r1.ebuild
28 deleted file mode 100644
29 index 50a5dd0d96d..00000000000
30 --- a/sys-libs/openipmi/openipmi-2.0.18-r1.ebuild
31 +++ /dev/null
32 @@ -1,97 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -
38 -PYTHON_COMPAT=( python2_7 )
39 -
40 -inherit eutils autotools python-single-r1
41 -
42 -DESCRIPTION="Library interface to IPMI"
43 -HOMEPAGE="https://sourceforge.net/projects/openipmi/"
44 -MY_PN="OpenIPMI"
45 -MY_P="${MY_PN}-${PV}"
46 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
47 -
48 -LICENSE="LGPL-2.1 GPL-2"
49 -SLOT="0"
50 -KEYWORDS="amd64 hppa ~ia64 ppc x86"
51 -IUSE="crypt snmp perl tcl python"
52 -S="${WORKDIR}/${MY_P}"
53 -RESTRICT='test'
54 -
55 -RDEPEND="
56 - dev-libs/glib:2
57 - sys-libs/gdbm:=
58 - sys-libs/ncurses:0=
59 - crypt? ( dev-libs/openssl:0= )
60 - snmp? ( net-analyzer/net-snmp )
61 - perl? ( dev-lang/perl )
62 - python? ( ${PYTHON_DEPS} )
63 - tcl? ( dev-lang/tcl:0= )"
64 -DEPEND="${RDEPEND}
65 - >=dev-lang/swig-1.3.21
66 - virtual/pkgconfig"
67 -# Gui is broken!
68 -# python? ( tcl? ( tk? ( dev-lang/tk dev-tcltk/tix ) ) )"
69 -
70 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
71 -
72 -pkg_setup() {
73 - use python && python-single-r1_pkg_setup
74 -}
75 -
76 -src_prepare() {
77 - # Bug #338499: The installed OpenIPMIpthread.pc depends on a non-existing
78 - # pthread.pc. We patch it to link -lpthread directly instead.
79 - epatch "${FILESDIR}/${PN}-2.0.16-pthreads.patch"
80 - # Bug #290763: The buildsys tries to compile+optimize the py file during
81 - # install, when the .so might not be been added yet. We just skip the files
82 - # and use python_optimize ourselves later instead.
83 - sed -r -i \
84 - -e '/INSTALL.*\.py[oc] /d' \
85 - -e '/install-exec-local/s,OpenIPMI.pyc OpenIPMI.pyo,,g' \
86 - swig/python/Makefile.{am,in}
87 -
88 - # Bug #298250: parallel install fix.
89 - sed -r -i \
90 - -e '/^install-data-local:/s,$, install-exec-am,g' \
91 - cmdlang/Makefile.{am,in}
92 -
93 - # We touch the .in and .am above because if we use the below, the Perl stuff
94 - # is very fragile, and often fails to link.
95 - #cd "${S}"
96 - #elibtoolize
97 - #eautoreconf
98 -}
99 -
100 -src_configure() {
101 - local myconf=""
102 - myconf="${myconf} `use_with snmp ucdsnmp yes`"
103 - myconf="${myconf} `use_with crypt openssl yes`"
104 - myconf="${myconf} `use_with perl perl yes`"
105 - myconf="${myconf} `use_with tcl tcl yes`"
106 - myconf="${myconf} `use_with python python yes`"
107 -
108 - # GUI is broken
109 - #use tk && use python && use !tcl && \
110 - # ewarn "Not building Tk GUI because it needs both Python AND Tcl"
111 - #if use python && use tcl; then
112 - # myconf="${myconf} `use_yesno tk tkinter yes`"
113 - #else
114 - # myconf="${myconf} `use_yesno tk tkinter no`"
115 - #fi
116 -
117 - myconf="${myconf} --without-tkinter"
118 - myconf="${myconf} --with-glib --with-swig"
119 - # these binaries are for root!
120 - econf ${myconf} --bindir=/usr/sbin
121 -}
122 -
123 -src_install() {
124 - emake DESTDIR="${D}" install
125 - dodoc README* FAQ ChangeLog TODO doc/IPMI.pdf lanserv/README.emulator
126 - newdoc cmdlang/README README.cmdlang
127 -
128 - use python && python_optimize
129 -}
130
131 diff --git a/sys-libs/openipmi/openipmi-2.0.23_rc1.ebuild b/sys-libs/openipmi/openipmi-2.0.23_rc1.ebuild
132 deleted file mode 100644
133 index fd42b322009..00000000000
134 --- a/sys-libs/openipmi/openipmi-2.0.23_rc1.ebuild
135 +++ /dev/null
136 @@ -1,104 +0,0 @@
137 -# Copyright 1999-2018 Gentoo Foundation
138 -# Distributed under the terms of the GNU General Public License v2
139 -
140 -EAPI=6
141 -
142 -PYTHON_COMPAT=( python2_7 )
143 -
144 -inherit eutils autotools python-single-r1
145 -
146 -DESCRIPTION="Library interface to IPMI"
147 -HOMEPAGE="https://sourceforge.net/projects/openipmi/"
148 -MY_PN="OpenIPMI"
149 -MY_P="${MY_PN}-${PV/_/-}"
150 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
151 -
152 -LICENSE="LGPL-2.1 GPL-2"
153 -SLOT="0"
154 -KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86"
155 -IUSE="crypt snmp perl python tcl"
156 -S="${WORKDIR}/${MY_P}"
157 -RESTRICT='test'
158 -
159 -RDEPEND="
160 - dev-libs/glib:2
161 - sys-libs/gdbm:=
162 - sys-libs/ncurses:0=
163 - crypt? ( dev-libs/openssl:0= )
164 - snmp? ( net-analyzer/net-snmp )
165 - perl? ( dev-lang/perl )
166 - python? ( ${PYTHON_DEPS} )
167 - tcl? ( dev-lang/tcl:0= )"
168 -DEPEND="${RDEPEND}
169 - >=dev-lang/swig-1.3.21
170 - virtual/pkgconfig"
171 -# Gui is broken!
172 -# python? ( tcl? ( tk? ( dev-lang/tk dev-tcltk/tix ) ) )"
173 -
174 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
175 -
176 -PATCHES=(
177 - # Bug #338499: The installed OpenIPMIpthread.pc depends on a non-existing
178 - # pthread.pc. We patch it to link -lpthread directly instead.
179 - "${FILESDIR}/${PN}-2.0.16-pthreads.patch"
180 -
181 - # https://bugs.gentoo.org/501510
182 - "${FILESDIR}/${PN}-2.0.21-tinfo.patch"
183 -)
184 -
185 -pkg_setup() {
186 - use python && python-single-r1_pkg_setup
187 -}
188 -
189 -src_prepare() {
190 - default
191 -
192 - # Bug #290763: The buildsys tries to compile+optimize the py file during
193 - # install, when the .so might not be been added yet. We just skip the files
194 - # and use python_optimize ourselves later instead.
195 - sed -r -i \
196 - -e '/INSTALL.*\.py[oc] /d' \
197 - -e '/install-exec-local/s,OpenIPMI.pyc OpenIPMI.pyo,,g' \
198 - swig/python/Makefile.{am,in}
199 -
200 - # Bug #298250: parallel install fix.
201 - sed -r -i \
202 - -e '/^install-data-local:/s,$, install-exec-am,g' \
203 - cmdlang/Makefile.{am,in}
204 -
205 - # We touch the .in and .am above because if we use the below, the Perl stuff
206 - # is very fragile, and often fails to link.
207 - #cd "${S}"
208 - eautoreconf
209 -}
210 -
211 -src_configure() {
212 - local myconf=()
213 - myconf+=( $(use_with snmp ucdsnmp yes) )
214 - myconf+=( $(use_with crypt openssl yes) )
215 - myconf+=( $(use_with perl perl yes) )
216 - myconf+=( $(use_with tcl tcl yes) )
217 - myconf+=( $(use_with python python yes) )
218 -
219 - # GUI is broken
220 - #use tk && use python && use !tcl && \
221 - # ewarn "Not building Tk GUI because it needs both Python AND Tcl"
222 - #if use python && use tcl; then
223 - # myconf+=( $(use_with tk tkinter) )
224 - #else
225 - # myconf+=( --without-tkinter )
226 - #fi
227 -
228 - myconf+=( --without-tkinter )
229 - myconf+=( --with-glib --with-glibver=2.0 --with-glib12=no --with-swig )
230 - # these binaries are for root!
231 - econf ${myconf[@]} --bindir=/usr/sbin
232 -}
233 -
234 -src_install() {
235 - emake DESTDIR="${D}" install
236 - dodoc README* FAQ ChangeLog TODO doc/IPMI.pdf lanserv/README.vm
237 - newdoc cmdlang/README README.cmdlang
238 -
239 - use python && python_optimize
240 -}