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 51DF5139083 for ; Fri, 15 Dec 2017 07:04:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62864E1097; Fri, 15 Dec 2017 07:04:44 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 299A9E1091 for ; Fri, 15 Dec 2017 07:04:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 AFC0C33BEBE for ; Fri, 15 Dec 2017 07:04:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4AF07AE85 for ; Fri, 15 Dec 2017 07:04:41 +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: <1513321451.6cf7bc7440e2aaadabc0b365e69228c8120df8bf.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rb-gsl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rb-gsl/Manifest dev-ruby/rb-gsl/rb-gsl-2.1.0.2.ebuild X-VCS-Directories: dev-ruby/rb-gsl/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 6cf7bc7440e2aaadabc0b365e69228c8120df8bf X-VCS-Branch: master Date: Fri, 15 Dec 2017 07:04:41 +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: f28ce0d6-ef83-443c-99a1-59afeaa0af10 X-Archives-Hash: ebc09df27216e83711ba9391f8ddbad5 commit: 6cf7bc7440e2aaadabc0b365e69228c8120df8bf Author: Hans de Graaff gentoo org> AuthorDate: Fri Dec 15 07:03:16 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Dec 15 07:04:11 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cf7bc74 dev-ruby/rb-gsl: add 2.1.0.2 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-ruby/rb-gsl/Manifest | 1 + dev-ruby/rb-gsl/rb-gsl-2.1.0.2.ebuild | 47 +++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-ruby/rb-gsl/Manifest b/dev-ruby/rb-gsl/Manifest index ccf617af429..7c62f136804 100644 --- a/dev-ruby/rb-gsl/Manifest +++ b/dev-ruby/rb-gsl/Manifest @@ -1,2 +1,3 @@ DIST gsl-1.16.0.6.gem 594944 BLAKE2B 2e14c4721ed22de6ec6c289e849c390c824739dc9722b19b0c6a75d04abab125f9d62c4f76d4f36e3d92959c3d89de8aa063ab9e4c75b1a727112e98c3a1fd53 SHA512 99610ef7e9b57c29f1972c4cb2853642157660b885a0a9761876c649badeb02dace7f0191453ce63d1a7f59bc3ee89fb61a73ae71522b5430f7916a60c4d1490 DIST gsl-2.1.0.1.gem 729600 BLAKE2B 6b1046ea226f18de687fbe7dcc517df7e35bcd30f49c6b7cc1abb366645735110e30bd6ab2c31c89a497a3c1c94a1b62648300dd98f6b4a7c59c0cb300a0fd17 SHA512 e07056b9989f5dd8ee06df02cf548607ae06af1e347eec7c5a50ad69bac51ab642b10d5b7e8bbd8d77666aba9cf6985145ac3b23d02489ed616bfa884dbf96f4 +DIST gsl-2.1.0.2.gem 735232 BLAKE2B bb8aa488b5d3bf7c2f3facf34093c985c63bfe692933b21eb8273af38e6788691593bdcc6fd52b9e22635d1b8195f81d1302edab7c2915a19ce9574cab184d84 SHA512 c07adfb44980ca813e114db2b0917f6b2dcb7d3bbe0ccfd9561519b4e574991f3c72f3e7115218f473154690f9284bf89c968d3c6d52d29fa0a232a1160d2704 diff --git a/dev-ruby/rb-gsl/rb-gsl-2.1.0.2.ebuild b/dev-ruby/rb-gsl/rb-gsl-2.1.0.2.ebuild new file mode 100644 index 00000000000..cf1a14286ed --- /dev/null +++ b/dev-ruby/rb-gsl/rb-gsl-2.1.0.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_NAME="gsl" +inherit ruby-fakegem multilib + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md" + +DESCRIPTION="Ruby interface to GNU Scientific Library" +HOMEPAGE="https://github.com/SciRuby/rb-gsl" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +DEPEND+=" >=sci-libs/gsl-2.3[deprecated]" +RDEPEND+=" >=sci-libs/gsl-2.3[deprecated]" + +RUBY_S="${PN}-${P}" + +ruby_add_bdepend "dev-ruby/narray" +ruby_add_rdepend "dev-ruby/narray" + +all_ruby_prepare() { + sed -i -e '/LOCAL_LIBS/ s: -l: -L#{path.gsub("ext", "lib")} -l:' ext/gsl_native/extconf.rb || die + # nmatrix only tests + rm -r test/gsl/nmatrix_tests || die +} + +each_ruby_configure() { + NARRAY=1 ${RUBY} -Cext/gsl_native extconf.rb || die + sed -i -e 's:-Wl,--no-undefined::' ext/gsl_native/Makefile || die +} + +each_ruby_compile() { + NARRAY=1 emake -Cext/gsl_native V=1 + cp ext/gsl_native/*$(get_modname) lib/ || die +} + +each_ruby_test() { + NARRAY=1 ${RUBY} -Ilib:test:. -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die +}