summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-04-28 17:08:46 +0000
committerHans de Graaff <graaff@gentoo.org>2011-04-28 17:08:46 +0000
commit25302e15a5372afe3892937ab8014c7b72ced39a (patch)
tree1715e8e59521fcb792d2ed7570c6a3752bbb63af /dev-ruby
parentppc64 stable wrt #353436 (diff)
downloadhistorical-25302e15a5372afe3892937ab8014c7b72ced39a.tar.gz
historical-25302e15a5372afe3892937ab8014c7b72ced39a.tar.bz2
historical-25302e15a5372afe3892937ab8014c7b72ced39a.zip
Version bump. Run specs for jruby.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rake-compiler/ChangeLog8
-rw-r--r--dev-ruby/rake-compiler/Manifest14
-rw-r--r--dev-ruby/rake-compiler/rake-compiler-0.7.8.ebuild61
3 files changed, 76 insertions, 7 deletions
diff --git a/dev-ruby/rake-compiler/ChangeLog b/dev-ruby/rake-compiler/ChangeLog
index 63e58ea8d3e8..c288243c5f84 100644
--- a/dev-ruby/rake-compiler/ChangeLog
+++ b/dev-ruby/rake-compiler/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/rake-compiler
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v 1.37 2011/04/16 17:40:42 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v 1.38 2011/04/28 17:08:46 graaff Exp $
+
+*rake-compiler-0.7.8 (28 Apr 2011)
+
+ 28 Apr 2011; Hans de Graaff <graaff@gentoo.org>
+ +rake-compiler-0.7.8.ebuild:
+ Version bump. Run specs for jruby.
16 Apr 2011; Raúl Porcel <armin76@gentoo.org> rake-compiler-0.7.5.ebuild:
ia64 stable wrt #357489
diff --git a/dev-ruby/rake-compiler/Manifest b/dev-ruby/rake-compiler/Manifest
index 4cda7702693f..00d660bbcad3 100644
--- a/dev-ruby/rake-compiler/Manifest
+++ b/dev-ruby/rake-compiler/Manifest
@@ -1,19 +1,21 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX rake-compiler-0.7.0+ruby-1.8.7.patch 870 RMD160 01c4cd1e7a77ab815c69bee32cdbaa2cb939fa23 SHA1 b453e8d2b20164b4f1581d55f702600454e4a99f SHA256 63b860c972f4c6c5a61ad9b2901d1cf7f3dd034e8f3b4116864496ae1fe24fd5
DIST rake-compiler-0.7.5.tar.gz 26361 RMD160 0cde003dce4a88d13b92c89f4cdac2dab87f9c20 SHA1 76d5a088f56ad6852ca24570ec6ba519a8487193 SHA256 3d88450d8b52353ed706dd0e208463980b5109b10f507e64667f0868693fc757
DIST rake-compiler-0.7.6.tar.gz 27269 RMD160 8bdba70e80d970a23a74e8b2227a177b928f0ef6 SHA1 46985ece57fbc021cab2f06c08f4f578b928deec SHA256 e4c20a2871b178eafff1650fc46cf38512bc266f7155ee886428d521a6dacb98
DIST rake-compiler-0.7.7.tar.gz 27432 RMD160 53e83faecfef98be40c0e433ed466c29deef61c1 SHA1 b000daf4643fc615e2303108c51a4a3df863c79c SHA256 9d7293e39def2c597527d95f3d70a63427d2a4e6acc421d0fbdc7f660207272d
+DIST rake-compiler-0.7.8.tar.gz 28140 RMD160 be67ad8589351fcc5cd63ad7e99609048a574c9d SHA1 fc69e3da5b4a03a2ef49fd931e629cd971ff689b SHA256 7a823a9b688f6128e7a5a36c34d40b3cb6ea38f03b6ff78fb330b201d729633a
EBUILD rake-compiler-0.7.5.ebuild 1118 RMD160 dff0c952070db1a9960ce2138dcac4fec80f58b7 SHA1 294866a5c29b98246d216fec06e0aee82b596508 SHA256 cb348a47d4ca051c1d36aa3692ea627e924b821acc899233fd86d0dd7da18c92
EBUILD rake-compiler-0.7.6.ebuild 1606 RMD160 c7ffa58d13efe4e21cc7c46cc03182235583aa72 SHA1 a73bdf22f08953d700a8ca97bbbf78b872236672 SHA256 e4774075bc0f0246e54b1fb03d266c0742835033694210cabb2e1107a2b9eaf8
EBUILD rake-compiler-0.7.7.ebuild 1606 RMD160 145655d966cde96f49ec8539152c8b2223591b07 SHA1 bcd3d0c62f2ad5fc3f32f6087a42deea0bb4f408 SHA256 39c23252a98737c7d17f7b3b7ceb3de2673f8e8a5b0756b975ce31e9e9bca707
-MISC ChangeLog 5057 RMD160 dedaf7043a6fc80cd50cb3b111f11882f0b79abb SHA1 03dd8bdb56e4a6a06c2ccda95d951477878dc312 SHA256 e73213254ac5173a2ccda7650effd822ab86adcc6cea5514e6a14eea3374fd47
+EBUILD rake-compiler-0.7.8.ebuild 1802 RMD160 a11dede865f0668723f4806ec516d2554d5a6af3 SHA1 1e0ab545a52ac472d14b670231f8bd41f774231f SHA256 79b50326948ca44480f4224e4bb40fcf7ef3b252ecf91c2929d1ff8c1c7c1d03
+MISC ChangeLog 5211 RMD160 538e74f9a3b77e9a1e4cc40a710437749005b34c SHA1 b07f9dfd23dab25471d206ff75f301a6ce8adb3d SHA256 1cf5ffb27a1ebd2fa361fb3f7ee64670703e485fd4ab167e9200cbcb7765bc90
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk2p1KAACgkQuQc30/atMkBJlgCdEk+M0bi/3hIaBvGLimy+k+1I
-jGIAn3Z8u+pV+GAGJpH/AGqWBPDPaM/E
-=K79S
+iF4EAREIAAYFAk25nykACgkQrnu0mw69JkonyQEAkriAzQ7AWYcPwEQ5GmhNglF+
+LwirIRKfDLHNtp9V6MAA+QHUOHHJGESSwFC3JmI4k9Vnz3xuWetgPoELKW4AFdlx
+=vfXw
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rake-compiler/rake-compiler-0.7.8.ebuild b/dev-ruby/rake-compiler/rake-compiler-0.7.8.ebuild
new file mode 100644
index 000000000000..9891465bb013
--- /dev/null
+++ b/dev-ruby/rake-compiler/rake-compiler-0.7.8.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.7.8.ebuild,v 1.1 2011/04/28 17:08:46 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18 ruby19 jruby"
+
+# Tests for now seem only to work when rubygems is fully installed for
+# the implementation and that for now only means Ruby 1.8
+RUBY_FAKEGEM_TASK_TEST="-f tasks/rspec.rake -f tasks/cucumber.rake spec cucumber"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="Provide a standard and simplified way to build and package Ruby extensions"
+HOMEPAGE="http://github.com/luislavena/rake-compiler"
+LICENSE="as-is" # truly
+
+SRC_URI="http://github.com/luislavena/${PN}/tarball/v${PV} -> ${P}.tar.gz"
+S="${WORKDIR}/luislavena-${PN}-*"
+
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+SLOT="0"
+IUSE=""
+
+USE_RUBY=ruby18 \
+ ruby_add_bdepend "test? ( dev-util/cucumber )"
+
+ruby_add_bdepend "test? ( dev-ruby/rspec:0 dev-ruby/rubygems )"
+ruby_add_rdepend "dev-ruby/rake"
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *ruby19|*jruby)
+ # Remove this task so that it won't load on Ruby 1.9 and JRuby
+ # that lack the package_task file. It is, though, needed for the
+ # tests
+ rm tasks/gem.rake || die
+ # Remove specs aimed at a C-compiling ruby implementation.
+ rm spec/lib/rake/extensiontask_spec.rb || die
+ ;;
+ *)
+ ;;
+ esac
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *ruby19)
+ ewarn "Tests disabled for this implementation. Long story, check ebuild if you want."
+ ;;
+ *jruby)
+ ${RUBY} -S spec spec || die "Tests failed."
+ ;;
+ *)
+ each_fakegem_test
+ ;;
+ esac
+}