summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-18 12:47:06 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-18 12:47:06 +0000
commit5140b9fbaf3deefac695d050ce9cb314b0c2b5f4 (patch)
tree25f009fc56b4740867343acbc5deec16d8a2acf3 /dev-ruby/narray
parentVersion bump and old version cleanup (diff)
downloadhistorical-5140b9fbaf3deefac695d050ce9cb314b0c2b5f4.tar.gz
historical-5140b9fbaf3deefac695d050ce9cb314b0c2b5f4.tar.bz2
historical-5140b9fbaf3deefac695d050ce9cb314b0c2b5f4.zip
Version bump, using the latest non-gem sources, but using fakegem to make this appear as the latest gem available; now properly depend on Ruby (bug #320341), support Ruby 1.9, run at least a partial testsuite, install only the needed files. Also remove older unneeded versions.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/narray')
-rw-r--r--dev-ruby/narray/ChangeLog13
-rw-r--r--dev-ruby/narray/Manifest16
-rw-r--r--dev-ruby/narray/narray-0.5.7_p2.ebuild32
-rw-r--r--dev-ruby/narray/narray-0.5.9.ebuild24
-rw-r--r--dev-ruby/narray/narray-0.5.9_p7.ebuild64
5 files changed, 82 insertions, 67 deletions
diff --git a/dev-ruby/narray/ChangeLog b/dev-ruby/narray/ChangeLog
index b11aef4aefa0..bb17d15029ca 100644
--- a/dev-ruby/narray/ChangeLog
+++ b/dev-ruby/narray/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-ruby/narray
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/narray/ChangeLog,v 1.39 2009/12/20 13:43:04 graaff Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/narray/ChangeLog,v 1.40 2010/05/18 12:47:06 flameeyes Exp $
+
+*narray-0.5.9_p7 (18 May 2010)
+
+ 18 May 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ -narray-0.5.7_p2.ebuild, -narray-0.5.9.ebuild, +narray-0.5.9_p7.ebuild:
+ Version bump, using the latest non-gem sources, but using fakegem to make
+ this appear as the latest gem available; now properly depend on Ruby (bug
+ #320341), support Ruby 1.9, run at least a partial testsuite, install only
+ the needed files. Also remove older unneeded versions.
20 Dec 2009; Hans de Graaff <graaff@gentoo.org> narray-0.5.7_p2.ebuild,
narray-0.5.9.ebuild, narray-0.5.9_p6.ebuild:
diff --git a/dev-ruby/narray/Manifest b/dev-ruby/narray/Manifest
index 62e19743d6f7..eba4b6a7396d 100644
--- a/dev-ruby/narray/Manifest
+++ b/dev-ruby/narray/Manifest
@@ -1,18 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-DIST narray-0.5.7p2.tar.gz 67358 RMD160 9f8a5753be6bc42b7a597421bf679637a3525152 SHA1 484baacc134b0e27ce82614aa63800f7f7fce197 SHA256 f5d69af33d76838b5a0717d39af661e43ff897b16dd8af980a6fa8e23e9d492e
-DIST narray-0.5.9.tar.gz 67954 RMD160 9f5340d07debf24bbf27372127b26197d49eec0d SHA1 0c5439aaeeaeb531725e8ccd52106e2c71612e14 SHA256 300fbc023a97bfbe1e3b6745ed9e822288e1947cfc76c5c4dc27d41256d88a8d
DIST narray-0.5.9p6.tar.gz 65924 RMD160 163933cd5ef26288b399bcc00ebeb7d5686ddab5 SHA1 59456a113b3427f89c5d3c0554a83ee379a685ae SHA256 a37c552bfaeb4186241db06d8e4bfe15186bb6a53465d58512a101141f350e30
-EBUILD narray-0.5.7_p2.ebuild 783 RMD160 8c00533dc99f494ce9e0d2b6f9a01a356d9c3a1b SHA1 23d88e4881c62ee8363cd8b74789a62bccc96409 SHA256 48e553bdecad342c7c4d9562d3a64a1b83c6aff1d9f8797e69cbbc119f370d28
-EBUILD narray-0.5.9.ebuild 676 RMD160 d14a2e0288683a7f44e8b16296dd36e78422b8aa SHA1 ec890f8cd13be6bbcea5c1c4f4db63ec8d5c4163 SHA256 d3ffdb445256f6bcbb22ee0871f22cbfbeb73b4a40e0c70cfcbb57f680db0472
+DIST narray-0.5.9p7.tar.gz 66310 RMD160 00dd6645b04a907b454ac3a3f7c7676e3bed62ab SHA1 7de1aaf4235c17bc55fec79ef860ac5b1eabb9ba SHA256 81c0085376d71df14a175ddb3aa2363064a4dc5994a0ab865100416de6dbbf6b
EBUILD narray-0.5.9_p6.ebuild 694 RMD160 8127ebf288e172721453f47948083c27df044602 SHA1 f646a5d6d845cce9017e7db759ca8ff0debcedcc SHA256 f164dcf088fa8e8f355bd21e7e7db6613316e4ea6a2ab288e56dbbce8965b21d
-MISC ChangeLog 4220 RMD160 4f15f093c6ab02390433e5bc5da74d7e207936bb SHA1 077319bfbbb2ca1d1fac9d5320c7653492dff5c5 SHA256 819bb9c2dd9fbbc2490b3e6bd483e475c95f5c368bd28d6295ea6c37b8407620
+EBUILD narray-0.5.9_p7.ebuild 1586 RMD160 5d2128b9c4953b9ede56b499b718344edb4b8c78 SHA1 e5364a70fa65a1edc925524e67bb009d15743463 SHA256 a3a2052b29a020773e46fb2516410900f41b23ab5920ee155f22f3408f8cf888
+MISC ChangeLog 4672 RMD160 b3f876582bcb7e039b18314d5c85620424ed8af5 SHA1 8b0306141454fb951ae07fdc805394a66c3c3485 SHA256 bc58bb722955637bfbecb455803c517ad788aa4ef987041207035ebaee498934
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAksuKe0ACgkQeM7EJeUH71NFuwCfTnsd6/vdNMDojLpEZfNFvuti
-MqwAmwZj4yZM/dhQpfK5DxUkobGxsxn+
-=CdSz
+iEYEARECAAYFAkvyjEkACgkQAiZjviIA2XirtwCeMF7ZAVi+9shjRMXpFcPRKBL3
+RDAAoOpYwRp5FcDxrh1Q7kB/r+bbQ0t7
+=RM3s
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/narray/narray-0.5.7_p2.ebuild b/dev-ruby/narray/narray-0.5.7_p2.ebuild
deleted file mode 100644
index 8774e80734ff..000000000000
--- a/dev-ruby/narray/narray-0.5.7_p2.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/narray/narray-0.5.7_p2.ebuild,v 1.14 2009/12/20 13:43:04 graaff Exp $
-
-inherit ruby
-
-MY_P=${P/_/}
-
-DESCRIPTION="Numerical N-dimensional Array class"
-HOMEPAGE="http://www.ir.isas.ac.jp/~masa/ruby/index-e.html"
-SRC_URI="http://www.ir.isas.ac.jp/~masa/ruby/dist/${MY_P}.tar.gz"
-
-LICENSE="Ruby"
-SLOT="0"
-KEYWORDS="alpha hppa ia64 mips ppc sparc x86"
-
-IUSE=""
-USE_RUBY="ruby18"
-
-S="${WORKDIR}/${MY_P}"
-
-src_compile() {
- ruby extconf.rb || die
- emake || die
-}
-
-src_install() {
- local ARCHDIR=`ruby -r rbconfig -e 'print Config::CONFIG["archdir"]'`
- make DESTDIR="${D}" hdrdir=${ARCHDIR} install || die
-
- dodoc ChangeLog README.* SPEC.*
-}
diff --git a/dev-ruby/narray/narray-0.5.9.ebuild b/dev-ruby/narray/narray-0.5.9.ebuild
deleted file mode 100644
index ab942ae63dfb..000000000000
--- a/dev-ruby/narray/narray-0.5.9.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/narray/narray-0.5.9.ebuild,v 1.12 2009/12/20 13:43:04 graaff Exp $
-
-DESCRIPTION="Numerical N-dimensional Array class"
-HOMEPAGE="http://www.ir.isas.ac.jp/~masa/ruby/index-e.html"
-SRC_URI="http://rubyforge.org/frs/download.php/12235/${P}.tar.gz"
-
-LICENSE="Ruby"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-
-USE_RUBY="ruby18"
-IUSE=""
-
-src_compile() {
- ruby extconf.rb || die
- emake || die
-}
-
-src_install() {
- make exec_prefix=/usr DESTDIR="${D}" install || die
- dodoc ChangeLog README.* SPEC.*
-}
diff --git a/dev-ruby/narray/narray-0.5.9_p7.ebuild b/dev-ruby/narray/narray-0.5.9_p7.ebuild
new file mode 100644
index 000000000000..9cc280a3be03
--- /dev/null
+++ b/dev-ruby/narray/narray-0.5.9_p7.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/narray/narray-0.5.9_p7.ebuild,v 1.1 2010/05/18 12:47:06 flameeyes Exp $
+
+EAPI=2
+
+# jruby → native extension
+USE_RUBY="ruby18 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 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="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE=""
+
+S="${WORKDIR}/${P/_/}"
+
+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:^:#:' \
+ "${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}.so lib || die "copy of ${PN}.so 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
+}
+
+each_ruby_install() {
+ each_fakegem_install
+}
+
+all_ruby_install() {
+ all_fakegem_install
+}