diff options
Diffstat (limited to 'sci-chemistry/openbabel')
-rw-r--r-- | sci-chemistry/openbabel/Manifest | 1 | ||||
-rw-r--r-- | sci-chemistry/openbabel/openbabel-2.4.1.ebuild | 94 |
2 files changed, 0 insertions, 95 deletions
diff --git a/sci-chemistry/openbabel/Manifest b/sci-chemistry/openbabel/Manifest index a2ee606653dd..782bf7a5fc8f 100644 --- a/sci-chemistry/openbabel/Manifest +++ b/sci-chemistry/openbabel/Manifest @@ -3,5 +3,4 @@ AUX openbabel-2.4.1-gcc-8.patch 707 BLAKE2B 2b40d3e573664d036ef961e0298d34e09337 DIST openbabel-2.4.1.tar.gz 11618304 BLAKE2B 8fc051e83add9be6456e281a109bd6bbec282a64ffc83309819f0decbf167b4914fbb7f1966e95e103f268754045b804317f51c79a952ace707c6af2bd320125 SHA512 427e678f0a911bd27b9a8a05e60b6e09f113be4e5dd180daaf80c28d06368e52b57501261755ab3817a8d31f2754db24471fd0ceee706d029386d6f70800e9c6 DIST openbabel.png 29060 BLAKE2B 8d217d92125cc73462437411dd4e0cc05179cb0934f5ed15a307acc6b549b8ebab250a48a05ef7657f48c6df394f37da9b659de61efb1477b79b573a5b393ad3 SHA512 bbcaaa37663b526c9038ccb9edaf05ccc3ad1a861739a737f05f363098d8402a10b36e341fcc0aca636e809c6c32db99bf987b41719a0c756bf5e31444d3eb70 EBUILD openbabel-2.4.1-r1.ebuild 2226 BLAKE2B 1342b61d567112528a5d574e0529837d96b53e98ca96a71b05336079f2caf7489b74cf98a83d15d884f19ed24090f1284313cd1b5df552f6482fe6dfa045a40d SHA512 1566ba69f27e97acfbb2950b65844987dc9a21410f42d540e0e3a6c732c151395b80cc6fa371b70414ffcc5b61c445efb6f893653b2b5d353579c73f6804f247 -EBUILD openbabel-2.4.1.ebuild 2057 BLAKE2B 265cc20a061747321c4a15b25cb98dbaed80fcca5be79af17fc7a5e391082f4c9df665d0aba15083d70f2511359e88bf119f960bed39d720f3f8d23df0130545 SHA512 f2a276d04439bc9b195c32e528f9ced7d4be7127f8088c45963e91d6220020dfc918b14dc76238e1e10a9fdfeec043dd45460af6766514d3fc5e954f5f85ff05 MISC metadata.xml 665 BLAKE2B 4657b85c826c006b6d69e06240dd908a72397a32cb0c0512810e22d1b02478eaa3ab460535b300eba653a334a79c81a102007da1a901d6d1dbd04fc5e795df73 SHA512 0555e7c7401dfd5fbeee339302f8eb7a104ad6538db2839d8e89c20ac5ad2184070335677671a58eb91be2780ae485467d33302f3a14d0caab4ae8c0148f03bb 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 6f60a5ab1354..000000000000 --- 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 -} |