summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-06-05 08:09:20 +0000
committerHans de Graaff <graaff@gentoo.org>2011-06-05 08:09:20 +0000
commitca1e6e008146ca6514407d5faf7c7ea1bc804825 (patch)
tree4c0d515f921c67c14774ec35098008a716acaa8f /dev-ruby/yard
parentRestrict mercury_cairo package to non-debug grades (diff)
downloadhistorical-ca1e6e008146ca6514407d5faf7c7ea1bc804825.tar.gz
historical-ca1e6e008146ca6514407d5faf7c7ea1bc804825.tar.bz2
historical-ca1e6e008146ca6514407d5faf7c7ea1bc804825.zip
Version bump. Add jruby support.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/yard')
-rw-r--r--dev-ruby/yard/ChangeLog7
-rw-r--r--dev-ruby/yard/Manifest10
-rw-r--r--dev-ruby/yard/yard-0.7.1.ebuild49
3 files changed, 61 insertions, 5 deletions
diff --git a/dev-ruby/yard/ChangeLog b/dev-ruby/yard/ChangeLog
index f65258e4f394..a142bf45347d 100644
--- a/dev-ruby/yard/ChangeLog
+++ b/dev-ruby/yard/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/yard
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/ChangeLog,v 1.16 2011/05/18 05:45:02 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/ChangeLog,v 1.17 2011/06/05 08:09:20 graaff Exp $
+
+*yard-0.7.1 (05 Jun 2011)
+
+ 05 Jun 2011; Hans de Graaff <graaff@gentoo.org> +yard-0.7.1.ebuild:
+ Version bump. Add jruby support.
18 May 2011; Hans de Graaff <graaff@gentoo.org> -yard-0.6.1.ebuild,
-yard-0.6.4.ebuild, -yard-0.6.5.ebuild:
diff --git a/dev-ruby/yard/Manifest b/dev-ruby/yard/Manifest
index 94f9813d77e6..4f26bafa9f1e 100644
--- a/dev-ruby/yard/Manifest
+++ b/dev-ruby/yard/Manifest
@@ -4,13 +4,15 @@ Hash: SHA256
AUX yard-0.6.4-config-file-feature.patch 879 RMD160 e4b88bab1d8118b0bbf1ef0adffae8ba54fc7da9 SHA1 33fbf9f50a54e09fccb20a239aeb2bb43a609ae5 SHA256 549d2a205730c6938a75a86a663a76abb38310e67d1d5ee598ce736aca26ca0e
AUX yard-0.6.4-yaml.patch 845 RMD160 2c3804af2a70b03c009a1ba10e04ad96aa4aa9fc SHA1 f79406b377715b954c3588dc8fb2cddd687526a2 SHA256 42342cfbec0daf36e7b6e370456d69f6b4d78135e301ccdd31fd1a4c813b1475
DIST yard-0.6.8.gem 662528 RMD160 100c2a9e5a3a9ebd29e856bdfcb54b260b2656b9 SHA1 99317e3f954911e3cf60bdec47320ab960b99c7a SHA256 136b2a87ad839caef11ccc767e071233c763ad8ad85b4071ba4711910de0c6b8
+DIST yard-0.7.1.gem 705024 RMD160 5791006a3f8edf1011af9c77c4412c0e5e9288d7 SHA1 21c4cb8ab189457d32ae90a056883f0c95aa1c20 SHA256 3022f5177b7c25871168a953480ef3ff8cc7cc8c0e7ab709d751aeac941fa653
EBUILD yard-0.6.8.ebuild 876 RMD160 a79028f7fb690f9a06f06c9064740a873d05d31c SHA1 1b7a56d7693b9cd5d92f702a7b02271f80808bbe SHA256 c7702b80e35e7aff7e2cd6edf147896164ed71b6c6eb8326d4435d07f0f41d82
-MISC ChangeLog 2271 RMD160 8f28d2fc8095fda07e382fd164ce8cb732c8f87a SHA1 0b81edfb9a506bc0f06773d2eccdff1ab4e6bed4 SHA256 412e66d43a58dec770dccce0463f210d0ef3eb2c49068d5ac4b57f06b71d4e6d
+EBUILD yard-0.7.1.ebuild 1378 RMD160 db2753dee5e61034300132246b696713f2ab9aa2 SHA1 382d9ae4d1c6a4912204586129b6ce01eaef45b4 SHA256 1104a6505dd10072f7f5ce67b303373157aee60b0471e51bd167fed1016a8c3e
+MISC ChangeLog 2404 RMD160 63ff7d31a218069962d6677f6cf115d9cf0fd3c4 SHA1 2b58db226b59bde67eb68bd67333e7a284aa739d SHA256 b3b89371a8e837087f1de9562ea9782fc9c9389ad25f35a320198e382d74830b
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk3TXOwACgkQrnu0mw69JkrA3AD+Mc9Z7gOQUrmQeNf0vQwW9fJg
-b5SSwQd732MKAu5/ipoA/1pBFqmtprhFhx+UWECo9tVdXwq5n3Oofuxulmnsgsd9
-=E5Ck
+iF4EAREIAAYFAk3rOcEACgkQrnu0mw69JkrvNQD+KgpX5BPNLvA0CdNK8QQVt9vt
+kjviSN0cYpLFWJfaPBcBAIeKm1DuTykOPu79ptlaCi8CZ+U8MSQv2R71c2Jg1cQ3
+=ujWN
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/yard/yard-0.7.1.ebuild b/dev-ruby/yard/yard-0.7.1.ebuild
new file mode 100644
index 000000000000..227037f03e04
--- /dev/null
+++ b/dev-ruby/yard/yard-0.7.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/yard-0.7.1.ebuild,v 1.1 2011/06/05 08:09:20 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ree18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_TEST="specs"
+RUBY_FAKEGEM_TASK_DOC="yard"
+
+RUBY_FAKEGEM_EXTRADOC="README.md ChangeLog"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_EXTRAINSTALL="templates"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Documentation generation tool for the Ruby programming language"
+HOMEPAGE="http://yardoc.org/"
+
+LICENSE="as-is" # truly
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "doc? ( || ( dev-ruby/bluecloth dev-ruby/maruku dev-ruby/rdiscount dev-ruby/kramdown ) )"
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
+
+all_ruby_prepare() {
+ # Patch out a spec that depends on a specific LANG setting.
+ sed -i -e '41s/RUBY18/false/' spec/templates/helpers/html_helper_spec.rb || die
+}
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *jruby)
+ # Work around what appears to be a rubygems incompatibility where
+ # requireing rubygems triggers expectations set by rspec. Not
+ # reported upstream yet.
+ rm spec/cli/diff_spec.rb || die
+
+ # This spec requires rdiscount which is a C extension.
+ sed -i -e '122s/should/should_not/' spec/templates/helpers/html_helper_spec.rb || die
+ ;;
+ *)
+ ;;
+ esac
+}