summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-10-04 17:49:51 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-10-04 17:49:51 +0000
commitee384c1474b189f3a71bf12788eeab16da872bbf (patch)
tree70c029d110d7da6c5835349a920c0e35659cd172 /dev-ruby/narray
parentAdd ruby20 target. Cleanup old. (diff)
downloadhistorical-ee384c1474b189f3a71bf12788eeab16da872bbf.tar.gz
historical-ee384c1474b189f3a71bf12788eeab16da872bbf.tar.bz2
historical-ee384c1474b189f3a71bf12788eeab16da872bbf.zip
Add ruby20 target.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/narray')
-rw-r--r--dev-ruby/narray/ChangeLog7
-rw-r--r--dev-ruby/narray/Manifest13
-rw-r--r--dev-ruby/narray/narray-0.6.0.8-r1.ebuild57
3 files changed, 65 insertions, 12 deletions
diff --git a/dev-ruby/narray/ChangeLog b/dev-ruby/narray/ChangeLog
index 5608dce1e0c4..f5099942b9ff 100644
--- a/dev-ruby/narray/ChangeLog
+++ b/dev-ruby/narray/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/narray
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/narray/ChangeLog,v 1.59 2013/08/11 07:41:11 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/narray/ChangeLog,v 1.60 2013/10/04 17:49:47 mrueg Exp $
+
+*narray-0.6.0.8-r1 (04 Oct 2013)
+
+ 04 Oct 2013; Manuel Rüger <mrueg@gentoo.org> +narray-0.6.0.8-r1.ebuild:
+ Add ruby20 target.
11 Aug 2013; Hans de Graaff <graaff@gentoo.org> -narray-0.6.0.1.ebuild:
Cleanup.
diff --git a/dev-ruby/narray/Manifest b/dev-ruby/narray/Manifest
index bad2ee852ecf..bdbed652f8e6 100644
--- a/dev-ruby/narray/Manifest
+++ b/dev-ruby/narray/Manifest
@@ -1,17 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX narray-0.6.0.8-fix-tests.patch 1950 SHA256 ddab0fdf5e2d95e2d4df3e4b82872925e6dd1340c57511ae66b547f473cbd0fa SHA512 d8f0957a068dbc3f66bf950dcffeb418e7a0a2efb275b3e7a1d99f6477988ad2771aac02c44166d00664f8871370d83d5d45a63649088cfcdf42528b260d0fc6 WHIRLPOOL 535186b4375fd4f77ee0d4192c856ae0e7ded1d005b644b40a34c1e907fe39d85e52b67f8ee348197b4e330322837166b6be69d4958c5929b8405933b0a6c4c2
DIST narray-0.6.0.1.tar.gz 68383 SHA256 40444c50109437c1c1b88d4efbc9b54f489b0b5a479001aa5313a33972c3e299 SHA512 acd66328de2c3e9ca67d84518fac4ef741d4b160793604b86c75c580e7c9f390e50154ddbd1642b52cbd8d9f67c19280afc2e574874720cc3bc71f58672cd080 WHIRLPOOL 457981cb2bd4e781b76d3646bef6dbd6fe74d7039180aa6d68401b0e0814e741ca3b885cc569990e2b0c7fb437e6f4d131f0b1eec3b895893d1bb8346e5a969e
DIST narray-0.6.0.8.tar.gz 68519 SHA256 0e7ec5d8554ad273ef74b3513d297e60769373fd8b258cfb2afcdd7b8320d642 SHA512 a2f194c0baea7c561d1ef70554e6d568876dd7192506c1e5432bcaccabae03a3e842e73d9cbccd110ac8924d86d18c559109244e302a4ad8aaa3acf304dd4618 WHIRLPOOL 8f722ac74f66759521bf467db3d5266538ab99b959ccbaa1c53d3ef26dab365996d34b37e65c49c739b1b0fecaeb72b0974bd7db897b3132caf3a29600ff8573
EBUILD narray-0.6.0.1-r2.ebuild 1496 SHA256 cb66ff008325bc0d7b1f5be9b6d494750e83dc3fc692ff97f2421614bb85be6b SHA512 3a25c2287e109b1ea1f0edf32a5d46a784b92af58c44f9570d9844445b036782457707c0bf8ec505cd086389cd62f1a4bce26785ecfb345521789107f3811c9c WHIRLPOOL c85f17bb6b08b0a058bafc42d4f0e1a4b3dc77397e8accda0642e6e1b523a2835cf6fb7fc7c9de6c4f1cd0bd436f0da21e9df38831df0bd9f8da075038e0b44a
+EBUILD narray-0.6.0.8-r1.ebuild 1597 SHA256 b501a6b374d5e908f9ddf120567661718ff98bbe9efda959a535c405d2b083d9 SHA512 08baf0cd48be2bc0c837a5bd4a0ace94d594f94a5f32050e59766201976b25000bc3aec77551783e9663d88ecfae0ebf037c564da61da04fd17f5d1add51d85b WHIRLPOOL 508a7911f18e7f30adc139e1548b6b4004455273d43dc5052ac7331dc448d811388562cf6bb748dbb129637f71f397fefe15011e9c4fbc1b8b83ec39bf71233e
EBUILD narray-0.6.0.8.ebuild 1587 SHA256 a3427f6cfe242271c60d00d8623f9d6429c8f42df0b29b915dea9b81c048d3a5 SHA512 e8631d73776a792a7ab2456eb031d3a6329bd69a82849f08f9008a357353614a1e5847278ae8719fb23eadd8c5bee420e74e235e1036a7b463e1caee2758049a WHIRLPOOL 51c00b9f6fc47358a7c6c1768078d10768a7c6b48db51228786f4202188ade68c73ac0ce98ee998f41c3a4692812847eebbcfe1699c0d39427541bbc1cf81835
-MISC ChangeLog 7005 SHA256 600a933df642547f315b07a378f6db7403cc18b8a9491bab6b6a280325208282 SHA512 0265f1a7099fcf1fa66decc8982de76567f4d8363967000007be3e9a7507050ab718586a1375dfc991b66a770bce2b317c4d73c9b41d907ffaf4d2ddd1a80a59 WHIRLPOOL 405eebaf0ca1779b04ed6f9f7dbbb9507ffc087c0d4a399cde224d92dbb0133b162eea2cf02075be9681701d4dc1399d5a6250dacfd880a3157ebb15d7dc70b1
+MISC ChangeLog 7135 SHA256 59c2b6f65007429bd5ac68ba7c6d124e7a3569ed2a8a24a22e237942be08a706 SHA512 68eb1ba6cd58aee44ea9de7dc1e72c6e275394430dd84f778ce5ffb8e6e120a5a5b70207029f743966115e4b8e8dcb233b430f800c7eaca9968ee26bb37ef7d8 WHIRLPOOL e86e9f20d87abe1a0c76c56cf62e11c8aea39bdb17163c70319c02a617a6131bc6b7910c74e26815078b74d4c682af97dcf282bf5bfa63bb0aa9d29e637a1252
MISC metadata.xml 232 SHA256 10fa6042e32a73e2cd0ad776fe3a52bc2171caafd44c278d4b1bd1e43f200e1e SHA512 5d1d2c98e6d1f8cd4b90e6ea859919fcd551c2a7ccf7dfda55069f59da9470b4c4dac89195bab4c6e1c522c5c32041695e44bfc23ccf3a3d0d9d5b5c41599a0e WHIRLPOOL 43a13a3cf1c3bd846d2203ef45cad369db872c17f432b5c1d03cf10176b9342ef6296a8bb838b06a6f6e72a0bf21b6a5ee7262fd7745371c5cdb98c8aa83d72c
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
-
-iF4EAREIAAYFAlIHQBgACgkQiIP6VqMIqNf++QEAkfhx6vtCiAjdodXfzRLikWUG
-sZpDxfI/neGYt6iOkZEA/jIprAlLDS/oftviDyOM2ZJUM+biqYjlyLbW7M8H+rZ3
-=4N/I
------END PGP SIGNATURE-----
diff --git a/dev-ruby/narray/narray-0.6.0.8-r1.ebuild b/dev-ruby/narray/narray-0.6.0.8-r1.ebuild
new file mode 100644
index 000000000000..e2f90633cf7a
--- /dev/null
+++ b/dev-ruby/narray/narray-0.6.0.8-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/narray/narray-0.6.0.8-r1.ebuild,v 1.1 2013/10/04 17:49:47 mrueg Exp $
+
+EAPI=5
+
+# jruby → native extension
+USE_RUBY="ruby18 ruby19 ruby20"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="ChangeLog README.en README.ja SPEC.en SPEC.ja"
+
+RUBY_FAKEGEM_VERSION="${PV/_p/.}"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Numerical N-dimensional Array class"
+HOMEPAGE="http://www.ir.isas.ac.jp/~masa/ruby/index-e.html"
+SRC_URI="https://github.com/masa16/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~x86"
+
+IUSE=""
+
+RUBY_PATCHES=( "${FILESDIR}"/${P}-fix-tests.patch )
+
+all_ruby_prepare() {
+ # the tests aren't really written to be a testsuite, so the
+ # failure cases will literally fail; ignore all of those ad
+ # instead expect that the rest won't fail.
+ sed -i -e '/[fF]ollowing will fail/,$ s:^:#:' \
+ -e '/next will fail/,$ s:^:#:' \
+ test/*.rb || die "sed failed"
+}
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+ emake CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
+ cp -l ${PN}$(get_modname) ${PN}.h ${PN}_config.h lib/ || die "copy of ${PN}$(get_modname) failed"
+}
+
+each_ruby_test() {
+ for unit in test/*; do
+ # Skip over the FFTW test because it needs a package we don't
+ # have in tree.
+ [[ ${unit} == test/testfftw.rb ]] && continue
+
+ ${RUBY} -Ilib ${unit} || die "test ${unit} failed"
+ done
+}