diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-15 17:25:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-15 17:25:28 +0000 |
commit | 6b933047f46efec1aa747570f945344254227457 (patch) | |
tree | a12a4b87b38f954c4de435272cf4b90d721df5e8 /dev-ruby/rb-gsl | |
parent | f45955e60d4da9b7f4a1088c98042f9c06669039 (diff) |
gentoo resync : 15.12.2017
Diffstat (limited to 'dev-ruby/rb-gsl')
-rw-r--r-- | dev-ruby/rb-gsl/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild | 5 | ||||
-rw-r--r-- | dev-ruby/rb-gsl/rb-gsl-2.1.0.2.ebuild | 47 |
3 files changed, 53 insertions, 3 deletions
diff --git a/dev-ruby/rb-gsl/Manifest b/dev-ruby/rb-gsl/Manifest index 9055296f3986..4a6e1487cac0 100644 --- a/dev-ruby/rb-gsl/Manifest +++ b/dev-ruby/rb-gsl/Manifest @@ -1,6 +1,8 @@ AUX rb-gsl-2.1.0.1-narray-superclass.patch 609 BLAKE2B 4cc4a41151dc3bacb056356021cb32acf94684a3057087d8da76d99ac22f88aadf5961a04be56e756a7079c2f0c4d38f10c78e1db2409d334fa601d48f59bbcf SHA512 2d98ca48f0db55126a49abd1dc42c5e5afdfeaa5a6029ee3f7478211f5bba03595626d485e109f6210be92a4da717ab8c0def2fa150b356e11a45c5f3ec24a2e 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 EBUILD rb-gsl-1.16.0.6.ebuild 1063 BLAKE2B e74a7f275d6f16dd7497d61bb52659771e4bb8b1560e5bd916ec454bd9a3735ffdea0d17482db150fecba8bce7ec8caaea14ae8836b707f0c66cda45e10e02b0 SHA512 6c0d80df657a11fc71857a46431f51209a7b920f34bddac485fc5c80c7dcd3e46d0cedb70892c24be5e0f79429f13f30da470db9780228e70c4e9fbad1a087c1 -EBUILD rb-gsl-2.1.0.1.ebuild 1154 BLAKE2B 352b85216f1228b88a053c5b2ef377f30b9aa4e3cd8674de80cb6cd56c747d835cd2ad8175f48f5935ab9f72ced8e4be0f9edd772554972cb9717f2f7fa49c5b SHA512 693507d4cc76c50d13bc98035c7b44d69dca2201d14de81e592c0cd1423e4de13fc63d38e499e7ae66dc9d5c9869d06422f5ac530df1affbdfb5a31f2b869cb9 +EBUILD rb-gsl-2.1.0.1.ebuild 1214 BLAKE2B 123306963f64c8a89a9789561e527f5aae145a89a9362e41351884bbe6ebba52c013a595d3d80d503fc9fe248389307fb247ba8d89ac7e7e1224f345fadce0e0 SHA512 38d144e88c466651be90f767b7e03ae56179173a25e01fabbc98cde721ccdf6b5f7de7c6ce04a7cc68c92eadff3a272dba81f0aaad1ccd276b9322aef4a00f04 +EBUILD rb-gsl-2.1.0.2.ebuild 1160 BLAKE2B 6036aac35b18fcaf6aab52b6d3ab36531ed4b5dde5570e2c84cf634cda50474e9a80f6e79670f01103fad18a61ed8b606dff2f07d9c08b21672cf64e9b081ff8 SHA512 1b4252ea5a3d096d4af8a97e88045ad37a133b68f0757a24a79bacbf75bf9c084ab8517831a1a0f3eeddd198dd31e8d991abbd51339f4a60d3034fc4cafbfa4b MISC metadata.xml 340 BLAKE2B 768b125254ab2e25701a50e2735aa8d25a128d27ef4dcec356206519f0f017d77b3ef8e75cd2a519d74ec1574404004ad09582a872493fcf9f740379eed4dc79 SHA512 1278dd12be4197ef7d217b0106af35cd983878c36362445d09b6a76a61e0d7d1d0a04a5c84c76eceda98a60055659c366698f7faabae7e5d1a4004a1eb7e93cf diff --git a/dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild b/dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild index 9a971a876899..9b2217b37572 100644 --- a/dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild +++ b/dev-ruby/rb-gsl/rb-gsl-2.1.0.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -USE_RUBY="ruby21 ruby22 ruby23" +USE_RUBY="ruby22 ruby23" RUBY_FAKEGEM_NAME="gsl" inherit ruby-fakegem multilib @@ -36,6 +36,7 @@ all_ruby_prepare() { 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() { 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 000000000000..cf1a14286ed6 --- /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 +} |