summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-07-07 08:09:53 +0000
committerHans de Graaff <graaff@gentoo.org>2013-07-07 08:09:53 +0000
commitec49c3d4e19b9e55138e12b676b576cba6bc937f (patch)
treed4c15cab6e5e686509831e1c25fe860e696f94e6 /dev-ruby/rdoc
parentVersion bump. First ruby 2.0.x ebuild. Our Gentoo RUBY_TARGET for this is rub... (diff)
downloadhistorical-ec49c3d4e19b9e55138e12b676b576cba6bc937f.tar.gz
historical-ec49c3d4e19b9e55138e12b676b576cba6bc937f.tar.bz2
historical-ec49c3d4e19b9e55138e12b676b576cba6bc937f.zip
Add ruby20 support.
Package-Manager: portage-2.1.12.2/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/rdoc')
-rw-r--r--dev-ruby/rdoc/ChangeLog5
-rw-r--r--dev-ruby/rdoc/Manifest12
-rw-r--r--dev-ruby/rdoc/rdoc-4.0.1.ebuild23
3 files changed, 26 insertions, 14 deletions
diff --git a/dev-ruby/rdoc/ChangeLog b/dev-ruby/rdoc/ChangeLog
index 2f921e4771f2..a67b1732c83d 100644
--- a/dev-ruby/rdoc/ChangeLog
+++ b/dev-ruby/rdoc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/rdoc
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.112 2013/06/03 19:29:12 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.113 2013/07/07 08:09:52 graaff Exp $
+
+ 07 Jul 2013; Hans de Graaff <graaff@gentoo.org> rdoc-4.0.1.ebuild:
+ Add ruby20 support.
*rdoc-4.0.1 (03 Jun 2013)
diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest
index 8fe74e00e4c1..66c6aaf3f32a 100644
--- a/dev-ruby/rdoc/Manifest
+++ b/dev-ruby/rdoc/Manifest
@@ -9,13 +9,13 @@ DIST rdoc-3.12.2.gem 326144 SHA256 a8e2b78f7e5ec4cc4716cd863975645f2f2377dc6db26
DIST rdoc-4.0.1.gem 467456 SHA256 b712d56c266a8568362bbebcdc385b102b1494ceea099161c71e02f420d716ba SHA512 11cf6e1700598bd7c414f3ed9d7b75f73bf0f053eb2754d2652bb628e6e47c171646fb420d7b7ee4b589da43fb4b638bc9a2b151ec348c0a20ebaf10f58438c9 WHIRLPOOL 471cd451fd4bc947ad4a29802d66182a21079d444963bb3006fb065175285c71351bfb75c1aaf3d5778e5554c9b5562281037ec38df1c0b159e60dfa368016fd
EBUILD rdoc-3.12.1.ebuild 2533 SHA256 e14443c5087ceac17a949a67d77bf1d04ca4aaf096a0e4cdb0c06ee23dec08df SHA512 a658118dcb72780cfcc5da6cf5721295765deae4481ace19e8da54ddd1d433ab89b13a8f67194149ae08f24eee48c1ad31fc9da8f9ef9e72f1a9c40b8b72c881 WHIRLPOOL d04c2cea964893defb403c91120b65bab09dfb62d6c2785f0e501955432e6452d396e96dc7797c1ec434de781f48f9e7fc46deb3698b78bbd4e846ffc772e569
EBUILD rdoc-3.12.2.ebuild 2527 SHA256 ceef783c30d2e5f860fac17c1e9880d5c4096745eaf9c093060ea98e95e4b805 SHA512 4c29075ccf44df930519077baa5fb503a55f2c90292364115fd316d802e7ced78e7b95dea8ecbd39ed7add7448fb125b620f103052452a2a40a162a8593f9260 WHIRLPOOL f20b62064ec8489b012b3f2996ed6eddf64b9a0186509e6d6657e62fd5d7eb2b847724e5a4cee5d70ec8839c26a393b3fba85b71c4b9423e8d4752a7fb0bdd5c
-EBUILD rdoc-4.0.1.ebuild 2605 SHA256 ec7c93592620a7271bd1eec160f35820adef6b0d1de9420fafd719bf434c8854 SHA512 c4c3d19d87c4aa064b8905becb655364bdc97e693f96038853c8adadebafadb4bf1df91fa6445222be18c270fa88fa54d472af4ca287d53f84b835f0c065436b WHIRLPOOL 5e9f576b1293cbe8140ca4f03ba829deb03aec73b946d02365282182b0a4602cd5a994bc32b5392bd4c44e5f5eef8a9bc48fd0430373ac5287acd90bf5774a3e
-MISC ChangeLog 11724 SHA256 af4e0e8e99329640ab9f92fa506dbadbed9aaff7db963fe02613334bd5431649 SHA512 644cdf59b74c551ab33e200eaebfbf194d5badd445e4380a1577eb45cdad9eb37c629a9fb1b6cefdb144469391e36f550ef50c89bc5fd9286e82e6d7baedbbe2 WHIRLPOOL c0f8ef4f9b4d67a9163ce54b0315931aa7e385a7003bb7b75789e9d31e08331f8aaa22598dbf6527b1df01fe6ed07edf23d2bf82168b4b5a3107890babea85b7
+EBUILD rdoc-4.0.1.ebuild 2727 SHA256 adc0d177185da8ed34c5ccb301da19c04e86e2fd94140fccc36920ed87423477 SHA512 7f3d526bc7a4797f727f75e7e7760aa5c658560b3aec95d9e09d74ccce8ca76d516658e7c9598093e47ea661283ba52a026c18e603409881f1e97ede34bc6bb7 WHIRLPOOL e6269432ce0cdfc73b5749e164f2b101268f3c3de93ddf441fa4c389d24d25950592d9c252b30d50aaa20970a40af2c4bdfd6726415e742131350408097bd339
+MISC ChangeLog 11816 SHA256 e0c1317c6f6b1bfebe04a7881b0967fcf1aca71a4751ee6b383a204d348b0444 SHA512 ba4c64dc178c4c76002501d4a2f6f1818dc49d7cc34256e1879620838fb3e7e0434725229cca2b9cf238471b8a54b7f5c8de3ca3e1b0a5a97685e0bcdc18030d WHIRLPOOL 2901441dd5a958ec39de64d34c4b3e2a0e9ffe29ae64dba8479e0dc64fe67deaa865895a6dbdb60b6237e949777796955155fd379fc25238ae05df7eff182feb
MISC metadata.xml 230 SHA256 a04255553b410ad36340c3a47e4f30304c388b503b27c07c3e6f9bbdc9dbbd54 SHA512 c1c7fd9d06fc087b6bca6119547401ab5c9a752ce6a3981ab8a3531033332bdf4a176cfe455f130c3157f0a9757ab5250cc99bf600151e83f09c201c1a1b4e46 WHIRLPOOL f1aa7788f09e4d730668da22d38c1ccbfb8f72cd601d66c53ca3ca5af779c01578232332d37ffe74fa6529426e5d7517e2612bcc83d46133aea00b86db2f2ad7
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iF4EAREIAAYFAlGs7okACgkQiIP6VqMIqNff5QD+K71Lqff1kyihXfJReGMLqiEc
-b17dch1jpPwGW+Y/SN0BAJUGPW/W0JeeWfls/hyHXWXbgLswN9z12TgwQUewsMrg
-=C7hD
+iF4EAREIAAYFAlHZIlEACgkQiIP6VqMIqNdfnAD/Q/OhKq/nSsDpjpjgFiTvq2TE
+1FLCKmxLYCnACS7HPPYA/2M5nBfSbxvW8QttSmAeyXEq1S4dzKYYmvddJB0fk92d
+=8uFd
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rdoc/rdoc-4.0.1.ebuild b/dev-ruby/rdoc/rdoc-4.0.1.ebuild
index c1ba6af8057a..f63949595552 100644
--- a/dev-ruby/rdoc/rdoc-4.0.1.ebuild
+++ b/dev-ruby/rdoc/rdoc-4.0.1.ebuild
@@ -1,12 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/rdoc-4.0.1.ebuild,v 1.1 2013/06/03 19:29:12 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/rdoc-4.0.1.ebuild,v 1.2 2013/07/07 08:09:52 graaff Exp $
EAPI=5
-USE_RUBY="ruby18 ruby19 jruby"
-
-RUBY_FAKEGEM_TASK_DOC="docs"
+USE_RUBY="ruby18 ruby19 ruby20 jruby"
+RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc"
@@ -24,10 +23,8 @@ IUSE=""
ruby_add_bdepend "
dev-ruby/racc
- doc? ( >=dev-ruby/hoe-2.7.0 )
test? (
- >=dev-ruby/hoe-2.7.0
- dev-ruby/minitest
+ virtual/ruby-minitest
)"
ruby_add_rdepend "=dev-ruby/json-1* >=dev-ruby/json-1.4"
@@ -64,6 +61,14 @@ all_ruby_prepare() {
sed -i -e '/:generate/d' Rakefile || die
}
+all_ruby_compile() {
+ all_fakegem_compile
+
+ if use doc ; then
+ ruby -Ilib -S bin/rdoc || die
+ fi
+}
+
each_ruby_compile() {
# Generate the file inline here since the Rakefile confuses jruby
# into a circular dependency.
@@ -72,6 +77,10 @@ each_ruby_compile() {
done
}
+each_ruby_test() {
+ ${RUBY} -Ilib -S testrb test/test_*.rb || die
+}
+
all_ruby_install() {
all_fakegem_install