summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-10-14 21:33:19 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-10-14 21:33:19 +0200
commit5257caeccd710e6c1d27f86ebd808f14f98a120b (patch)
tree1ead3ed58d0080acb309f8c7e6c64c1f147ef997 /sci-chemistry
parentsys-fs/dfc: Drop obsolete cmake option (diff)
downloadgentoo-5257caeccd710e6c1d27f86ebd808f14f98a120b.tar.gz
gentoo-5257caeccd710e6c1d27f86ebd808f14f98a120b.tar.bz2
gentoo-5257caeccd710e6c1d27f86ebd808f14f98a120b.zip
sci-chemistry/openbabel: Drop 2.3.2-r1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/openbabel/Manifest1
-rw-r--r--sci-chemistry/openbabel/files/openbabel-2.3.2-test_lib_path.patch27
-rw-r--r--sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild92
3 files changed, 0 insertions, 120 deletions
diff --git a/sci-chemistry/openbabel/Manifest b/sci-chemistry/openbabel/Manifest
index b44e078a63a8..ac268758e8cb 100644
--- a/sci-chemistry/openbabel/Manifest
+++ b/sci-chemistry/openbabel/Manifest
@@ -1,2 +1 @@
-DIST openbabel-2.3.2.tar.gz 20509105 BLAKE2B d475c2da0d7171650eeb4b78a948421b783bdbb9342c81114d3dbc19d5cbb273f7303438920ffaeef5b6332e4b72606a86ded5cbd3d7e541f62b59b46483bb69 SHA512 d0e1f8b758ffdd65ec6c31d988bffe3279355e286ce69fad12c5905b3b832e2b73ee95b1061b1576aba1ee9fe4da5e31ec30350c473be17493c657dc80caf919
DIST openbabel-2.4.1.tar.gz 11618304 BLAKE2B 8fc051e83add9be6456e281a109bd6bbec282a64ffc83309819f0decbf167b4914fbb7f1966e95e103f268754045b804317f51c79a952ace707c6af2bd320125 SHA512 427e678f0a911bd27b9a8a05e60b6e09f113be4e5dd180daaf80c28d06368e52b57501261755ab3817a8d31f2754db24471fd0ceee706d029386d6f70800e9c6
diff --git a/sci-chemistry/openbabel/files/openbabel-2.3.2-test_lib_path.patch b/sci-chemistry/openbabel/files/openbabel-2.3.2-test_lib_path.patch
deleted file mode 100644
index 66a796d17b7f..000000000000
--- a/sci-chemistry/openbabel/files/openbabel-2.3.2-test_lib_path.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -ru old/openbabel-2.3.0/test/CMakeLists.txt new/openbabel-2.3.0/test/CMakeLists.txt
---- a/test/CMakeLists.txt 2010-10-26 17:39:01.000000000 +0300
-+++ b/test/CMakeLists.txt 2010-11-14 18:13:32.000000000 +0200
-@@ -2,7 +2,7 @@
- add_definitions(-DTESTDATADIR="\\"${CMAKE_SOURCE_DIR}/test/files/\\"")
-
- # define FORMATDIR for location of format plugin binaries
--add_definitions(-DFORMATDIR="\\"${openbabel_BINARY_DIR}/lib/\\"")
-+add_definitions(-DFORMATDIR="\\"${openbabel_BINARY_DIR}/lib${LIB_SUFFIX}/\\"")
-
- ###########################################################
- # new tests using obtest.h
-@@ -32,12 +35,12 @@ set(tests
- uniqueid
- )
-
--if (EIGEN2_FOUND)
-+if(EIGEN2_FOUND OR EIGEN3_FOUND)
- set(tests
- align
- ${tests}
- )
--endif (EIGEN2_FOUND)
-+endif()
-
- set(TEST_PATH ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
-
diff --git a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
deleted file mode 100644
index 9665a2ffebcb..000000000000
--- a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 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
- "${FILESDIR}"/${P}-gcc-6_and_7-backport.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=()
- 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
-}