Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel/files/, sci-chemistry/openbabel-python/files/, ...
Date: Sun, 04 Mar 2012 10:31:41
Message-Id: 1330857075.e30b4c139db3db8f0fc6d3086d21896f12238960.jlec@gentoo
1 commit: e30b4c139db3db8f0fc6d3086d21896f12238960
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 4 10:31:15 2012 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 4 10:31:15 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e30b4c13
7
8 Moved to tree
9
10 ---
11 sci-chemistry/openbabel-perl/ChangeLog | 10 ---
12 .../files/openbabel-perl-2.3.1-makefile.patch | 9 ---
13 sci-chemistry/openbabel-perl/metadata.xml | 12 ----
14 .../openbabel-perl/openbabel-perl-2.3.1.ebuild | 69 --------------------
15 sci-chemistry/openbabel-python/ChangeLog | 10 ---
16 .../openbabel-python-2.3.1-system_openbabel.patch | 15 ----
17 sci-chemistry/openbabel-python/metadata.xml | 12 ----
18 .../openbabel-python/openbabel-python-2.3.1.ebuild | 53 ---------------
19 sci-chemistry/openbabel/ChangeLog | 11 ---
20 .../files/openbabel-2.3.0-test_lib_path.patch | 12 ----
21 sci-chemistry/openbabel/metadata.xml | 14 ----
22 sci-chemistry/openbabel/openbabel-2.3.1.ebuild | 69 --------------------
23 12 files changed, 0 insertions(+), 296 deletions(-)
24
25 diff --git a/sci-chemistry/openbabel-perl/ChangeLog b/sci-chemistry/openbabel-perl/ChangeLog
26 deleted file mode 100644
27 index b6a2102..0000000
28 --- a/sci-chemistry/openbabel-perl/ChangeLog
29 +++ /dev/null
30 @@ -1,10 +0,0 @@
31 -# ChangeLog for sci-chemistry/openbabel-perl
32 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
33 -# $Header: $
34 -
35 -*openbabel-perl-2.3.1 (10 Nov 2011)
36 -
37 - 10 Nov 2011; Reinis Danne <rei4dan@×××××.com> +openbabel-perl-2.3.1.ebuild,
38 - +files/openbabel-perl-2.3.1-makefile.patch, +metadata.xml:
39 - Version bump to 2.3.1
40 -
41
42 diff --git a/sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.1-makefile.patch b/sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.1-makefile.patch
43 deleted file mode 100644
44 index 88248b4..0000000
45 --- a/sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.1-makefile.patch
46 +++ /dev/null
47 @@ -1,9 +0,0 @@
48 ---- scripts/perl/Makefile.PL
49 -+++ scripts/perl/Makefile.PL
50 -@@ -37,5 +37,6 @@ 'LDFROM' => $ldfrom,
51 - 'CC' => $CC,
52 - 'LD' => '$(CC)',
53 - 'INC' => '-I../../include -I'.$cmakesrcdir.'/include',
54 -+ 'DESTDIR' => @ENV{"D"},
55 - 'OBJECT' => 'openbabel-perl.o'
56 - );
57
58 diff --git a/sci-chemistry/openbabel-perl/metadata.xml b/sci-chemistry/openbabel-perl/metadata.xml
59 deleted file mode 100644
60 index 433cfe8..0000000
61 --- a/sci-chemistry/openbabel-perl/metadata.xml
62 +++ /dev/null
63 @@ -1,12 +0,0 @@
64 -<?xml version="1.0" encoding="UTF-8"?>
65 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
66 -<pkgmetadata>
67 - <herd>sci-chemistry</herd>
68 - <longdescription>
69 - OpenBabel is a chemical toolbox designed to speak the many languages of
70 - chemical data. It's an open, collaborative project allowing anyone to
71 - search, convert, analyze, or store data from molecular modeling, chemistry,
72 - solid-state materials, biochemistry, or related areas. This package enables
73 - to access OpenBabel library from Python programs.
74 - </longdescription>
75 -</pkgmetadata>
76
77 diff --git a/sci-chemistry/openbabel-perl/openbabel-perl-2.3.1.ebuild b/sci-chemistry/openbabel-perl/openbabel-perl-2.3.1.ebuild
78 deleted file mode 100644
79 index 96f267f..0000000
80 --- a/sci-chemistry/openbabel-perl/openbabel-perl-2.3.1.ebuild
81 +++ /dev/null
82 @@ -1,69 +0,0 @@
83 -# Copyright 1999-2011 Gentoo Foundation
84 -# Distributed under the terms of the GNU General Public License v2
85 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-perl/openbabel-perl-2.3.0.ebuild,v 1.3 2011/03/29 06:00:42 jlec Exp $
86 -
87 -EAPI="3"
88 -
89 -inherit cmake-utils eutils perl-module
90 -
91 -DESCRIPTION="Perl bindings for OpenBabel"
92 -HOMEPAGE="http://openbabel.sourceforge.net/"
93 -SRC_URI="mirror://sourceforge/openbabel/openbabel-${PV}.tar.gz"
94 -
95 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
96 -SLOT="0"
97 -LICENSE="GPL-2"
98 -IUSE=""
99 -
100 -RDEPEND="
101 - dev-lang/perl
102 - ~sci-chemistry/openbabel-${PV}"
103 -DEPEND="${RDEPEND}
104 - >=dev-lang/swig-2
105 - dev-util/cmake"
106 -
107 -S="${WORKDIR}/openbabel-${PV}"
108 -
109 -src_prepare() {
110 - epatch \
111 - "${FILESDIR}/${P}-makefile.patch"
112 -}
113 -
114 -src_configure() {
115 - local mycmakeargs="-DPERL_BINDINGS=ON"
116 - mycmakeargs="${mycmakeargs}
117 - -DRUN_SWIG=ON"
118 - cmake-utils_src_configure
119 -}
120 -
121 -src_compile() {
122 - cd "${WORKDIR}/${P}_build/scripts"
123 - perl-module_src_prep
124 - perl-module_src_compile
125 -}
126 -
127 -src_test() {
128 - cd "${WORKDIR}/${P}_build/scripts"
129 - emake test || die "make test failed"
130 -}
131 -
132 -src_install() {
133 - cd "${WORKDIR}/${P}_build/scripts/perl"
134 - perl-module_src_install
135 -}
136 -
137 -pkg_preinst() {
138 - perl-module_pkg_preinst
139 -}
140 -
141 -pkg_postinst() {
142 - perl-module_pkg_postinst
143 -}
144 -
145 -pkg_prerm() {
146 - perl-module_pkg_prerm
147 -}
148 -
149 -pkg_postrm() {
150 - perl-module_pkg_postrm
151 -}
152
153 diff --git a/sci-chemistry/openbabel-python/ChangeLog b/sci-chemistry/openbabel-python/ChangeLog
154 deleted file mode 100644
155 index 0378f55..0000000
156 --- a/sci-chemistry/openbabel-python/ChangeLog
157 +++ /dev/null
158 @@ -1,10 +0,0 @@
159 -# ChangeLog for sci-chemistry/openbabel-python
160 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
161 -# $Header: $
162 -
163 -*openbabel-python-2.3.1 (10 Nov 2011)
164 -
165 - 10 Nov 2011; Reinis Danne <rei4dan@×××××.com> +openbabel-python-2.3.1.ebuild,
166 - +files/openbabel-python-2.3.1-system_openbabel.patch, +metadata.xml:
167 - Version bump to 2.3.1
168 -
169
170 diff --git a/sci-chemistry/openbabel-python/files/openbabel-python-2.3.1-system_openbabel.patch b/sci-chemistry/openbabel-python/files/openbabel-python-2.3.1-system_openbabel.patch
171 deleted file mode 100644
172 index 6420bba..0000000
173 --- a/sci-chemistry/openbabel-python/files/openbabel-python-2.3.1-system_openbabel.patch
174 +++ /dev/null
175 @@ -1,15 +0,0 @@
176 ---- scripts/python/setup.py
177 -+++ scripts/python/setup.py
178 -@@ -15,11 +15,7 @@
179 -
180 - obExtension = Extension('_openbabel',
181 - [os.path.join(srcdir, "openbabel-python.cpp")],
182 -- include_dirs=[os.path.join(srcdir, "..", "..", "include"),
183 -- os.path.join("..", "include")],
184 -- library_dirs=[os.path.join(srcdir, "..", "..", "lib"),
185 -- os.path.join(srcdir, "..", "..", "lib64"),
186 -- os.path.join("..", "lib")],
187 -+ include_dirs=[os.path.join("/usr", "include", "openbabel-2.0")],
188 - libraries=['openbabel']
189 - )
190 -
191
192 diff --git a/sci-chemistry/openbabel-python/metadata.xml b/sci-chemistry/openbabel-python/metadata.xml
193 deleted file mode 100644
194 index 433cfe8..0000000
195 --- a/sci-chemistry/openbabel-python/metadata.xml
196 +++ /dev/null
197 @@ -1,12 +0,0 @@
198 -<?xml version="1.0" encoding="UTF-8"?>
199 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
200 -<pkgmetadata>
201 - <herd>sci-chemistry</herd>
202 - <longdescription>
203 - OpenBabel is a chemical toolbox designed to speak the many languages of
204 - chemical data. It's an open, collaborative project allowing anyone to
205 - search, convert, analyze, or store data from molecular modeling, chemistry,
206 - solid-state materials, biochemistry, or related areas. This package enables
207 - to access OpenBabel library from Python programs.
208 - </longdescription>
209 -</pkgmetadata>
210
211 diff --git a/sci-chemistry/openbabel-python/openbabel-python-2.3.1.ebuild b/sci-chemistry/openbabel-python/openbabel-python-2.3.1.ebuild
212 deleted file mode 100644
213 index 0da030f..0000000
214 --- a/sci-chemistry/openbabel-python/openbabel-python-2.3.1.ebuild
215 +++ /dev/null
216 @@ -1,53 +0,0 @@
217 -# Copyright 1999-2011 Gentoo Foundation
218 -# Distributed under the terms of the GNU General Public License v2
219 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild,v 1.7 2011/09/14 05:06:41 jlec Exp $
220 -
221 -EAPI="3"
222 -
223 -PYTHON_DEPEND="2"
224 -SUPPORT_PYTHON_ABIS="1"
225 -RESTRICT_PYTHON_ABIS="*-jython"
226 -PYTHON_MODNAME="openbabel.py pybel.py"
227 -
228 -inherit distutils eutils flag-o-matic
229 -
230 -DESCRIPTION="Python bindings for OpenBabel (including Pybel)"
231 -HOMEPAGE="http://openbabel.sourceforge.net/"
232 -SRC_URI="mirror://sourceforge/openbabel/openbabel-${PV}.tar.gz"
233 -
234 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
235 -SLOT="0"
236 -LICENSE="GPL-2"
237 -IUSE=""
238 -
239 -RDEPEND="
240 - dev-cpp/eigen:2
241 - dev-libs/libxml2:2
242 - !sci-chemistry/babel
243 - ~sci-chemistry/openbabel-${PV}
244 - sys-libs/zlib"
245 -DEPEND="${RDEPEND}
246 - >=dev-lang/swig-2"
247 -
248 -S="${WORKDIR}"/openbabel-${PV}
249 -
250 -DISTUTILS_SETUP_FILES=("scripts|python/setup.py")
251 -
252 -src_prepare() {
253 - epatch \
254 - "${FILESDIR}"/${P}-system_openbabel.patch
255 -
256 - sed \
257 - -e "s:/usr:${EPREFIX}/usr:g" \
258 - -i ./scripts/python/setup.py || die
259 -
260 - swig -python -c++ -small -O -templatereduce -naturalvar \
261 - -I"${EPREFIX}/usr/include/openbabel-2.0" \
262 - -o scripts/python/openbabel-python.cpp \
263 - -DHAVE_EIGEN2 \
264 - -outdir scripts/python \
265 - scripts/openbabel-python.i \
266 - || die "Regeneration of openbabel-python.cpp failed"
267 -
268 - append-cxxflags "$(pkg-config --cflags-only-I eigen2)"
269 -}
270
271 diff --git a/sci-chemistry/openbabel/ChangeLog b/sci-chemistry/openbabel/ChangeLog
272 deleted file mode 100644
273 index d05cfda..0000000
274 --- a/sci-chemistry/openbabel/ChangeLog
275 +++ /dev/null
276 @@ -1,11 +0,0 @@
277 -# ChangeLog for sci-chemistry/openbabel
278 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
279 -# $Header: $
280 -
281 -*openbabel-2.3.1 (10 Nov 2011)
282 -
283 - 10 Nov 2011; Reinis Danne <rei4dan@×××××.com>
284 - +files/openbabel-2.3.0-test_lib_path.patch, +openbabel-2.3.1.ebuild,
285 - +metadata.xml:
286 - Version bump to 2.3.1
287 -
288
289 diff --git a/sci-chemistry/openbabel/files/openbabel-2.3.0-test_lib_path.patch b/sci-chemistry/openbabel/files/openbabel-2.3.0-test_lib_path.patch
290 deleted file mode 100644
291 index 014da6b..0000000
292 --- a/sci-chemistry/openbabel/files/openbabel-2.3.0-test_lib_path.patch
293 +++ /dev/null
294 @@ -1,12 +0,0 @@
295 -diff -ru old/openbabel-2.3.0/test/CMakeLists.txt new/openbabel-2.3.0/test/CMakeLists.txt
296 ---- old/openbabel-2.3.0/test/CMakeLists.txt 2010-10-26 17:39:01.000000000 +0300
297 -+++ new/openbabel-2.3.0/test/CMakeLists.txt 2010-11-14 18:13:32.000000000 +0200
298 -@@ -2,7 +2,7 @@
299 - add_definitions(-DTESTDATADIR="\\"${CMAKE_SOURCE_DIR}/test/files/\\"")
300 -
301 - # define FORMATDIR for location of format plugin binaries
302 --add_definitions(-DFORMATDIR="\\"${openbabel_BINARY_DIR}/lib/\\"")
303 -+add_definitions(-DFORMATDIR="\\"${openbabel_BINARY_DIR}/lib${LIB_SUFFIX}/\\"")
304 -
305 - ###########################################################
306 - # new tests using obtest.h
307
308 diff --git a/sci-chemistry/openbabel/metadata.xml b/sci-chemistry/openbabel/metadata.xml
309 deleted file mode 100644
310 index 7c0c529..0000000
311 --- a/sci-chemistry/openbabel/metadata.xml
312 +++ /dev/null
313 @@ -1,14 +0,0 @@
314 -<?xml version="1.0" encoding="UTF-8"?>
315 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
316 -<pkgmetadata>
317 - <herd>sci-chemistry</herd>
318 - <longdescription>
319 - Open Babel is a chemical toolbox designed to speak the many languages of
320 - chemical data. It's an open, collaborative project allowing anyone to
321 - search, convert, analyze, or store data from molecular modeling, chemistry,
322 - solid-state materials, biochemistry, or related areas.
323 - </longdescription>
324 - <use>
325 - <flag name="wxwidgets">Build GUI.</flag>
326 - </use>
327 -</pkgmetadata>
328
329 diff --git a/sci-chemistry/openbabel/openbabel-2.3.1.ebuild b/sci-chemistry/openbabel/openbabel-2.3.1.ebuild
330 deleted file mode 100644
331 index 89b1836..0000000
332 --- a/sci-chemistry/openbabel/openbabel-2.3.1.ebuild
333 +++ /dev/null
334 @@ -1,69 +0,0 @@
335 -# Copyright 1999-2011 Gentoo Foundation
336 -# Distributed under the terms of the GNU General Public License v2
337 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel/openbabel-2.3.0.ebuild,v 1.5 2011/05/07 09:18:00 jlec Exp $
338 -
339 -EAPI="3"
340 -
341 -WX_GTK_VER="2.8"
342 -
343 -inherit cmake-utils eutils wxwidgets
344 -
345 -DESCRIPTION="Interconverts file formats used in molecular modeling"
346 -HOMEPAGE="http://openbabel.sourceforge.net/"
347 -SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz"
348 -
349 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
350 -SLOT="0"
351 -LICENSE="GPL-2"
352 -IUSE="doc perl python wxwidgets"
353 -
354 -RDEPEND="
355 - dev-cpp/eigen:2
356 - dev-libs/libxml2:2
357 - !sci-chemistry/babel
358 - sci-libs/inchi
359 - sys-libs/zlib
360 - wxwidgets? ( x11-libs/wxGTK:2.8[X] )"
361 -DEPEND="${RDEPEND}
362 - >=dev-util/cmake-2.4.8"
363 -PDEPEND="
364 - perl? ( sci-chemistry/openbabel-perl )
365 - python? ( sci-chemistry/openbabel-python )"
366 -
367 -DOCS="AUTHORS ChangeLog NEWS README THANKS doc/*.inc doc/README* doc/*.mol2"
368 -
369 -src_prepare() {
370 - epatch \
371 - "${FILESDIR}"/${PN}-2.3.0-test_lib_path.patch
372 -}
373 -
374 -src_configure() {
375 - local mycmakeargs=""
376 - mycmakeargs="${mycmakeargs}
377 - -DOPENBABEL_USE_SYSTEM_INCHI=ON
378 - $(cmake-utils_use wxwidgets BUILD_GUI)"
379 -
380 - cmake-utils_src_configure
381 -}
382 -
383 -src_install() {
384 - dohtml doc/{*.html,*.png} || die
385 - if use doc ; then
386 - insinto /usr/share/doc/${PF}/API/html
387 - doins doc/API/html/* || die
388 - fi
389 - cmake-utils_src_install
390 -}
391 -
392 -src_test() {
393 - local mycmakeargs=""
394 - mycmakeargs="${mycmakeargs}
395 - -DOPENBABEL_USE_SYSTEM_INCHI=ON
396 - -DPYTHON_EXECUTABLE=false
397 - $(cmake-utils_use wxwidgets BUILD_GUI)
398 - $(cmake-utils_use_enable test TESTS)"
399 -
400 - cmake-utils_src_configure
401 - cmake-utils_src_compile
402 - cmake-utils_src_test
403 -}