1 |
commit: fddaa01871af3e465b9bc4833a0ad68a2b91ffbb |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 4 19:24:01 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 4 19:28:09 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fddaa018 |
7 |
|
8 |
sci-chemistry/openbabel: Drop old |
9 |
|
10 |
obsoletes |
11 |
|
12 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=449852 |
13 |
|
14 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=553104 |
15 |
|
16 |
Package-Manager: portage-2.2.23 |
17 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
18 |
|
19 |
sci-chemistry/openbabel/openbabel-2.3.2.ebuild | 81 -------------------------- |
20 |
1 file changed, 81 deletions(-) |
21 |
|
22 |
diff --git a/sci-chemistry/openbabel/openbabel-2.3.2.ebuild b/sci-chemistry/openbabel/openbabel-2.3.2.ebuild |
23 |
deleted file mode 100644 |
24 |
index b353748..0000000 |
25 |
--- a/sci-chemistry/openbabel/openbabel-2.3.2.ebuild |
26 |
+++ /dev/null |
27 |
@@ -1,81 +0,0 @@ |
28 |
-# Copyright 1999-2015 Gentoo Foundation |
29 |
-# Distributed under the terms of the GNU General Public License v2 |
30 |
-# $Id$ |
31 |
- |
32 |
-EAPI=5 |
33 |
- |
34 |
-WX_GTK_VER="2.8" |
35 |
- |
36 |
-inherit cmake-utils eutils wxwidgets |
37 |
- |
38 |
-DESCRIPTION="Interconverts file formats used in molecular modeling" |
39 |
-HOMEPAGE="http://openbabel.sourceforge.net/" |
40 |
-SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz" |
41 |
- |
42 |
-SLOT="0" |
43 |
-LICENSE="GPL-2" |
44 |
-KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
45 |
-IUSE="doc openmp test wxwidgets" |
46 |
- |
47 |
-RDEPEND=" |
48 |
- dev-cpp/eigen:3 |
49 |
- dev-libs/libxml2:2 |
50 |
- sci-libs/inchi |
51 |
- sys-libs/zlib |
52 |
- wxwidgets? ( x11-libs/wxGTK:2.8[X] )" |
53 |
-DEPEND="${RDEPEND} |
54 |
- >=dev-util/cmake-2.4.8 |
55 |
- doc? ( app-doc/doxygen )" |
56 |
- |
57 |
-DOCS="AUTHORS ChangeLog NEWS README THANKS doc/*.inc doc/README* doc/*.mol2" |
58 |
- |
59 |
-PATCHES=( "${FILESDIR}"/${P}-test_lib_path.patch ) |
60 |
- |
61 |
-pkg_setup() { |
62 |
- if use openmp; then |
63 |
- if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then |
64 |
- ewarn "OpenMP is not available in your current selected gcc" |
65 |
- die "need openmp capable gcc" |
66 |
- fi |
67 |
- FORTRAN_NEED_OPENMP=1 |
68 |
- fi |
69 |
-} |
70 |
- |
71 |
-src_configure() { |
72 |
- local mycmakeargs="" |
73 |
- mycmakeargs="${mycmakeargs} |
74 |
- -DOPENBABEL_USE_SYSTEM_INCHI=ON |
75 |
- $(cmake-utils_use_enable openmp OPENMP) |
76 |
- $(cmake-utils_use wxwidgets BUILD_GUI)" |
77 |
- |
78 |
- cmake-utils_src_configure |
79 |
-} |
80 |
- |
81 |
-src_install() { |
82 |
- dohtml doc/{*.html,*.png} |
83 |
- if use doc ; then |
84 |
- insinto /usr/share/doc/${PF}/API/html |
85 |
- doins doc/API/html/* |
86 |
- fi |
87 |
- |
88 |
- cmake-utils_src_install |
89 |
-} |
90 |
- |
91 |
-src_test() { |
92 |
- local mycmakeargs="" |
93 |
- mycmakeargs="${mycmakeargs} |
94 |
- -DOPENBABEL_USE_SYSTEM_INCHI=ON |
95 |
- -DPYTHON_EXECUTABLE=false |
96 |
- $(cmake-utils_use_enable openmp OPENMP) |
97 |
- $(cmake-utils_use wxwidgets BUILD_GUI) |
98 |
- $(cmake-utils_use_enable test TESTS)" |
99 |
- |
100 |
- cmake-utils_src_configure |
101 |
- cmake-utils_src_compile |
102 |
- cmake-utils_src_test -E py |
103 |
-} |
104 |
- |
105 |
-pkg_postinst() { |
106 |
- optfeature "perl support" sci-chemistry/openbabel-perl |
107 |
- optfeature "python support" sci-chemistry/openbabel-python |
108 |
-} |