aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2020-02-03 11:50:42 +0800
committerBenda Xu <heroxbd@gentoo.org>2020-02-03 12:02:35 +0800
commitda731f1940288b009bf57a13ad7bbb132ea2ed8e (patch)
tree9de0f23996f8d6d95b9b41dd2d82d1c6e61eca55
parentsci-biology/ugene: remove from tree. (diff)
downloadsci-da731f1940288b009bf57a13ad7bbb132ea2ed8e.tar.gz
sci-da731f1940288b009bf57a13ad7bbb132ea2ed8e.tar.bz2
sci-da731f1940288b009bf57a13ad7bbb132ea2ed8e.zip
sci-chemistry/openbabel-ruby: remove from tree.
The ebuild is under maintained and without any normal ebuild verions. The ruby targets are not updated since ruby21. Bug: https://bugs.gentoo.org/707558 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
-rw-r--r--sci-chemistry/openbabel-ruby/metadata.xml18
-rw-r--r--sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild81
2 files changed, 0 insertions, 99 deletions
diff --git a/sci-chemistry/openbabel-ruby/metadata.xml b/sci-chemistry/openbabel-ruby/metadata.xml
deleted file mode 100644
index cc3c28852..000000000
--- a/sci-chemistry/openbabel-ruby/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-chemistry@gentoo.org</email>
- <name>Gentoo Chemistry Project</name>
- </maintainer>
- <longdescription>
-Open Babel is a chemical toolbox designed to speak the many languages of
-chemical data. It's an open, collaborative project allowing anyone to
-search, convert, analyze, or store data from molecular modeling, chemistry,
-solid-state materials, biochemistry, or related areas. This package enables
-to access Open Babel library from Ruby programs.
-</longdescription>
- <upstream>
- <remote-id type="sourceforge">openbabel</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild b/sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild
deleted file mode 100644
index fb014277b..000000000
--- a/sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-USE_RUBY="ruby20 ruby21"
-
-inherit cmake-utils eutils ruby-ng git-r3
-
-DESCRIPTION="Ruby bindings for OpenBabel"
-HOMEPAGE="http://openbabel.sourceforge.net/"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/openbabel/openbabel.git"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-
-DEPEND="${DEPEND}
- ~sci-chemistry/openbabel-${PV}
- >=dev-lang/swig-1.3.29"
-RDEPEND="${RDEPEND}
- ~sci-chemistry/openbabel-${PV}"
-
-CMAKE_IN_SOURCE_BUILD=1
-
-EGIT_CHECKOUT_DIR="${WORKDIR}/all"
-
-src_unpack() {
- all_ruby_unpack() {
- git-r3_src_unpack
- }
-
- ruby-ng_src_unpack
-}
-
-all_ruby_prepare() {
- swig -ruby -c++ -small -O -templatereduce -naturalvar -autorename \
- -I"${EPREFIX}/usr/include/openbabel-2.0" \
- -o scripts/ruby/openbabel-ruby.cpp \
- -outdir scripts/ruby \
- scripts/openbabel-ruby.i \
- || die "Generation of openbabel-ruby.cpp failed"
- sed 's/void Init_OpenBabel/void Init_openbabel/' -i scripts/ruby/openbabel-ruby.cpp || die
-}
-
-each_ruby_configure() {
- CMAKE_USE_DIR="${WORKDIR}/${environment}"
- local mycmakeargs=(
- -DCMAKE_INSTALL_RPATH=
- -DBINDINGS_ONLY=ON
- -DOPTIMIZE_NATIVE=OFF
- -DBABEL_SYSTEM_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libopenbabel.so
- -DOB_MODULE_PATH="${EPREFIX}"/usr/$(get_libdir)/openbabel/"${PV}"
- -DLIB_INSTALL_DIR="${ED}"/$(ruby_rbconfig_value sitearchdir)
- -DRUBY_BINDINGS=ON
- -DRUBY_EXECUTABLE="${RUBY}"
- -DRUBY_INCLUDE_DIR=$(ruby_get_hdrdir) -I$(ruby_get_hdrdir)/$(ruby_rbconfig_value sitearch)
- -DRUBY_LIBRARY=$(ruby_get_libruby)
- )
-
- cmake-utils_src_configure
-}
-
-each_ruby_compile() {
- CMAKE_USE_DIR="${WORKDIR}/${environment}"
- cmake-utils_src_make bindings_ruby
-}
-
-each_ruby_test() {
- for i in scripts/ruby/examples/*; do
- einfo "Running test: ${WORKDIR}/${environment}/${i}"
- ${RUBY} -I"${WORKDIR}/${environment}/$(get_libdir)" "${i}" || die
- done
-}
-
-each_ruby_install() {
- CMAKE_USE_DIR="${WORKDIR}/${environment}"
- cmake -DCOMPONENT=bindings_ruby -P cmake_install.cmake
-}