1 |
commit: da731f1940288b009bf57a13ad7bbb132ea2ed8e |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 3 03:50:42 2020 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 3 04:02:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=da731f19 |
7 |
|
8 |
sci-chemistry/openbabel-ruby: remove from tree. |
9 |
|
10 |
The ebuild is under maintained and without any normal ebuild |
11 |
verions. The ruby targets are not updated since ruby21. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/707558 |
14 |
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
15 |
|
16 |
sci-chemistry/openbabel-ruby/metadata.xml | 18 ----- |
17 |
.../openbabel-ruby/openbabel-ruby-9999.ebuild | 81 ---------------------- |
18 |
2 files changed, 99 deletions(-) |
19 |
|
20 |
diff --git a/sci-chemistry/openbabel-ruby/metadata.xml b/sci-chemistry/openbabel-ruby/metadata.xml |
21 |
deleted file mode 100644 |
22 |
index cc3c28852..000000000 |
23 |
--- a/sci-chemistry/openbabel-ruby/metadata.xml |
24 |
+++ /dev/null |
25 |
@@ -1,18 +0,0 @@ |
26 |
-<?xml version="1.0" encoding="UTF-8"?> |
27 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
-<pkgmetadata> |
29 |
- <maintainer type="project"> |
30 |
- <email>sci-chemistry@g.o</email> |
31 |
- <name>Gentoo Chemistry Project</name> |
32 |
- </maintainer> |
33 |
- <longdescription> |
34 |
-Open Babel is a chemical toolbox designed to speak the many languages of |
35 |
-chemical data. It's an open, collaborative project allowing anyone to |
36 |
-search, convert, analyze, or store data from molecular modeling, chemistry, |
37 |
-solid-state materials, biochemistry, or related areas. This package enables |
38 |
-to access Open Babel library from Ruby programs. |
39 |
-</longdescription> |
40 |
- <upstream> |
41 |
- <remote-id type="sourceforge">openbabel</remote-id> |
42 |
- </upstream> |
43 |
-</pkgmetadata> |
44 |
|
45 |
diff --git a/sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild b/sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild |
46 |
deleted file mode 100644 |
47 |
index fb014277b..000000000 |
48 |
--- a/sci-chemistry/openbabel-ruby/openbabel-ruby-9999.ebuild |
49 |
+++ /dev/null |
50 |
@@ -1,81 +0,0 @@ |
51 |
-# Copyright 1999-2016 Gentoo Foundation |
52 |
-# Distributed under the terms of the GNU General Public License v2 |
53 |
- |
54 |
-EAPI=5 |
55 |
- |
56 |
-USE_RUBY="ruby20 ruby21" |
57 |
- |
58 |
-inherit cmake-utils eutils ruby-ng git-r3 |
59 |
- |
60 |
-DESCRIPTION="Ruby bindings for OpenBabel" |
61 |
-HOMEPAGE="http://openbabel.sourceforge.net/" |
62 |
-SRC_URI="" |
63 |
-EGIT_REPO_URI="https://github.com/openbabel/openbabel.git" |
64 |
- |
65 |
-LICENSE="GPL-2" |
66 |
-SLOT="0" |
67 |
-KEYWORDS="" |
68 |
-IUSE="" |
69 |
- |
70 |
-DEPEND="${DEPEND} |
71 |
- ~sci-chemistry/openbabel-${PV} |
72 |
- >=dev-lang/swig-1.3.29" |
73 |
-RDEPEND="${RDEPEND} |
74 |
- ~sci-chemistry/openbabel-${PV}" |
75 |
- |
76 |
-CMAKE_IN_SOURCE_BUILD=1 |
77 |
- |
78 |
-EGIT_CHECKOUT_DIR="${WORKDIR}/all" |
79 |
- |
80 |
-src_unpack() { |
81 |
- all_ruby_unpack() { |
82 |
- git-r3_src_unpack |
83 |
- } |
84 |
- |
85 |
- ruby-ng_src_unpack |
86 |
-} |
87 |
- |
88 |
-all_ruby_prepare() { |
89 |
- swig -ruby -c++ -small -O -templatereduce -naturalvar -autorename \ |
90 |
- -I"${EPREFIX}/usr/include/openbabel-2.0" \ |
91 |
- -o scripts/ruby/openbabel-ruby.cpp \ |
92 |
- -outdir scripts/ruby \ |
93 |
- scripts/openbabel-ruby.i \ |
94 |
- || die "Generation of openbabel-ruby.cpp failed" |
95 |
- sed 's/void Init_OpenBabel/void Init_openbabel/' -i scripts/ruby/openbabel-ruby.cpp || die |
96 |
-} |
97 |
- |
98 |
-each_ruby_configure() { |
99 |
- CMAKE_USE_DIR="${WORKDIR}/${environment}" |
100 |
- local mycmakeargs=( |
101 |
- -DCMAKE_INSTALL_RPATH= |
102 |
- -DBINDINGS_ONLY=ON |
103 |
- -DOPTIMIZE_NATIVE=OFF |
104 |
- -DBABEL_SYSTEM_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libopenbabel.so |
105 |
- -DOB_MODULE_PATH="${EPREFIX}"/usr/$(get_libdir)/openbabel/"${PV}" |
106 |
- -DLIB_INSTALL_DIR="${ED}"/$(ruby_rbconfig_value sitearchdir) |
107 |
- -DRUBY_BINDINGS=ON |
108 |
- -DRUBY_EXECUTABLE="${RUBY}" |
109 |
- -DRUBY_INCLUDE_DIR=$(ruby_get_hdrdir) -I$(ruby_get_hdrdir)/$(ruby_rbconfig_value sitearch) |
110 |
- -DRUBY_LIBRARY=$(ruby_get_libruby) |
111 |
- ) |
112 |
- |
113 |
- cmake-utils_src_configure |
114 |
-} |
115 |
- |
116 |
-each_ruby_compile() { |
117 |
- CMAKE_USE_DIR="${WORKDIR}/${environment}" |
118 |
- cmake-utils_src_make bindings_ruby |
119 |
-} |
120 |
- |
121 |
-each_ruby_test() { |
122 |
- for i in scripts/ruby/examples/*; do |
123 |
- einfo "Running test: ${WORKDIR}/${environment}/${i}" |
124 |
- ${RUBY} -I"${WORKDIR}/${environment}/$(get_libdir)" "${i}" || die |
125 |
- done |
126 |
-} |
127 |
- |
128 |
-each_ruby_install() { |
129 |
- CMAKE_USE_DIR="${WORKDIR}/${environment}" |
130 |
- cmake -DCOMPONENT=bindings_ruby -P cmake_install.cmake |
131 |
-} |