* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2021-01-18 10:14 David Seifert
0 siblings, 0 replies; 30+ messages in thread
From: David Seifert @ 2021-01-18 10:14 UTC (permalink / raw
To: gentoo-commits
commit: d4e3550d0dca9459d72d6b96c7246447227fa8cd
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Mon Jan 18 10:14:13 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Jan 18 10:14:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4e3550d
sci-chemistry/openbabel: Remove old
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-2.4.1.ebuild | 94 --------------------------
1 file changed, 94 deletions(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild b/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
deleted file mode 100644
index 6f60a5ab135..00000000000
--- a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-WX_GTK_VER="3.0"
-
-inherit cmake-utils optfeature toolchain-funcs wxwidgets
-
-DESCRIPTION="Interconverts file formats used in molecular modeling"
-HOMEPAGE="http://openbabel.sourceforge.net/"
-SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz"
-
-# See src/CMakeLists.txt for LIBRARY_VERSION
-SLOT="0/5.0.0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc openmp test wxwidgets"
-RESTRICT="!test? ( test )"
-
-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 NEWS.md README.md THANKS doc/dioxin.{inc,mol2} doc/README.{dioxin.pov,povray} )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.3.2-gcc-6_and_7-backport.patch
- "${FILESDIR}"/${P}-gcc-8.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_prepare() {
- sed \
- -e '/__GNUC__/s:== 4:>= 4:g' \
- -i include/openbabel/shared_ptr.h || die
- cmake-utils_src_prepare
-}
-
-src_configure() {
- use wxwidgets && need-wxwidgets unicode
- local mycmakeargs=(
- -DOPENBABEL_USE_SYSTEM_INCHI=ON
- -DOPENMP=$(usex openmp)
- -DBUILD_GUI=$(usex wxwidgets)
- )
-
- cmake-utils_src_configure
-}
-
-src_install() {
- docinto html
- dodoc doc/{*.html,*.png}
- if use doc ; then
- docinto html/API
- dodoc -r doc/API/html/*
- fi
-
- cmake-utils_src_install
-}
-
-src_test() {
- local mycmakeargs=(
- -DOPENBABEL_USE_SYSTEM_INCHI=ON
- -DPYTHON_EXECUTABLE=false
- -DOPENMP=$(usex openmp)
- -DBUILD_GUI=$(usex wxwidgets)
- -DTESTS=$(usex test)
- )
-
- 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
-}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2024-07-30 21:13 Pacho Ramos
0 siblings, 0 replies; 30+ messages in thread
From: Pacho Ramos @ 2024-07-30 21:13 UTC (permalink / raw
To: gentoo-commits
commit: 5d3e567b539bca53f8b2b3862a75320257a043cc
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 19:50:38 2024 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 21:11:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d3e567b
sci-chemistry/openbabel: enable py3.12
Closes: https://bugs.gentoo.org/929759
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-3.1.1_p20210225-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225-r1.ebuild b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225-r1.ebuild
index bdfef2a675e8..fc4d6cab575e 100644
--- a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225-r1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
WX_GTK_VER=3.2-gtk3
inherit cmake desktop flag-o-matic perl-functions python-r1 toolchain-funcs wxwidgets xdg-utils
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2024-07-30 21:13 Pacho Ramos
0 siblings, 0 replies; 30+ messages in thread
From: Pacho Ramos @ 2024-07-30 21:13 UTC (permalink / raw
To: gentoo-commits
commit: f4e00d7c36ad6412719aac744ac959977e38c9d9
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 19:50:46 2024 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 21:11:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e00d7c
sci-chemistry/openbabel: sync live ebuild
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-9999.ebuild | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/sci-chemistry/openbabel/openbabel-9999.ebuild b/sci-chemistry/openbabel/openbabel-9999.ebuild
index d533ec698acf..fc4d6cab575e 100644
--- a/sci-chemistry/openbabel/openbabel-9999.ebuild
+++ b/sci-chemistry/openbabel/openbabel-9999.ebuild
@@ -3,13 +3,13 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
WX_GTK_VER=3.2-gtk3
inherit cmake desktop flag-o-matic perl-functions python-r1 toolchain-funcs wxwidgets xdg-utils
DESCRIPTION="Interconverts file formats used in molecular modeling"
-HOMEPAGE="https://openbabel.org/"
+HOMEPAGE="https://openbabel.org/ https://github.com/openbabel/openbabel/"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
@@ -17,7 +17,7 @@ if [[ "${PV}" == *9999* ]]; then
else
if [[ "${PV}" == *_p* ]]; then # eg., openbabel-3.1.1_p20210325
# Set to commit hash
- OPENBABEL_COMMIT=
+ OPENBABEL_COMMIT=08e23f39b0cc39b4eebd937a5a2ffc1a7bac3e1b
SRC_URI="https://github.com/${PN}/${PN}/archive/${OPENBABEL_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${OPENBABEL_COMMIT}"
else
@@ -25,7 +25,7 @@ else
SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_P}"
fi
- KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+ KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
fi
SRC_URI="${SRC_URI}
@@ -80,6 +80,10 @@ RDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/openbabel-3.1.1-fix-time-check-cmake.patch
+)
+
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2024-06-29 18:08 Andreas Sturmlechner
0 siblings, 0 replies; 30+ messages in thread
From: Andreas Sturmlechner @ 2024-06-29 18:08 UTC (permalink / raw
To: gentoo-commits
commit: c56fcfa02e53ee7d19cd16f683746ca60f9eb81d
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 29 17:37:55 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 29 17:37:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c56fcfa0
sci-chemistry/openbabel: drop 3.1.1_p20210225
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../openbabel/openbabel-3.1.1_p20210225.ebuild | 280 ---------------------
1 file changed, 280 deletions(-)
diff --git a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
deleted file mode 100644
index d6a0165b20c5..000000000000
--- a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
+++ /dev/null
@@ -1,280 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-WX_GTK_VER=3.0-gtk3
-
-inherit cmake desktop flag-o-matic perl-functions python-r1 toolchain-funcs wxwidgets xdg-utils
-
-DESCRIPTION="Interconverts file formats used in molecular modeling"
-HOMEPAGE="https://openbabel.org/"
-
-if [[ "${PV}" == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/openbabel/${PN}.git"
-else
- if [[ "${PV}" == *_p* ]]; then # eg., openbabel-3.1.1_p20210325
- # Set to commit hash
- OPENBABEL_COMMIT=08e23f39b0cc39b4eebd937a5a2ffc1a7bac3e1b
- SRC_URI="https://github.com/${PN}/${PN}/archive/${OPENBABEL_COMMIT}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/${PN}-${OPENBABEL_COMMIT}"
- else
- MY_P="${PN}-$(ver_rs 1- -)"
- SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/${PN}-${MY_P}"
- fi
- KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-fi
-
-SRC_URI="${SRC_URI}
- https://openbabel.org/docs/dev/_static/babel130.png -> ${PN}.png
- https://openbabel.org/OBTitle.jpg -> ${PN}.jpg"
-
-# See src/CMakeLists.txt for LIBRARY_VERSION
-SLOT="0/7.0.0"
-LICENSE="GPL-2"
-IUSE="cpu_flags_arm_neon cpu_flags_x86_sse2 cpu_flags_x86_sse4_2 doc examples +inchi json minimal openmp perl png python test wxwidgets"
-
-RESTRICT="!test? ( test )"
-
-# Inaccurate dependency logic upstream
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- test? ( inchi json !minimal wxwidgets )
-"
-
-BDEPEND="
- dev-lang/perl
- doc? (
- app-text/doxygen
- dev-texlive/texlive-latex
- )
- perl? ( >=dev-lang/swig-2 )
- python? ( >=dev-lang/swig-2 )
- test? ( dev-lang/python )
-"
-
-COMMON_DEPEND="
- dev-cpp/eigen:3
- dev-libs/libxml2:2
- sys-libs/zlib:=
- inchi? ( sci-libs/inchi )
- json? ( >=dev-libs/rapidjson-1.1.0 )
- png? ( x11-libs/cairo )
- python? ( ${PYTHON_DEPS} )
- wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )
-"
-
-DEPEND="
- ${COMMON_DEPEND}
- perl? ( dev-lang/perl )
-"
-
-RDEPEND="
- ${COMMON_DEPEND}
- perl? (
- dev-lang/perl:=
- !sci-chemistry/openbabel-perl
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/openbabel-3.1.1-fix-time-check-cmake.patch
-)
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-prepare_python_bindings() {
- mkdir -p scripts/${EPYTHON} || die
- # Appends to scripts/CMakeLists.txt, substituting the correct tags, for
- # each valid python implementation,
- cat "${FILESDIR}"/${PN}-python.cmake | \
- sed -e "s|@@EPYTHON@@|${EPYTHON}|" \
- -e "s|@@PYTHON_INCUDE_DIR@@|$(python_get_includedir)|" \
- -e "s|@@PYTHON_LIBS@@|$(python_get_LIBS)|" \
- -e "s|@@PYTHON_SITEDIR@@|$(python_get_sitedir)|" >> \
- scripts/CMakeLists.txt || die
-}
-
-src_prepare() {
- cmake_src_prepare
-
- if use perl; then
- perl_set_version
-
- sed -e "/\${LIB_INSTALL_DIR}\/auto/s|\${LIB_INSTALL_DIR}|${VENDOR_ARCH}|" \
- -e "/\${LIB_INSTALL_DIR}\/Chemistry/s|\${LIB_INSTALL_DIR}|${VENDOR_ARCH}|" \
- -i scripts/CMakeLists.txt || die
- fi
-
- if use python; then
- # Skip the python bindings sections as we'll append our own
- sed -e '/^if (PYTHON_BINDINGS)$/s|PYTHON_BINDINGS|false|' \
- -i {scripts,test}/CMakeLists.txt || die
- if use test; then
- # Problems with testbindings built with -O2
- local test_skip="@unittest.skip('Similar to Issue #2138')"
- sed -e "/def testTemplates/s|^| ${test_skip}\\n|" \
- -i test/testbindings.py || die
- test_skip="@unittest.skip('Similar to Issue #2246')"
- sed -e "/^def test_write_string/s|^|${test_skip}\\n|" \
- -i test/testobconv_writers.py || die
- fi
- python_foreach_impl prepare_python_bindings
- fi
-
- # Remove dependency automagic
- if ! use png; then
- sed -e '/^find_package(Cairo/d' -i CMakeLists.txt || die
- fi
- if ! use wxwidgets; then
- sed -e '/^find_package(wxWidgets/d' -i CMakeLists.txt || die
- fi
- if ! use inchi; then
- sed -e '/^else()$/s|else\(\)|elseif\(false\)|' \
- -i cmake/modules/FindInchi.cmake || die
- fi
-
- # Don't install example bins to /usr/bin
- if use examples; then
- sed -e "/RUNTIME DESTINATION/s|bin|share/doc/${PF}/examples|" \
- -i doc/examples/CMakeLists.txt || die
- fi
-
- # boost is only used if building with gcc-3.x, which isn't supported in
- # Gentoo. Still, it shouldn't look for, and include, its headers
- sed -e '/find_package(Boost/d' -i {{tools,src}/,}CMakeLists.txt || die
-}
-
-src_configure() {
- if use json; then
- # -DOPTIMIZE_NATIVE=ON also forces -march=native so use
- # cpu_flags to set defines instead
- use cpu_flags_x86_sse2 && append-cppflags -DRAPIDJSON_SSE2
- use cpu_flags_x86_sse4_2 && append-cppflags -DRAPIDJSON_SSE42
- use cpu_flags_arm_neon && append-cppflags -DRAPIDJSON_NEON
- fi
-
- use wxwidgets && setup-wxwidgets
-
- use_bindings() {
- (use perl || use python) && (echo 'yes' || die) || (echo 'no' || die)
- }
-
- local mycmakeargs=(
- -DBUILD_DOCS=$(usex doc)
- -DBUILD_EXAMPLES=$(usex examples)
- -DBUILD_GUI=$(usex wxwidgets)
- -DENABLE_OPENMP=$(usex openmp)
- -DENABLE_TESTS=$(usex test)
- -DMINIMAL_BUILD=$(usex minimal)
- # Set this, otherwise it defaults to true and forces WITH_INCHI=true
- -DOPENBABEL_USE_SYSTEM_INCHI=$(usex inchi)
- -DOPTIMIZE_NATIVE=OFF
- -DPERL_BINDINGS=$(usex perl)
- -DPYTHON_BINDINGS=$(usex python)
- -DRUN_SWIG=$(use_bindings)
- -DWITH_COORDGEN=false
- -DWITH_INCHI=$(usex inchi)
- -DWITH_JSON=$(usex json)
- -DWITH_MAEPARSER=false
- )
-
- if use test; then
- # Help cmake find the python interpreter when dev-lang/python-exec is built
- # without native-symlinks support.
- python_setup
- mycmakeargs+=( -DPYTHON_EXECUTABLE="${PYTHON}" )
- fi
-
- cmake_src_configure
-}
-
-src_test() {
- # Wierd deadlock causes system_load to keep rising
- cmake_src_test -j1
-}
-
-openbabel-optimize() {
- python_optimize "${D}/$(python_get_sitedir)"/openbabel || die
-}
-
-src_install() {
- cmake_src_install
-
- docinto html
- for x in doc/*.html; do
- [[ ${x} != doc/api*.html ]] && dodoc ${x}
- done
- # Rendered in some html pages
- newdoc "${DISTDIR}"/${PN}.png babel130.png
- newdoc "${DISTDIR}"/${PN}.jpg OBTitle.jpg
-
- if use doc; then
- cmake_src_install docs
- docinto html/API
- dodoc -r doc/API/html/.
- fi
-
- if use examples; then
- # no compression since we want ready-to-run scripts
- docompress -x /usr/share/doc/${PF}/examples
-
- # ${PV} doesn't correspond to the internal BABEL_VERSION for
- # live or patch release builds so we grep it
- local babel_ver=$(
- grep '^#define BABEL_VERSION' < \
- "${BUILD_DIR}"/include/openbabel/babelconfig.h | \
- cut -d \" -f 2 || die
- )
- docinto examples/povray
- dodoc doc/dioxin.* doc/README*.pov*
- # Needed by the povray example
- dosym ../../../../${PN}/${babel_ver}/babel_povray3.inc \
- /usr/share/doc/${PF}/examples/povray/babel31.inc
-
- fi
-
- if use perl; then
- docinto /
- newdoc scripts/perl/Changes Changes.perl
- newdoc scripts/perl/README README.perl
- if use examples; then
- docinto examples/perl
- dodoc -r scripts/perl/examples/.
- fi
- fi
-
- if use python; then
- python_foreach_impl openbabel-optimize
- docinto /
- newdoc scripts/python/README.rst README.python.rst
- docinto html
- dodoc scripts/python/*.html
- if use examples; then
- docinto examples/python
- dodoc -r scripts/python/examples/.
- fi
- fi
-
- if use wxwidgets; then
- make_desktop_entry obgui "Open Babel" ${PN}
- doicon "${DISTDIR}"/${PN}.png
- fi
-}
-
-pkg_postinst() {
- use wxwidgets && xdg_desktop_database_update
-}
-
-pkg_postrm() {
- use wxwidgets && xdg_desktop_database_update
-}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2024-04-11 17:52 Arthur Zamarin
0 siblings, 0 replies; 30+ messages in thread
From: Arthur Zamarin @ 2024-04-11 17:52 UTC (permalink / raw
To: gentoo-commits
commit: 48080dc199d23a123b3d71277fcc9f635dd48e77
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 11 17:52:17 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 17:52:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48080dc1
sci-chemistry/openbabel: Stabilize 3.1.1_p20210225-r1 amd64, #929186
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-3.1.1_p20210225-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225-r1.ebuild b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225-r1.ebuild
index 550c7236286f..bdfef2a675e8 100644
--- a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225-r1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225-r1.ebuild
@@ -25,7 +25,7 @@ else
SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_P}"
fi
- KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+ KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
fi
SRC_URI="${SRC_URI}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2023-11-24 14:31 Pacho Ramos
0 siblings, 0 replies; 30+ messages in thread
From: Pacho Ramos @ 2023-11-24 14:31 UTC (permalink / raw
To: gentoo-commits
commit: 5d51f3a8f9c6c314856c2541c9aa1cb085d4928f
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 24 13:59:09 2023 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Nov 24 14:30:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d51f3a8
sci-chemistry/openbabel: Works with wxGTK 3.2
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
...enbabel-9999.ebuild => openbabel-3.1.1_p20210225-r1.ebuild} | 10 +++++++---
sci-chemistry/openbabel/openbabel-9999.ebuild | 2 +-
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/sci-chemistry/openbabel/openbabel-9999.ebuild b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225-r1.ebuild
similarity index 96%
copy from sci-chemistry/openbabel/openbabel-9999.ebuild
copy to sci-chemistry/openbabel/openbabel-3.1.1_p20210225-r1.ebuild
index 735a5e868ea5..837978dbe580 100644
--- a/sci-chemistry/openbabel/openbabel-9999.ebuild
+++ b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225-r1.ebuild
@@ -4,12 +4,12 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
-WX_GTK_VER=3.0-gtk3
+WX_GTK_VER=3.2-gtk3
inherit cmake desktop flag-o-matic perl-functions python-r1 toolchain-funcs wxwidgets xdg-utils
DESCRIPTION="Interconverts file formats used in molecular modeling"
-HOMEPAGE="https://openbabel.org/"
+HOMEPAGE="https://openbabel.org/ https://github.com/openbabel/openbabel/"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
@@ -17,7 +17,7 @@ if [[ "${PV}" == *9999* ]]; then
else
if [[ "${PV}" == *_p* ]]; then # eg., openbabel-3.1.1_p20210325
# Set to commit hash
- OPENBABEL_COMMIT=
+ OPENBABEL_COMMIT=08e23f39b0cc39b4eebd937a5a2ffc1a7bac3e1b
SRC_URI="https://github.com/${PN}/${PN}/archive/${OPENBABEL_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${OPENBABEL_COMMIT}"
else
@@ -80,6 +80,10 @@ RDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/openbabel-3.1.1-fix-time-check-cmake.patch
+)
+
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
diff --git a/sci-chemistry/openbabel/openbabel-9999.ebuild b/sci-chemistry/openbabel/openbabel-9999.ebuild
index 735a5e868ea5..b4641769ecfa 100644
--- a/sci-chemistry/openbabel/openbabel-9999.ebuild
+++ b/sci-chemistry/openbabel/openbabel-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
-WX_GTK_VER=3.0-gtk3
+WX_GTK_VER=3.2-gtk3
inherit cmake desktop flag-o-matic perl-functions python-r1 toolchain-funcs wxwidgets xdg-utils
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2023-02-23 13:20 Andrew Ammerlaan
0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2023-02-23 13:20 UTC (permalink / raw
To: gentoo-commits
commit: 719bb0a8ab2710c391c3b4b22519f44b575c0a52
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 13:19:53 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 13:20:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=719bb0a8
sci-chemistry/openbabel: enable py3.11
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-chemistry/openbabel/metadata.xml | 1 +
sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild | 4 ++--
sci-chemistry/openbabel/openbabel-9999.ebuild | 4 ++--
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/sci-chemistry/openbabel/metadata.xml b/sci-chemistry/openbabel/metadata.xml
index f31c73d435ac..a81d304be773 100644
--- a/sci-chemistry/openbabel/metadata.xml
+++ b/sci-chemistry/openbabel/metadata.xml
@@ -13,6 +13,7 @@
</longdescription>
<upstream>
<remote-id type="sourceforge">openbabel</remote-id>
+ <remote-id type="github">openbabel/openbabel</remote-id>
</upstream>
<use>
<flag name="inchi">Build support for IUPAC International Chemical Identifier format</flag>
diff --git a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
index 1a1d0819d044..e61c03450c34 100644
--- a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
+++ b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
WX_GTK_VER=3.0-gtk3
inherit cmake desktop flag-o-matic perl-functions python-r1 toolchain-funcs wxwidgets xdg-utils
@@ -30,7 +30,7 @@ fi
SRC_URI="${SRC_URI}
https://openbabel.org/docs/dev/_static/babel130.png -> ${PN}.png
- http://openbabel.org/OBTitle.jpg -> ${PN}.jpg"
+ https://openbabel.org/OBTitle.jpg -> ${PN}.jpg"
# See src/CMakeLists.txt for LIBRARY_VERSION
SLOT="0/7.0.0"
diff --git a/sci-chemistry/openbabel/openbabel-9999.ebuild b/sci-chemistry/openbabel/openbabel-9999.ebuild
index f585e1217c68..735a5e868ea5 100644
--- a/sci-chemistry/openbabel/openbabel-9999.ebuild
+++ b/sci-chemistry/openbabel/openbabel-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
WX_GTK_VER=3.0-gtk3
inherit cmake desktop flag-o-matic perl-functions python-r1 toolchain-funcs wxwidgets xdg-utils
@@ -30,7 +30,7 @@ fi
SRC_URI="${SRC_URI}
https://openbabel.org/docs/dev/_static/babel130.png -> ${PN}.png
- http://openbabel.org/OBTitle.jpg -> ${PN}.jpg"
+ https://openbabel.org/OBTitle.jpg -> ${PN}.jpg"
# See src/CMakeLists.txt for LIBRARY_VERSION
SLOT="0/7.0.0"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2022-05-16 8:12 David Seifert
0 siblings, 0 replies; 30+ messages in thread
From: David Seifert @ 2022-05-16 8:12 UTC (permalink / raw
To: gentoo-commits
commit: 245c3a3bb2b6bcd1e8a047f5a13d0d9fd3c7ce19
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 08:12:14 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon May 16 08:12:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245c3a3b
sci-chemistry/openbabel: [QA] use tc-check-openmp correctly
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild | 6 +++++-
sci-chemistry/openbabel/openbabel-9999.ebuild | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
index 97dfa6e9a236..61a6ad498b66 100644
--- a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
+++ b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
@@ -80,8 +80,12 @@ RDEPEND="
)
"
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
pkg_setup() {
- use openmp && tc-check-openmp
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
prepare_python_bindings() {
diff --git a/sci-chemistry/openbabel/openbabel-9999.ebuild b/sci-chemistry/openbabel/openbabel-9999.ebuild
index 2c73801d2362..956b061aed0f 100644
--- a/sci-chemistry/openbabel/openbabel-9999.ebuild
+++ b/sci-chemistry/openbabel/openbabel-9999.ebuild
@@ -80,8 +80,12 @@ RDEPEND="
)
"
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
pkg_setup() {
- use openmp && tc-check-openmp
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
prepare_python_bindings() {
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2022-03-10 21:12 Sam James
0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2022-03-10 21:12 UTC (permalink / raw
To: gentoo-commits
commit: f456eb2e83ed0559996a6aa0481b37d20ec9ebfb
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 10 05:23:31 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 10 21:10:50 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f456eb2e
sci-chemistry/openbabel: fix WhitespaceFound
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild | 2 +-
sci-chemistry/openbabel/openbabel-9999.ebuild | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
index 99bc728c7908..97dfa6e9a236 100644
--- a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
+++ b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
@@ -181,7 +181,7 @@ src_configure() {
)
if use test; then
- # Help cmake find the python interpreter when dev-lang/python-exec is built
+ # Help cmake find the python interpreter when dev-lang/python-exec is built
# without native-symlinks support.
python_setup
mycmakeargs+=( -DPYTHON_EXECUTABLE="${PYTHON}" )
diff --git a/sci-chemistry/openbabel/openbabel-9999.ebuild b/sci-chemistry/openbabel/openbabel-9999.ebuild
index baf793cb651c..2c73801d2362 100644
--- a/sci-chemistry/openbabel/openbabel-9999.ebuild
+++ b/sci-chemistry/openbabel/openbabel-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -181,7 +181,7 @@ src_configure() {
)
if use test; then
- # Help cmake find the python interpreter when dev-lang/python-exec is built
+ # Help cmake find the python interpreter when dev-lang/python-exec is built
# without native-symlinks support.
python_setup
mycmakeargs+=( -DPYTHON_EXECUTABLE="${PYTHON}" )
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2022-03-07 14:33 Jakov Smolić
0 siblings, 0 replies; 30+ messages in thread
From: Jakov Smolić @ 2022-03-07 14:33 UTC (permalink / raw
To: gentoo-commits
commit: 525e27f497f13601007fc2d2e29e242e8f3eb01d
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 7 14:32:30 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Mar 7 14:32:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525e27f4
sci-chemistry/openbabel: Stabilize 3.1.1_p20210225 x86, #834115
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
index d045618f3544..99bc728c7908 100644
--- a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
+++ b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
@@ -25,7 +25,7 @@ else
SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_P}"
fi
- KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+ KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux ~ppc-macos"
fi
SRC_URI="${SRC_URI}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2022-03-07 14:33 Jakov Smolić
0 siblings, 0 replies; 30+ messages in thread
From: Jakov Smolić @ 2022-03-07 14:33 UTC (permalink / raw
To: gentoo-commits
commit: 1590749e662396890a35ab1155ae03789e7c0620
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 7 14:31:59 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Mar 7 14:31:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1590749e
sci-chemistry/openbabel: Stabilize 3.1.1_p20210225 amd64, #834115
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
index 67ac61c1741b..d045618f3544 100644
--- a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
+++ b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -25,7 +25,7 @@ else
SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_P}"
fi
- KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+ KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
fi
SRC_URI="${SRC_URI}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2021-12-15 10:09 Andrew Ammerlaan
0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2021-12-15 10:09 UTC (permalink / raw
To: gentoo-commits
commit: 1fce6e91e642ac7fe5c3b9f675c54244be423a53
Author: Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Mon Mar 22 05:00:23 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Dec 15 10:09:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fce6e91
sci-chemistry/openbabel: Bump openbabel-3.1.1_p20210225
Closes: https://bugs.gentoo.org/664124
Closes: https://bugs.gentoo.org/716208
Closes: https://bugs.gentoo.org/722860
Closes: https://bugs.gentoo.org/723434
Closes: https://bugs.gentoo.org/766003
Closes: https://bugs.gentoo.org/770493
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Peter Levine <plevine457 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16182
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-chemistry/openbabel/Manifest | 1 +
.../openbabel/openbabel-3.1.1_p20210225.ebuild | 272 +++++++++++++++++++++
2 files changed, 273 insertions(+)
diff --git a/sci-chemistry/openbabel/Manifest b/sci-chemistry/openbabel/Manifest
index ac334bea30ea..11fe53f8f9de 100644
--- a/sci-chemistry/openbabel/Manifest
+++ b/sci-chemistry/openbabel/Manifest
@@ -1,3 +1,4 @@
DIST openbabel-2.4.1.tar.gz 11618304 BLAKE2B 8fc051e83add9be6456e281a109bd6bbec282a64ffc83309819f0decbf167b4914fbb7f1966e95e103f268754045b804317f51c79a952ace707c6af2bd320125 SHA512 427e678f0a911bd27b9a8a05e60b6e09f113be4e5dd180daaf80c28d06368e52b57501261755ab3817a8d31f2754db24471fd0ceee706d029386d6f70800e9c6
+DIST openbabel-3.1.1_p20210225.tar.gz 36674527 BLAKE2B bb82fc96f704249d211bd86c73de0cf4e7cfe5e2ba5c745aa8b4f6f19583837e2181d85101377810095f6b71fc3b91bf2f6f5636726fc8271c6905f1f8c59e7b SHA512 9ff7cb4acbfad7a9c5c8d0dd8930ac0390d0d0f2758d1a6120009071f47ffe718f92ad620d37f26f196babb14649c52b5eb7bb161c342ef36aec655e0a172de4
DIST openbabel.jpg 12159 BLAKE2B b701df2b8c29df607dc2bd3997a282aa9a726d56c789ff2db900d33234dc691f76b6af12a4c9ccda4f09984504b863c40c39e8bf91058939996714ede2dd37c7 SHA512 998ea526c8c92f87dd203527fdd9f4e001357e951409209f41ab68e0b730fe12d97f9079c12ca289be413854ea2abcf8bb691ae5af823a6f29d6a590e1a3e2b0
DIST openbabel.png 29060 BLAKE2B 8d217d92125cc73462437411dd4e0cc05179cb0934f5ed15a307acc6b549b8ebab250a48a05ef7657f48c6df394f37da9b659de61efb1477b79b573a5b393ad3 SHA512 bbcaaa37663b526c9038ccb9edaf05ccc3ad1a861739a737f05f363098d8402a10b36e341fcc0aca636e809c6c32db99bf987b41719a0c756bf5e31444d3eb70
diff --git a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
new file mode 100644
index 000000000000..0ae9671774ae
--- /dev/null
+++ b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
@@ -0,0 +1,272 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+WX_GTK_VER=3.0-gtk3
+
+inherit cmake desktop flag-o-matic perl-functions python-r1 toolchain-funcs wxwidgets xdg-utils
+
+DESCRIPTION="Interconverts file formats used in molecular modeling"
+HOMEPAGE="https://openbabel.org/"
+
+if [[ "${PV}" == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/openbabel/${PN}.git"
+else
+ if [[ "${PV}" == *_p* ]]; then # eg., openbabel-3.1.1_p20210325
+ # Set to commit hash
+ OPENBABEL_COMMIT=08e23f39b0cc39b4eebd937a5a2ffc1a7bac3e1b
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${OPENBABEL_COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${OPENBABEL_COMMIT}"
+ else
+ MY_P="${PN}-$(ver_rs 1- -)"
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${MY_P}"
+ fi
+ KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+fi
+
+SRC_URI="${SRC_URI}
+ https://openbabel.org/docs/dev/_static/babel130.png -> ${PN}.png
+ http://openbabel.org/OBTitle.jpg -> ${PN}.jpg"
+
+# See src/CMakeLists.txt for LIBRARY_VERSION
+SLOT="0/7.0.0"
+LICENSE="GPL-2"
+IUSE="cpu_flags_arm_neon cpu_flags_x86_sse2 cpu_flags_x86_sse4_2 doc examples +inchi json minimal openmp perl png python test wxwidgets"
+
+RESTRICT="!test? ( test )"
+
+# Inaccurate dependency logic upstream
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+ test? ( inchi json !minimal wxwidgets )
+"
+
+BDEPEND="
+ dev-lang/perl
+ doc? (
+ app-doc/doxygen
+ dev-texlive/texlive-latex
+ )
+ perl? ( >=dev-lang/swig-2 )
+ python? ( >=dev-lang/swig-2 )
+ test? ( dev-lang/python )
+"
+
+COMMON_DEPEND="
+ dev-cpp/eigen:3
+ dev-libs/libxml2:2
+ sys-libs/zlib:=
+ inchi? ( sci-libs/inchi )
+ json? ( >=dev-libs/rapidjson-1.1.0 )
+ png? ( x11-libs/cairo )
+ python? ( ${PYTHON_DEPS} )
+ wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )
+"
+
+DEPEND="
+ ${COMMON_DEPEND}
+ perl? ( dev-lang/perl )
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ perl? (
+ dev-lang/perl:=
+ !sci-chemistry/openbabel-perl
+ )
+"
+
+pkg_setup() {
+ use openmp && tc-check-openmp
+}
+
+prepare_python_bindings() {
+ mkdir -p scripts/${EPYTHON} || die
+ # Appends to scripts/CMakeLists.txt, substituting the correct tags, for
+ # each valid python implementation,
+ cat "${FILESDIR}"/${PN}-python.cmake | \
+ sed -e "s|@@EPYTHON@@|${EPYTHON}|" \
+ -e "s|@@PYTHON_INCUDE_DIR@@|$(python_get_includedir)|" \
+ -e "s|@@PYTHON_LIBS@@|$(python_get_LIBS)|" \
+ -e "s|@@PYTHON_SITEDIR@@|$(python_get_sitedir)|" >> \
+ scripts/CMakeLists.txt || die
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ if use perl; then
+ perl_set_version
+
+ sed -e "/\${LIB_INSTALL_DIR}\/auto/s|\${LIB_INSTALL_DIR}|${VENDOR_ARCH}|" \
+ -e "/\${LIB_INSTALL_DIR}\/Chemistry/s|\${LIB_INSTALL_DIR}|${VENDOR_ARCH}|" \
+ -i scripts/CMakeLists.txt || die
+ fi
+
+ if use python; then
+ # Skip the python bindings sections as we'll append our own
+ sed -e '/^if (PYTHON_BINDINGS)$/s|PYTHON_BINDINGS|false|' \
+ -i {scripts,test}/CMakeLists.txt || die
+ if use test; then
+ # Problems with testbindings built with -O2
+ local test_skip="@unittest.skip('Similar to Issue #2138')"
+ sed -e "/def testTemplates/s|^| ${test_skip}\\n|" \
+ -i test/testbindings.py || die
+ test_skip="@unittest.skip('Similar to Issue #2246')"
+ sed -e "/^def test_write_string/s|^|${test_skip}\\n|" \
+ -i test/testobconv_writers.py || die
+ fi
+ python_foreach_impl prepare_python_bindings
+ fi
+
+ # Remove dependency automagic
+ if ! use png; then
+ sed -e '/^find_package(Cairo/d' -i CMakeLists.txt || die
+ fi
+ if ! use wxwidgets; then
+ sed -e '/^find_package(wxWidgets/d' -i CMakeLists.txt || die
+ fi
+ if ! use inchi; then
+ sed -e '/^else()$/s|else\(\)|elseif\(false\)|' \
+ -i cmake/modules/FindInchi.cmake || die
+ fi
+
+ # Don't install example bins to /usr/bin
+ if use examples; then
+ sed -e "/RUNTIME DESTINATION/s|bin|share/doc/${PF}/examples|" \
+ -i doc/examples/CMakeLists.txt || die
+ fi
+
+ # boost is only used if building with gcc-3.x, which isn't supported in
+ # Gentoo. Still, it shouldn't look for, and include, its headers
+ sed -e '/find_package(Boost/d' -i {{tools,src}/,}CMakeLists.txt || die
+}
+
+src_configure() {
+ if use json; then
+ # -DOPTIMIZE_NATIVE=ON also forces -march=native so use
+ # cpu_flags to set defines instead
+ use cpu_flags_x86_sse2 && append-cppflags -DRAPIDJSON_SSE2
+ use cpu_flags_x86_sse4_2 && append-cppflags -DRAPIDJSON_SSE42
+ use cpu_flags_arm_neon && append-cppflags -DRAPIDJSON_NEON
+ fi
+
+ use wxwidgets && setup-wxwidgets
+
+ use_bindings() {
+ (use perl || use python) && (echo 'yes' || die) || (echo 'no' || die)
+ }
+
+ local mycmakeargs=(
+ -DBUILD_DOCS=$(usex doc)
+ -DBUILD_EXAMPLES=$(usex examples)
+ -DBUILD_GUI=$(usex wxwidgets)
+ -DENABLE_OPENMP=$(usex openmp)
+ -DENABLE_TESTS=$(usex test)
+ -DMINIMAL_BUILD=$(usex minimal)
+ # Set this, otherwise it defaults to true and forces WITH_INCHI=true
+ -DOPENBABEL_USE_SYSTEM_INCHI=$(usex inchi)
+ -DOPTIMIZE_NATIVE=OFF
+ -DPERL_BINDINGS=$(usex perl)
+ -DPYTHON_BINDINGS=$(usex python)
+ -DRUN_SWIG=$(use_bindings)
+ -DWITH_COORDGEN=false
+ -DWITH_INCHI=$(usex inchi)
+ -DWITH_JSON=$(usex json)
+ -DWITH_MAEPARSER=false
+ )
+
+ if use test; then
+ # Help cmake find the python interpreter when dev-lang/python-exec is built
+ # without native-symlinks support.
+ python_setup
+ mycmakeargs+=( -DPYTHON_EXECUTABLE="${PYTHON}" )
+ fi
+
+ cmake_src_configure
+}
+
+src_test() {
+ # Wierd deadlock causes system_load to keep rising
+ cmake_src_test -j1
+}
+
+openbabel-optimize() {
+ python_optimize "${D}/$(python_get_sitedir)"/openbabel || die
+}
+
+src_install() {
+ cmake_src_install
+
+ docinto html
+ for x in doc/*.html; do
+ [[ ${x} != doc/api*.html ]] && dodoc ${x}
+ done
+ # Rendered in some html pages
+ newdoc "${DISTDIR}"/${PN}.png babel130.png
+ newdoc "${DISTDIR}"/${PN}.jpg OBTitle.jpg
+
+ if use doc; then
+ cmake_src_install docs
+ docinto html/API
+ dodoc -r doc/API/html/.
+ fi
+
+ if use examples; then
+ # no compression since we want ready-to-run scripts
+ docompress -x /usr/share/doc/${PF}/examples
+
+ # ${PV} doesn't correspond to the internal BABEL_VERSION for
+ # live or patch release builds so we grep it
+ local babel_ver=$(
+ grep '^#define BABEL_VERSION' < \
+ "${BUILD_DIR}"/include/openbabel/babelconfig.h | \
+ cut -d \" -f 2 || die
+ )
+ docinto examples/povray
+ dodoc doc/dioxin.* doc/README*.pov*
+ # Needed by the povray example
+ dosym ../../../../${PN}/${babel_ver}/babel_povray3.inc \
+ /usr/share/doc/${PF}/examples/povray/babel31.inc
+
+ fi
+
+ if use perl; then
+ docinto /
+ newdoc scripts/perl/Changes Changes.perl
+ newdoc scripts/perl/README README.perl
+ if use examples; then
+ docinto examples/perl
+ dodoc -r scripts/perl/examples/.
+ fi
+ fi
+
+ if use python; then
+ python_foreach_impl openbabel-optimize
+ docinto /
+ newdoc scripts/python/README.rst README.python.rst
+ docinto html
+ dodoc scripts/python/*.html
+ if use examples; then
+ docinto examples/python
+ dodoc -r scripts/python/examples/.
+ fi
+ fi
+
+ if use wxwidgets; then
+ make_desktop_entry obgui "Open Babel" ${PN}
+ doicon "${DISTDIR}"/${PN}.png
+ fi
+}
+
+pkg_postinst() {
+ use wxwidgets && xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ use wxwidgets && xdg_desktop_database_update
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2021-12-15 10:09 Andrew Ammerlaan
0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2021-12-15 10:09 UTC (permalink / raw
To: gentoo-commits
commit: e0157f6f68726348c983f26fc15520f8c887d869
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 15 10:08:27 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Dec 15 10:09:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0157f6f
sci-chemistry/openbabel: bump EAPI=8, add python310
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild | 4 ++--
sci-chemistry/openbabel/openbabel-9999.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
index 0ae9671774ae..67ac61c1741b 100644
--- a/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
+++ b/sci-chemistry/openbabel/openbabel-3.1.1_p20210225.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
WX_GTK_VER=3.0-gtk3
inherit cmake desktop flag-o-matic perl-functions python-r1 toolchain-funcs wxwidgets xdg-utils
diff --git a/sci-chemistry/openbabel/openbabel-9999.ebuild b/sci-chemistry/openbabel/openbabel-9999.ebuild
index 8f231a4565a2..baf793cb651c 100644
--- a/sci-chemistry/openbabel/openbabel-9999.ebuild
+++ b/sci-chemistry/openbabel/openbabel-9999.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
WX_GTK_VER=3.0-gtk3
inherit cmake desktop flag-o-matic perl-functions python-r1 toolchain-funcs wxwidgets xdg-utils
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2021-03-28 11:00 Sam James
0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2021-03-28 11:00 UTC (permalink / raw
To: gentoo-commits
commit: 1ef2edde5b2c3163bc3fa7747233a1a55c6d3da5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 28 10:59:05 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 28 10:59:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ef2edde
sci-chemistry/openbabel: Stabilize 2.4.1-r2 x86, #722860
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-2.4.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.4.1-r2.ebuild b/sci-chemistry/openbabel/openbabel-2.4.1-r2.ebuild
index 014c88e1c52..95161d26d6d 100644
--- a/sci-chemistry/openbabel/openbabel-2.4.1-r2.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.4.1-r2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
# See src/CMakeLists.txt for LIBRARY_VERSION
SLOT="0/5.0.0"
LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc openmp test wxwidgets"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2021-03-28 10:00 Agostino Sarubbo
0 siblings, 0 replies; 30+ messages in thread
From: Agostino Sarubbo @ 2021-03-28 10:00 UTC (permalink / raw
To: gentoo-commits
commit: 92d93b0c77bfac8167351e2ac6f91ef0bb4e4997
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 28 09:59:53 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Mar 28 09:59:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92d93b0c
sci-chemistry/openbabel: amd64 stable wrt bug #722860
Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-2.4.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.4.1-r2.ebuild b/sci-chemistry/openbabel/openbabel-2.4.1-r2.ebuild
index 8830108275b..014c88e1c52 100644
--- a/sci-chemistry/openbabel/openbabel-2.4.1-r2.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.4.1-r2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
# See src/CMakeLists.txt for LIBRARY_VERSION
SLOT="0/5.0.0"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc openmp test wxwidgets"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2020-12-18 10:48 Agostino Sarubbo
0 siblings, 0 replies; 30+ messages in thread
From: Agostino Sarubbo @ 2020-12-18 10:48 UTC (permalink / raw
To: gentoo-commits
commit: 9471a8b327f1b3f58d234f6fd81bb3d611be9854
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 18 10:48:28 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Dec 18 10:48:28 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9471a8b3
sci-chemistry/openbabel: amd64 stable wrt bug #757912
Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild
index e894bd98ef3..db8203212fa 100644
--- a/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
# See src/CMakeLists.txt for LIBRARY_VERSION
SLOT="0/5.0.0"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc openmp test wxwidgets"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2020-12-02 3:06 Thomas Deutschmann
0 siblings, 0 replies; 30+ messages in thread
From: Thomas Deutschmann @ 2020-12-02 3:06 UTC (permalink / raw
To: gentoo-commits
commit: 2f3d99881b4471c635b2ef56a130a8ca5a8c8907
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 2 03:06:04 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Dec 2 03:06:04 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f3d9988
sci-chemistry/openbabel: x86 stable (bug #757912)
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild
index 02f4b074850..e894bd98ef3 100644
--- a/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
# See src/CMakeLists.txt for LIBRARY_VERSION
SLOT="0/5.0.0"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~amd64 ~arm x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc openmp test wxwidgets"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2020-09-07 8:55 David Seifert
0 siblings, 0 replies; 30+ messages in thread
From: David Seifert @ 2020-09-07 8:55 UTC (permalink / raw
To: gentoo-commits
commit: a89df46a4176b48ca7f1bd4f9158d7291aeba432
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 7 08:53:48 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Sep 7 08:53:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a89df46a
sci-chemistry/openbabel: Inherit optfeature.eclass
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild | 2 +-
sci-chemistry/openbabel/openbabel-2.4.1.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild
index febff8ef60c..02f4b074850 100644
--- a/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=7
WX_GTK_VER="3.0"
-inherit cmake-utils desktop eutils toolchain-funcs wxwidgets
+inherit cmake-utils desktop optfeature toolchain-funcs wxwidgets
DESCRIPTION="Interconverts file formats used in molecular modeling"
HOMEPAGE="http://openbabel.org/wiki/Main_Page"
diff --git a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild b/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
index 410d0c89fe0..6f60a5ab135 100644
--- a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
WX_GTK_VER="3.0"
-inherit cmake-utils eutils toolchain-funcs wxwidgets
+inherit cmake-utils optfeature toolchain-funcs wxwidgets
DESCRIPTION="Interconverts file formats used in molecular modeling"
HOMEPAGE="http://openbabel.sourceforge.net/"
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2019-09-29 11:26 Pacho Ramos
0 siblings, 0 replies; 30+ messages in thread
From: Pacho Ramos @ 2019-09-29 11:26 UTC (permalink / raw
To: gentoo-commits
commit: 23e15c4c2d4ef0352a77c96a7aca963cd621372d
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 11:26:27 2019 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 11:26:41 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23e15c4c
sci-chemistry/openbabel: Fix openmp support, add a desktop file.
Closes: https://bugs.gentoo.org/659148
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
sci-chemistry/openbabel/Manifest | 1 +
sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild | 101 ++++++++++++++++++++++
2 files changed, 102 insertions(+)
diff --git a/sci-chemistry/openbabel/Manifest b/sci-chemistry/openbabel/Manifest
index ac268758e8c..b22751d4a86 100644
--- a/sci-chemistry/openbabel/Manifest
+++ b/sci-chemistry/openbabel/Manifest
@@ -1 +1,2 @@
DIST openbabel-2.4.1.tar.gz 11618304 BLAKE2B 8fc051e83add9be6456e281a109bd6bbec282a64ffc83309819f0decbf167b4914fbb7f1966e95e103f268754045b804317f51c79a952ace707c6af2bd320125 SHA512 427e678f0a911bd27b9a8a05e60b6e09f113be4e5dd180daaf80c28d06368e52b57501261755ab3817a8d31f2754db24471fd0ceee706d029386d6f70800e9c6
+DIST openbabel.png 29060 BLAKE2B 8d217d92125cc73462437411dd4e0cc05179cb0934f5ed15a307acc6b549b8ebab250a48a05ef7657f48c6df394f37da9b659de61efb1477b79b573a5b393ad3 SHA512 bbcaaa37663b526c9038ccb9edaf05ccc3ad1a861739a737f05f363098d8402a10b36e341fcc0aca636e809c6c32db99bf987b41719a0c756bf5e31444d3eb70
diff --git a/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild
new file mode 100644
index 00000000000..0834c411ef2
--- /dev/null
+++ b/sci-chemistry/openbabel/openbabel-2.4.1-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+WX_GTK_VER="3.0"
+
+inherit cmake-utils desktop eutils wxwidgets
+
+DESCRIPTION="Interconverts file formats used in molecular modeling"
+HOMEPAGE="http://openbabel.org/wiki/Main_Page"
+SRC_URI="
+ mirror://sourceforge/openbabel/${P}.tar.gz
+ https://openbabel.org/docs/dev/_static/babel130.png -> ${PN}.png
+"
+
+# See src/CMakeLists.txt for LIBRARY_VERSION
+SLOT="0/5.0.0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~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}"
+BDEPEND="
+ >=dev-util/cmake-2.4.8
+ doc? ( app-doc/doxygen )
+"
+
+DOCS=( AUTHORS NEWS.md README.md THANKS doc/dioxin.{inc,mol2} doc/README.{dioxin.pov,povray} )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.3.2-gcc-6_and_7-backport.patch
+ "${FILESDIR}"/${P}-gcc-8.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_prepare() {
+ sed \
+ -e '/__GNUC__/s:== 4:>= 4:g' \
+ -i include/openbabel/shared_ptr.h || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ use wxwidgets && setup-wxwidgets
+ local mycmakeargs=(
+ -DOPENBABEL_USE_SYSTEM_INCHI=ON
+ -DENABLE_OPENMP=$(usex openmp)
+ -DBUILD_GUI=$(usex wxwidgets)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ docinto html
+ dodoc doc/{*.html,*.png}
+ if use doc ; then
+ docinto html/API
+ dodoc -r doc/API/html/*
+ fi
+
+ make_desktop_entry obgui "Open Babel" "${PN}"
+ doicon "${DISTDIR}/${PN}.png"
+
+ cmake-utils_src_install
+}
+
+src_test() {
+ local mycmakeargs=(
+ -DOPENBABEL_USE_SYSTEM_INCHI=ON
+ -DPYTHON_EXECUTABLE=false
+ -DOPENMP=$(usex openmp)
+ -DBUILD_GUI=$(usex wxwidgets)
+ -DTESTS=$(usex test)
+ )
+
+ 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
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2017-10-05 12:05 Michael Palimaka
0 siblings, 0 replies; 30+ messages in thread
From: Michael Palimaka @ 2017-10-05 12:05 UTC (permalink / raw
To: gentoo-commits
commit: 3b2cd1ee6422df5817256d28327481dab713bef1
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 5 11:40:22 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Oct 5 12:04:46 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b2cd1ee
sci-chemistry/openbabel: stabilise 2.4.1 for x86
Bug: https://bugs.gentoo.org/625088
Package-Manager: Portage-2.3.8, Repoman-2.3.3
sci-chemistry/openbabel/openbabel-2.4.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild b/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
index 2dac86457a9..3719af8c81d 100644
--- a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz"
# See src/CMakeLists.txt for LIBRARY_VERSION
SLOT="0/5.0.0"
LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc openmp test wxwidgets"
RDEPEND="
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2017-09-12 22:58 Matt Turner
0 siblings, 0 replies; 30+ messages in thread
From: Matt Turner @ 2017-09-12 22:58 UTC (permalink / raw
To: gentoo-commits
commit: ea41fae35204ea14f0ade85b027f11af10d5c31a
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 12 22:47:04 2017 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Sep 12 22:58:18 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea41fae3
sci-chemistry/openbabel-2.4.1: dropped ppc keywords, bug 625088
sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild | 2 +-
sci-chemistry/openbabel/openbabel-2.4.1.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
index f84e2a1f51b..9665a2ffebc 100644
--- a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc openmp test wxwidgets"
RDEPEND="
diff --git a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild b/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
index ca1fa0dda3c..2dac86457a9 100644
--- a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz"
# See src/CMakeLists.txt for LIBRARY_VERSION
SLOT="0/5.0.0"
LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc openmp test wxwidgets"
RDEPEND="
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2017-07-31 11:36 Tobias Klausmann
0 siblings, 0 replies; 30+ messages in thread
From: Tobias Klausmann @ 2017-07-31 11:36 UTC (permalink / raw
To: gentoo-commits
commit: b6053500dff2e5a57f46a8a7b13158eb64240e7c
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 31 11:05:18 2017 +0000
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Mon Jul 31 11:36:43 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6053500
sci-chemistry/openbabel-2.4.1-r0: amd64 stable
Gentoo-Bug: 625088
sci-chemistry/openbabel/openbabel-2.4.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild b/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
index 2e3c423900e..ca1fa0dda3c 100644
--- a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz"
# See src/CMakeLists.txt for LIBRARY_VERSION
SLOT="0/5.0.0"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc openmp test wxwidgets"
RDEPEND="
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2017-06-03 8:39 Justin Lecher
0 siblings, 0 replies; 30+ messages in thread
From: Justin Lecher @ 2017-06-03 8:39 UTC (permalink / raw
To: gentoo-commits
commit: d789a02141117aef88ba55d035f11d3127dd35db
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 3 08:04:03 2017 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jun 3 08:39:45 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d789a021
sci-chemistry/openbabel: Fix API doc installation
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=619140
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-2.4.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild b/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
index 7674873aea9..2e3c423900e 100644
--- a/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.4.1.ebuild
@@ -66,7 +66,7 @@ src_install() {
dodoc doc/{*.html,*.png}
if use doc ; then
docinto html/API
- dodoc doc/API/html/*
+ dodoc -r doc/API/html/*
fi
cmake-utils_src_install
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2015-11-07 9:09 Justin Lecher
0 siblings, 0 replies; 30+ messages in thread
From: Justin Lecher @ 2015-11-07 9:09 UTC (permalink / raw
To: gentoo-commits
commit: 19635979086a95d6217c86024312653b20d503f9
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 7 09:09:46 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Nov 7 09:09:56 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19635979
sci-chemistry/openbabel: Only configure WxGtk with USE=wxwidgets
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=565040
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
index d1c0813..bbb38de 100644
--- a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
@@ -49,7 +49,7 @@ src_prepare() {
}
src_configure() {
- need-wxwidgets unicode
+ use wxwidgets && need-wxwidgets unicode
local mycmakeargs=()
mycmakeargs+=(
-DOPENBABEL_USE_SYSTEM_INCHI=ON
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2015-11-04 19:28 Justin Lecher
0 siblings, 0 replies; 30+ messages in thread
From: Justin Lecher @ 2015-11-04 19:28 UTC (permalink / raw
To: gentoo-commits
commit: fddaa01871af3e465b9bc4833a0ad68a2b91ffbb
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 4 19:24:01 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Nov 4 19:28:09 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fddaa018
sci-chemistry/openbabel: Drop old
obsoletes
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=449852
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=553104
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-2.3.2.ebuild | 81 --------------------------
1 file changed, 81 deletions(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.3.2.ebuild b/sci-chemistry/openbabel/openbabel-2.3.2.ebuild
deleted file mode 100644
index b353748..0000000
--- a/sci-chemistry/openbabel/openbabel-2.3.2.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-WX_GTK_VER="2.8"
-
-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:2.8[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() {
- 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
-}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2015-11-04 15:17 Agostino Sarubbo
0 siblings, 0 replies; 30+ messages in thread
From: Agostino Sarubbo @ 2015-11-04 15:17 UTC (permalink / raw
To: gentoo-commits
commit: d1d1c34f97099b66cd661fa058a67cc8aff4942e
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 4 15:17:15 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Nov 4 15:17:15 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d1c34f
sci-chemistry/openbabel: ppc stable wrt bug #564280
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"
sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
index c791532..d1c0813 100644
--- a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc openmp test wxwidgets"
RDEPEND="
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2015-11-01 13:49 Mikle Kolyada
0 siblings, 0 replies; 30+ messages in thread
From: Mikle Kolyada @ 2015-11-01 13:49 UTC (permalink / raw
To: gentoo-commits
commit: 65dfb12e9cd7c91a1269359cd2079c44bf2e1e57
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 1 13:46:58 2015 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Nov 1 13:46:58 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65dfb12e
sci-chemistry/openbabel: x86 stable wrt bug #564280
Package-Manager: portage-2.2.20.1
sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
index d0a1a1d..c791532 100644
--- a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc openmp test wxwidgets"
RDEPEND="
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2015-10-30 9:18 Agostino Sarubbo
0 siblings, 0 replies; 30+ messages in thread
From: Agostino Sarubbo @ 2015-10-30 9:18 UTC (permalink / raw
To: gentoo-commits
commit: c02f6a393640e5e845c121174c46e59dd621b4a3
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 30 09:17:43 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Oct 30 09:17:43 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c02f6a39
sci-chemistry/openbabel: amd64 stable wrt bug #564280
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"
sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
index 81b5302..d0a1a1d 100644
--- a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc openmp test wxwidgets"
RDEPEND="
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2015-10-27 18:04 Justin Lecher
0 siblings, 0 replies; 30+ messages in thread
From: Justin Lecher @ 2015-10-27 18:04 UTC (permalink / raw
To: gentoo-commits
commit: 67637da7accee22cb299954e4aaa831fe2d6faec
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 27 17:37:08 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Oct 27 18:04:04 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67637da7
sci-chemistry/openbabel: Fix for gcc-5
convert mycmakeargs to be an array
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
index c123bb0..81b5302 100644
--- a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
@@ -41,13 +41,21 @@ pkg_setup() {
fi
}
+src_prepare() {
+ sed \
+ -e '/__GNUC__/s:== 4:>= 4:g' \
+ -i include/openbabel/shared_ptr.h || die
+ cmake-utils_src_prepare
+}
+
src_configure() {
need-wxwidgets unicode
- local mycmakeargs=""
- mycmakeargs="${mycmakeargs}
+ local mycmakeargs=()
+ mycmakeargs+=(
-DOPENBABEL_USE_SYSTEM_INCHI=ON
$(cmake-utils_use_enable openmp OPENMP)
- $(cmake-utils_use wxwidgets BUILD_GUI)"
+ $(cmake-utils_use wxwidgets BUILD_GUI)
+ )
cmake-utils_src_configure
}
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/
@ 2015-10-25 10:31 Pacho Ramos
0 siblings, 0 replies; 30+ messages in thread
From: Pacho Ramos @ 2015-10-25 10:31 UTC (permalink / raw
To: gentoo-commits
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
+}
^ permalink raw reply related [flat|nested] 30+ messages in thread
end of thread, other threads:[~2024-07-30 21:13 UTC | newest]
Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-18 10:14 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/openbabel/ David Seifert
-- strict thread matches above, loose matches on Subject: below --
2024-07-30 21:13 Pacho Ramos
2024-07-30 21:13 Pacho Ramos
2024-06-29 18:08 Andreas Sturmlechner
2024-04-11 17:52 Arthur Zamarin
2023-11-24 14:31 Pacho Ramos
2023-02-23 13:20 Andrew Ammerlaan
2022-05-16 8:12 David Seifert
2022-03-10 21:12 Sam James
2022-03-07 14:33 Jakov Smolić
2022-03-07 14:33 Jakov Smolić
2021-12-15 10:09 Andrew Ammerlaan
2021-12-15 10:09 Andrew Ammerlaan
2021-03-28 11:00 Sam James
2021-03-28 10:00 Agostino Sarubbo
2020-12-18 10:48 Agostino Sarubbo
2020-12-02 3:06 Thomas Deutschmann
2020-09-07 8:55 David Seifert
2019-09-29 11:26 Pacho Ramos
2017-10-05 12:05 Michael Palimaka
2017-09-12 22:58 Matt Turner
2017-07-31 11:36 Tobias Klausmann
2017-06-03 8:39 Justin Lecher
2015-11-07 9:09 Justin Lecher
2015-11-04 19:28 Justin Lecher
2015-11-04 15:17 Agostino Sarubbo
2015-11-01 13:49 Mikle Kolyada
2015-10-30 9:18 Agostino Sarubbo
2015-10-27 18:04 Justin Lecher
2015-10-25 10:31 Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox