Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-oci8/
Date: Fri, 21 Jul 2017 06:29:08
Message-Id: 1500618079.828b1df7e97ee6e3c68d76c5cfc335d718d8a66b.graaff@gentoo
1 commit: 828b1df7e97ee6e3c68d76c5cfc335d718d8a66b
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 21 06:21:19 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 21 06:21:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=828b1df7
7
8 dev-ruby/ruby-oci8: add untested 2.2.4.1
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-ruby/ruby-oci8/Manifest | 1 +
13 dev-ruby/ruby-oci8/ruby-oci8-2.2.4.1.ebuild | 40 +++++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-ruby/ruby-oci8/Manifest b/dev-ruby/ruby-oci8/Manifest
17 index 9311fe095ae..bbbc4be085e 100644
18 --- a/dev-ruby/ruby-oci8/Manifest
19 +++ b/dev-ruby/ruby-oci8/Manifest
20 @@ -1,2 +1,3 @@
21 DIST ruby-oci8-2.1.8.gem 249856 SHA256 f5ab06e0312849b181e0b5e471f73b3070b9317ba289875f7ed44ee963b48f50 SHA512 897e5b86106b45e12bf359b8ed379a36a1c457daa1de9e7a8431f409ec25b12b20e30ed254a2bc77ab1abc0731f1c45e93860a36e0e6903c6fc7573a9ceeef9e WHIRLPOOL 7628ff11626619a82c02792d97ff66a2349af289d92fb52f928ff11c328a17dc8d1e02b16473028d0473f62d05617f07c30814030b32eb9908e52d49f4c259db
22 DIST ruby-oci8-2.2.3.gem 317952 SHA256 0a2b5d6f0f8f8422e03ecd3c013360cda25641c9eca245db4529b2f27f388560 SHA512 67323ba01bb30f5e405f8b4b4e0d1749cb8c96a7b158cdd77079936e73ac651e27e1df2c0417cb20ec69fcd997a92113757c697b4e5e0b2f498c2a18da400fc4 WHIRLPOOL 8e1cf8d067132e1fdf23e4b31403056a618ad39ee078fb510dd42f8b450faff0ca3f19bce3c15e5721aab15bbad1a0707f741a861710e0bd1187a9ce7b23492f
23 +DIST ruby-oci8-2.2.4.1.gem 325120 SHA256 0c3e9cfc655ef7b2ad3add3517b6dbb88134a4d1753021cfb435cb3b51e3abe9 SHA512 54323843ebd3f7252b6d96cd1136752172f879bb6a67842c38e3a84effae18fddb2350be2ed4257c1db5ee54bf7678a098e2b1424508d3e597778e874bcbf20f WHIRLPOOL aa97f56f075ee2be9fa9d03abc98806dd23a8759a5e7a55a3cf37cfcd05fd9206e8c1b5239d0fcbe88319abd498a26711046e0150beeceb11b8446b8eba9baaa
24
25 diff --git a/dev-ruby/ruby-oci8/ruby-oci8-2.2.4.1.ebuild b/dev-ruby/ruby-oci8/ruby-oci8-2.2.4.1.ebuild
26 new file mode 100644
27 index 00000000000..e46cef4cfdd
28 --- /dev/null
29 +++ b/dev-ruby/ruby-oci8/ruby-oci8-2.2.4.1.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +USE_RUBY="ruby21 ruby22 ruby23 ruby24"
36 +
37 +inherit multilib ruby-fakegem
38 +
39 +RUBY_FAKEGEM_EXTRADOC="NEWS README.md ChangeLog"
40 +RUBY_FAKEGEM_RECIPE_DOC="rdoc"
41 +
42 +DESCRIPTION="A Ruby library for Oracle OCI8"
43 +HOMEPAGE="https://rubygems.org/gems/ruby-oci8/"
44 +
45 +LICENSE="Ruby"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE=""
49 +
50 +RDEPEND+=" dev-db/oracle-instantclient-basic"
51 +DEPEND+=" dev-db/oracle-instantclient-basic"
52 +
53 +EXT_DIR="ext/oci8"
54 +
55 +each_ruby_configure() {
56 + # configure the native libraries
57 + ${RUBY} -C${EXT_DIR} extconf.rb --prefix="${D}/usr" || die "configure failed"
58 +}
59 +
60 +each_ruby_compile() {
61 + # compile the native libraries
62 + emake -C ${EXT_DIR} V=1 || die "could not compile native library"
63 +}
64 +
65 +each_ruby_install() {
66 + # install the native libraries
67 + emake -C ${EXT_DIR} install DESTDIR="${D}" || die "could not install native library"
68 + # install the gem files
69 + each_fakegem_install
70 +}