From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
Date: Sun, 25 Oct 2015 10:31:47 +0000 (UTC) [thread overview]
Message-ID: <1445769093.036d3d0888dd26fd1e1be3bf21ef96a934374390.pacho@gentoo> (raw)
commit: 036d3d0888dd26fd1e1be3bf21ef96a934374390
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 25 10:31:33 2015 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct 25 10:31:33 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=036d3d08
sci-chemistry/openbabel: Support wxGTK:3.0
Package-Manager: portage-2.2.23
sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild | 82 +++++++++++++++++++++++
1 file changed, 82 insertions(+)
diff --git a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
new file mode 100644
index 0000000..c123bb0
--- /dev/null
+++ b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="3.0"
+
+inherit cmake-utils eutils wxwidgets
+
+DESCRIPTION="Interconverts file formats used in molecular modeling"
+HOMEPAGE="http://openbabel.sourceforge.net/"
+SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc openmp test wxwidgets"
+
+RDEPEND="
+ dev-cpp/eigen:3
+ dev-libs/libxml2:2
+ sci-libs/inchi
+ sys-libs/zlib
+ wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.4.8
+ doc? ( app-doc/doxygen )"
+
+DOCS="AUTHORS ChangeLog NEWS README THANKS doc/*.inc doc/README* doc/*.mol2"
+
+PATCHES=( "${FILESDIR}"/${P}-test_lib_path.patch )
+
+pkg_setup() {
+ if use openmp; then
+ if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
+ ewarn "OpenMP is not available in your current selected gcc"
+ die "need openmp capable gcc"
+ fi
+ FORTRAN_NEED_OPENMP=1
+ fi
+}
+
+src_configure() {
+ need-wxwidgets unicode
+ local mycmakeargs=""
+ mycmakeargs="${mycmakeargs}
+ -DOPENBABEL_USE_SYSTEM_INCHI=ON
+ $(cmake-utils_use_enable openmp OPENMP)
+ $(cmake-utils_use wxwidgets BUILD_GUI)"
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ dohtml doc/{*.html,*.png}
+ if use doc ; then
+ insinto /usr/share/doc/${PF}/API/html
+ doins doc/API/html/*
+ fi
+
+ cmake-utils_src_install
+}
+
+src_test() {
+ local mycmakeargs=""
+ mycmakeargs="${mycmakeargs}
+ -DOPENBABEL_USE_SYSTEM_INCHI=ON
+ -DPYTHON_EXECUTABLE=false
+ $(cmake-utils_use_enable openmp OPENMP)
+ $(cmake-utils_use wxwidgets BUILD_GUI)
+ $(cmake-utils_use_enable test TESTS)"
+
+ cmake-utils_src_configure
+ cmake-utils_src_compile
+ cmake-utils_src_test -E py
+}
+
+pkg_postinst() {
+ optfeature "perl support" sci-chemistry/openbabel-perl
+ optfeature "python support" sci-chemistry/openbabel-python
+}
next reply other threads:[~2015-10-25 10:31 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-25 10:31 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-10-27 18:04 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/ Justin Lecher
2015-10-30 9:18 Agostino Sarubbo
2015-11-01 13:49 Mikle Kolyada
2015-11-04 15:17 Agostino Sarubbo
2015-11-04 19:28 Justin Lecher
2015-11-07 9:09 Justin Lecher
2017-06-03 8:39 Justin Lecher
2017-07-31 11:36 Tobias Klausmann
2017-09-12 22:58 Matt Turner
2017-10-05 12:05 Michael Palimaka
2019-09-29 11:26 Pacho Ramos
2020-09-07 8:55 David Seifert
2020-12-02 3:06 Thomas Deutschmann
2020-12-18 10:48 Agostino Sarubbo
2021-01-18 10:14 David Seifert
2021-03-28 10:00 Agostino Sarubbo
2021-03-28 11:00 Sam James
2021-12-15 10:09 Andrew Ammerlaan
2021-12-15 10:09 Andrew Ammerlaan
2022-03-07 14:33 Jakov Smolić
2022-03-07 14:33 Jakov Smolić
2022-03-10 21:12 Sam James
2022-05-16 8:12 David Seifert
2023-02-23 13:20 Andrew Ammerlaan
2023-11-24 14:31 Pacho Ramos
2024-04-11 17:52 Arthur Zamarin
2024-06-29 18:08 Andreas Sturmlechner
2024-07-30 21:13 Pacho Ramos
2024-07-30 21:13 Pacho Ramos
2025-03-24 9:16 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1445769093.036d3d0888dd26fd1e1be3bf21ef96a934374390.pacho@gentoo \
--to=pacho@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox