From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7DF12139694 for ; Fri, 21 Jul 2017 06:29:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E64A21FC008; Fri, 21 Jul 2017 06:29:04 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AC8BB1FC008 for ; Fri, 21 Jul 2017 06:29:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C176D341870 for ; Fri, 21 Jul 2017 06:29:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C0B974C2 for ; Fri, 21 Jul 2017 06:29:00 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1500618079.828b1df7e97ee6e3c68d76c5cfc335d718d8a66b.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-oci8/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/ruby-oci8/Manifest dev-ruby/ruby-oci8/ruby-oci8-2.2.4.1.ebuild X-VCS-Directories: dev-ruby/ruby-oci8/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 828b1df7e97ee6e3c68d76c5cfc335d718d8a66b X-VCS-Branch: master Date: Fri, 21 Jul 2017 06:29:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f634c25f-10f5-4cef-a603-5a4f34137fd6 X-Archives-Hash: 5b18d5cf42329eac544e3538e34270c0 commit: 828b1df7e97ee6e3c68d76c5cfc335d718d8a66b Author: Hans de Graaff gentoo org> AuthorDate: Fri Jul 21 06:21:19 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Jul 21 06:21:19 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=828b1df7 dev-ruby/ruby-oci8: add untested 2.2.4.1 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ruby/ruby-oci8/Manifest | 1 + dev-ruby/ruby-oci8/ruby-oci8-2.2.4.1.ebuild | 40 +++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-ruby/ruby-oci8/Manifest b/dev-ruby/ruby-oci8/Manifest index 9311fe095ae..bbbc4be085e 100644 --- a/dev-ruby/ruby-oci8/Manifest +++ b/dev-ruby/ruby-oci8/Manifest @@ -1,2 +1,3 @@ DIST ruby-oci8-2.1.8.gem 249856 SHA256 f5ab06e0312849b181e0b5e471f73b3070b9317ba289875f7ed44ee963b48f50 SHA512 897e5b86106b45e12bf359b8ed379a36a1c457daa1de9e7a8431f409ec25b12b20e30ed254a2bc77ab1abc0731f1c45e93860a36e0e6903c6fc7573a9ceeef9e WHIRLPOOL 7628ff11626619a82c02792d97ff66a2349af289d92fb52f928ff11c328a17dc8d1e02b16473028d0473f62d05617f07c30814030b32eb9908e52d49f4c259db DIST ruby-oci8-2.2.3.gem 317952 SHA256 0a2b5d6f0f8f8422e03ecd3c013360cda25641c9eca245db4529b2f27f388560 SHA512 67323ba01bb30f5e405f8b4b4e0d1749cb8c96a7b158cdd77079936e73ac651e27e1df2c0417cb20ec69fcd997a92113757c697b4e5e0b2f498c2a18da400fc4 WHIRLPOOL 8e1cf8d067132e1fdf23e4b31403056a618ad39ee078fb510dd42f8b450faff0ca3f19bce3c15e5721aab15bbad1a0707f741a861710e0bd1187a9ce7b23492f +DIST ruby-oci8-2.2.4.1.gem 325120 SHA256 0c3e9cfc655ef7b2ad3add3517b6dbb88134a4d1753021cfb435cb3b51e3abe9 SHA512 54323843ebd3f7252b6d96cd1136752172f879bb6a67842c38e3a84effae18fddb2350be2ed4257c1db5ee54bf7678a098e2b1424508d3e597778e874bcbf20f WHIRLPOOL aa97f56f075ee2be9fa9d03abc98806dd23a8759a5e7a55a3cf37cfcd05fd9206e8c1b5239d0fcbe88319abd498a26711046e0150beeceb11b8446b8eba9baaa 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 new file mode 100644 index 00000000000..e46cef4cfdd --- /dev/null +++ b/dev-ruby/ruby-oci8/ruby-oci8-2.2.4.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +inherit multilib ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="NEWS README.md ChangeLog" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +DESCRIPTION="A Ruby library for Oracle OCI8" +HOMEPAGE="https://rubygems.org/gems/ruby-oci8/" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND+=" dev-db/oracle-instantclient-basic" +DEPEND+=" dev-db/oracle-instantclient-basic" + +EXT_DIR="ext/oci8" + +each_ruby_configure() { + # configure the native libraries + ${RUBY} -C${EXT_DIR} extconf.rb --prefix="${D}/usr" || die "configure failed" +} + +each_ruby_compile() { + # compile the native libraries + emake -C ${EXT_DIR} V=1 || die "could not compile native library" +} + +each_ruby_install() { + # install the native libraries + emake -C ${EXT_DIR} install DESTDIR="${D}" || die "could not install native library" + # install the gem files + each_fakegem_install +}