summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-06-09 07:50:49 +0000
committerHans de Graaff <graaff@gentoo.org>2012-06-09 07:50:49 +0000
commit1d6b4a13edc7c13ea4225d64c780990d23a68886 (patch)
treec0e215a7fdf5352e640d0117b2d9014f8db05963 /dev-ruby/narray
parentFix building for x32 targets #420239 by Xavier Miller. (diff)
downloadhistorical-1d6b4a13edc7c13ea4225d64c780990d23a68886.tar.gz
historical-1d6b4a13edc7c13ea4225d64c780990d23a68886.tar.bz2
historical-1d6b4a13edc7c13ea4225d64c780990d23a68886.zip
Revision bump to also install the header files for the compiled extension, bug 420319.
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/narray')
-rw-r--r--dev-ruby/narray/ChangeLog8
-rw-r--r--dev-ruby/narray/Manifest13
-rw-r--r--dev-ruby/narray/narray-0.6.0.1-r2.ebuild54
3 files changed, 68 insertions, 7 deletions
diff --git a/dev-ruby/narray/ChangeLog b/dev-ruby/narray/ChangeLog
index f2019a8fe788..33a9b3320ba7 100644
--- a/dev-ruby/narray/ChangeLog
+++ b/dev-ruby/narray/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/narray
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/narray/ChangeLog,v 1.50 2012/02/06 19:18:53 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/narray/ChangeLog,v 1.51 2012/06/09 07:50:49 graaff Exp $
+
+*narray-0.6.0.1-r2 (09 Jun 2012)
+
+ 09 Jun 2012; Hans de Graaff <graaff@gentoo.org> +narray-0.6.0.1-r2.ebuild:
+ Revision bump to also install the header files for the compiled extension,
+ bug 420319.
06 Feb 2012; Brent Baude <ranger@gentoo.org> narray-0.6.0.1.ebuild:
Marking narray-0.6.0.1 ppc for bug 386135
diff --git a/dev-ruby/narray/Manifest b/dev-ruby/narray/Manifest
index 3e426f0f9366..41bc4a7cb208 100644
--- a/dev-ruby/narray/Manifest
+++ b/dev-ruby/narray/Manifest
@@ -1,17 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST narray-0.5.9p6.tar.gz 65924 RMD160 163933cd5ef26288b399bcc00ebeb7d5686ddab5 SHA1 59456a113b3427f89c5d3c0554a83ee379a685ae SHA256 a37c552bfaeb4186241db06d8e4bfe15186bb6a53465d58512a101141f350e30
DIST narray-0.6.0.1.tar.gz 68383 RMD160 ac1e27c753f8061f83843935f75bf03a3365a1a6 SHA1 c882fa6098b353b2679ac7e5a402911b54a2a7c5 SHA256 40444c50109437c1c1b88d4efbc9b54f489b0b5a479001aa5313a33972c3e299
EBUILD narray-0.5.9_p6.ebuild 679 RMD160 15a01d2d511f960d8b8d31c822106eb6559e993a SHA1 3377607840375845dd25d2b0f5b39699bb02134d SHA256 e485bbcbd3bc37f0a4af16d2ed46c87605964b713c4b6792e39ede2ee1ca6ef4
EBUILD narray-0.6.0.1-r1.ebuild 1479 RMD160 ab20dfdc91f5032dd42941609d0c2327ca19ac99 SHA1 f5babcf7bb4c66ca1db314e3ede15c5eeefd8df7 SHA256 95ef38868186196d077e3e7622052e670f264c95ca6b545267b5ebf9a1a405a1
+EBUILD narray-0.6.0.1-r2.ebuild 1503 RMD160 f615939bcc90c9baa59bc1e0d12759f4cfc0cdff SHA1 cb3097aa98b46baf8300e7114a5afbd0957681ef SHA256 50f16990667b08fef076910f329acf31b4eb7942950e4758a5193771507a7447
EBUILD narray-0.6.0.1.ebuild 1465 RMD160 0d7640a540c0dcdf4995100abef68c179f16ddbb SHA1 6eea207b9d366112f63b1995fadaade1fa8a7c35 SHA256 4ef3527d9921b383eb2d5879f57d78add9d975c5b7b1a26c07310ddbd91b1338
-MISC ChangeLog 5916 RMD160 ee31a02cea812ca97b16a5f8c6bd9b5ddf478e21 SHA1 2187d9d7f2858a942a4d934bf00efefc98cad2a6 SHA256 43a088b93d9bfb777d1d587bb6322309b031707d7da34ab48ba2c53e61c7294f
+MISC ChangeLog 6119 RMD160 734468095f10c4e941c7a95de68e17cec8a9703f SHA1 b900a821dff0c10888dc2d4c04e9ca051178dc89 SHA256 009a37cd329089031a1eb590a297016586f33e057395a0dc64d46309c7345bcf
MISC metadata.xml 232 RMD160 cde8a9b21c0ce1178ca3b306ec43c05aada9bcde SHA1 c686d3f4f5e2b733e8a8c077e89c3fdb9442e58a SHA256 10fa6042e32a73e2cd0ad776fe3a52bc2171caafd44c278d4b1bd1e43f200e1e
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk93TWoACgkQ/ejvha5XGaPpWwCgoAWCAJDmW/QBXto5nOMMcb5m
-5pUAn17g+DRJMUWdJZuoKoWLhYBYKT7E
-=Eg3V
+iF4EAREIAAYFAk/TAF4ACgkQiIP6VqMIqNcZTgD/VjuS/N+6kNGtzmrPcvCb0HhI
+g8nVD8x4e4aPvndo84UA/RMVGsYDoLX3fytSoZSDIto+0EpjjquyBiAto4YLx07g
+=6MB4
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/narray/narray-0.6.0.1-r2.ebuild b/dev-ruby/narray/narray-0.6.0.1-r2.ebuild
new file mode 100644
index 000000000000..a32256c8f38d
--- /dev/null
+++ b/dev-ruby/narray/narray-0.6.0.1-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 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.1-r2.ebuild,v 1.1 2012/06/09 07:50:49 graaff Exp $
+
+EAPI=4
+
+# jruby → native extension
+USE_RUBY="ruby18 ree18 ruby19"
+
+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="mirror://rubyforge/${PN}/${P/_/}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~x86"
+
+IUSE=""
+
+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:^:#:' \
+ test/*.rb || die "sed failed"
+}
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+ emake CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" || die "emake failed"
+ 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
+}