summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-08-08 18:24:48 +0000
committerHans de Graaff <graaff@gentoo.org>2012-08-08 18:24:48 +0000
commit97c1d5c0d14fc137092b06b9f8c16f684c63ede6 (patch)
tree2cf0c722e5566e8e0cc17fc9a8cd8b5ee1e7df82 /dev-ruby/yard
parentChanging maintainer (diff)
downloadhistorical-97c1d5c0d14fc137092b06b9f8c16f684c63ede6.tar.gz
historical-97c1d5c0d14fc137092b06b9f8c16f684c63ede6.tar.bz2
historical-97c1d5c0d14fc137092b06b9f8c16f684c63ede6.zip
Version bump. Switch to github tarball to make tests pass.
Package-Manager: portage-2.1.10.65/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/yard')
-rw-r--r--dev-ruby/yard/ChangeLog8
-rw-r--r--dev-ruby/yard/Manifest15
-rw-r--r--dev-ruby/yard/files/yard-0.8.2.1-test-failures.patch21
-rw-r--r--dev-ruby/yard/yard-0.8.2.1.ebuild45
4 files changed, 87 insertions, 2 deletions
diff --git a/dev-ruby/yard/ChangeLog b/dev-ruby/yard/ChangeLog
index a7e9bb158490..24357ff3a6b5 100644
--- a/dev-ruby/yard/ChangeLog
+++ b/dev-ruby/yard/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/yard
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/ChangeLog,v 1.29 2012/05/12 09:45:43 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/ChangeLog,v 1.30 2012/08/08 18:24:48 graaff Exp $
+
+*yard-0.8.2.1 (08 Aug 2012)
+
+ 08 Aug 2012; Hans de Graaff <graaff@gentoo.org> +yard-0.8.2.1.ebuild,
+ +files/yard-0.8.2.1-test-failures.patch:
+ Version bump. Switch to github tarball to make tests pass.
*yard-0.8.1 (12 May 2012)
diff --git a/dev-ruby/yard/Manifest b/dev-ruby/yard/Manifest
index 6d6e1d971331..5e022bbbfaea 100644
--- a/dev-ruby/yard/Manifest
+++ b/dev-ruby/yard/Manifest
@@ -1,10 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX yard-0.6.4-config-file-feature.patch 879 SHA256 549d2a205730c6938a75a86a663a76abb38310e67d1d5ee598ce736aca26ca0e SHA512 752d6c41bb6622b0c43f54601a1c20ea3bab5aeb160fb7fa75339693bac6251853d1fbe60ee06b08a8cb833973c799948a62b3d2ae029e1ac86e53d3f34511b4 WHIRLPOOL f84b2065fa2fecef759f8a73c38b1306d7d763105814f7fb44d718eb34c528e0c8afeac672c61098c16b5fb7ee81f0602ba81ac47eb595c98563c2293627e977
AUX yard-0.6.4-yaml.patch 845 SHA256 42342cfbec0daf36e7b6e370456d69f6b4d78135e301ccdd31fd1a4c813b1475 SHA512 fe7583f97042d1de59c0d55e578c642076eecdcdd43a727f100f2d0b3e494a0379ceab23b9136ebfed7a15dad64490e52e5428f494348300f8c80ae15b1c8737 WHIRLPOOL 443c093b2c35b1ee738fbd9f689a2721fa38699ef2a0c9a5625eda6e77baf5880bd644014be519fc4f15abecffb01396c69aa84ebb35c8d768e2cfc7b59dc631
+AUX yard-0.8.2.1-test-failures.patch 860 SHA256 4c4f1bb5d41c41927d7c805f28d15dd41f6307f5efd79512c0f32483d567074f SHA512 fbbe55ebf327e9bff95bc9ef01c4fe5975278bf3bd21d334b1d5dd9d534e6d61866dd7b184d04751cdf6ff776f4a8ce40be4b9ebfad51f3f10f3eed138b5e58f WHIRLPOOL 37dd5502c7c183564b68d1a9acb863be10e70ef99716a93102c9284866ae70418f958fd34ee259f82e98d03e78c35756e6250e0e2d8712a22f11f946974ce78b
DIST yard-0.7.4.gem 716288 SHA256 9fa4b205990011a0844493af13aa48db527b02c6e43d3fca1f86c8826bf78e5c SHA512 e66e21dd4b28d55d548daf71290c6efb625ec79fc35fedf318dc77516b2e3f8aa97cadf012b124fd63c59313634a26f67c62e7471d3b6f6552573f89682a811d WHIRLPOOL f7af9846ae321d8f807d9b8523d4e163777dbd74b06911ddc3f66c561f70e7eba503cb1167e66b021f3cb2396032d5049792da722b68acc58c5bd0b808ace5c9
DIST yard-0.7.5.gem 720896 SHA256 8a42d1edb06a81ee53a6c187599098fcaf90e13647024a85442f7c116969cf96 SHA512 2ee17c1bcb8148c28ccc7558b283740adc3bcf6a717d2b5ce81b988559580275150d8b3ba1dfbc764ba26a41abdac86520543ffdc88ebd7ad8393bb115be9901 WHIRLPOOL 06410ee05322fec8db22b5c5c8708bf1c44fcd17f15cf8999812e39b17cd2c6f2a8de71ea8b0a08701a016026402b71a8a5d74de09d5344ff91e97227b701842
DIST yard-0.8.1.gem 780800 SHA256 12b6e74634c8e6d25a203596b5cff02db0518e78880d39e91557fefef9939569 SHA512 e4cda053b5adf5dc7bf1a8245f74b1efe5fc21a13021600d16952683ed3b72a2f11bf516f3ed74ee63b46e370ededde45557c64b9b5ac5cf7ff032a262f0a8ac WHIRLPOOL a953813240fcdb33651a469ebc1fd069e4a60179cc3614344585b2d5377375a443d57839a3194c8e8267b5630299ac6e725a3a87503b4fe2a2f06d8522448609
+DIST yard-0.8.2.1-git.tgz 786501 SHA256 052dc3b32e55e1e1fb2f9cc2c4c563b9cbcb55d749592199a77ec04bfccfbc19 SHA512 60c3c8c407c88f5397d40004d3c086dc5713f61e8d107c5bde1b2ba3d5f1a0b859e4bba744575837cde4cf3a7ddf1509d3867778433a023a899a5144df482288 WHIRLPOOL 09246523d3d7d80b76fb3677bf97e266af2de09230a6dc8636d078d66b51b30ad35ef52ffe924e50e9c0b431fd8b14e9dd650947886dfee513a098846dfbd62a
EBUILD yard-0.7.4.ebuild 1260 SHA256 68fbd87ec98a58974969fc3d419280fe014e6b2b245760eb4b263d0ece9c8fe3 SHA512 030bf04cc89a3e4c59d030ec892131a8679b9355fec74736229b3dc24baca9d1e6990337c940985c29017398986d33adf8bae727109fd03c8336be799882ed13 WHIRLPOOL d4ccf65484bb2429078f0b913462e2507740d47753a032ce34acdee159880f8f57a96f85aaa1d2995c07ba1e7011ff429cc1e701370220a95f509c677635963e
EBUILD yard-0.7.5.ebuild 1147 SHA256 e0755af692ae6efd49dff7a33585f861031bad73b29e3385cf16b4e9b0df7b3b SHA512 8191ecf33a56268292dc0d9d0c7a1c896f4df8731611fd8f6d6de28282900cc08e3dd8ee21e9334bbc7778213b454ddd1f8c1b387438e4be2d79114b37aa8741 WHIRLPOOL ab7da2536e8eee67be7b3f2c1989932c41eebc5b80a04e7fe2c30f073006d24c874ed9b65d4d044d9a54fa756b3c32411332f18609f921ef4d4659b78b0695a7
EBUILD yard-0.8.1.ebuild 1147 SHA256 2b46dd503fd417fdb4e3d29e2c666466f5e425c403c1d74ff8c09e2061f88d91 SHA512 f832724b5283f58cec5935400feab73615adc241a353f1b518abd4a5cf53aff06e181e63a5391c82f777417f9f72f68dbe74182cb8a117637225713a67e7e69f WHIRLPOOL ba7573c1b71830a34c6fca357be69bb4fe26facf6aa6f45f35f1fbbe1ddd3b9c3deaabb68f55cb607a6e9f77f14128f39e6fc76ebd3a0a3b4a1493c1c09e5028
-MISC ChangeLog 3889 SHA256 3b6c34f706c324943f5c5fcf9ef4b4fce09b28ff96754c54fdb44017cb4d9881 SHA512 2901807640367895e7269e54044a56b17611a70d3a512c840612a6b70c7e8e3cc606369f90ea5daff4f63914a53a01ee1d8f58b745b6f2c34d3e3df642636995 WHIRLPOOL f69e3e8d88640454ea3152a9b4cbd59e9afa681171d73a589326ebb7f4e23f2664b8607a9122f2a146da9c1974b2dca17d581027883322ee778fa57ed8bbbeb5
+EBUILD yard-0.8.2.1.ebuild 1342 SHA256 b6f4bcbc55b0de81da3e820d14530b03769aafde9750b44e14457a0dcc9f4234 SHA512 e58c924cdd1ab724920a30b8910e83173c6250bec359c0e3c5cd6aa4f0046363eb549f5a0a33b2bfcd7c5fb0d5cfd5d5d104b0df22f9eedc781e3e63517ba7f6 WHIRLPOOL 34ec7917a9ee1626f2dcf8143cb7a1fd1c67501c69bfb38f747ee9faeb86740d3a592d6873d4a4835ec50a4e7226921aa2aa762d459305df495e14f58ca0407f
+MISC ChangeLog 4095 SHA256 bf02a852030c268e6f87f8d408b7dfff753ea0f45bb03742ef9b597624a2abba SHA512 b3ca1af864351f9dd6ab4dbc3cc39984d721458f2b9018df4088d66d864e88746a045b02f4ca6ee741ef8f291ed8d376dd0528d50e98464fca516d8a90681f69 WHIRLPOOL 7977d87d89d14aff08eb1ee4892a5ec7bddd4e25fe6573b03c8a978d358031e1f5f6d57a0f97dfe5f0dc24c9d17c0fb9deabdf7a626d8364eb95aec04dcfc095
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iF4EAREIAAYFAlAirwMACgkQiIP6VqMIqNfkrgEAltvokk1jgnl/LijBblZHJDE5
+JF9Q8fB8DkkVaACkEoUA/0gi/J4KDSyte9IU1QBXtzs4XsCaAYrrtOerIY6q3Sxv
+=LHh6
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/yard/files/yard-0.8.2.1-test-failures.patch b/dev-ruby/yard/files/yard-0.8.2.1-test-failures.patch
new file mode 100644
index 000000000000..3c0fb0eb336a
--- /dev/null
+++ b/dev-ruby/yard/files/yard-0.8.2.1-test-failures.patch
@@ -0,0 +1,21 @@
+commit c479f5cfe93eaefae36654c499e0e06fecb70724
+Author: Loren Segal <lsegal@soen.ca>
+Date: Mon Aug 6 16:50:41 2012 -0400
+
+ Fix test failures in server specs
+
+ Fixes #576
+
+diff --git a/spec/cli/server_spec.rb b/spec/cli/server_spec.rb
+index 6a33b55..c63e145 100644
+--- a/spec/cli/server_spec.rb
++++ b/spec/cli/server_spec.rb
+@@ -32,7 +32,7 @@ describe YARD::CLI::Server do
+ @libraries = {library.name => [library]}
+ end
+ unless @no_verify_libraries
+- @libraries.values.each {|libs| libs.each {|lib| File.should_receive(:exist?).at_least(1).times.with(File.expand_path(lib.yardoc_file)).and_return(true) } }
++ @libraries.values.each {|libs| libs.each {|lib| File.stub!(:exist?).with(File.expand_path(lib.yardoc_file)).and_return(true) } }
+ end
+ unless @no_adapter_mock
+ @cli.stub!(:adapter).and_return(@adapter)
diff --git a/dev-ruby/yard/yard-0.8.2.1.ebuild b/dev-ruby/yard/yard-0.8.2.1.ebuild
new file mode 100644
index 000000000000..4ee0592183fc
--- /dev/null
+++ b/dev-ruby/yard/yard-0.8.2.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/yard-0.8.2.1.ebuild,v 1.1 2012/08/08 18:24:48 graaff Exp $
+
+EAPI=4
+
+USE_RUBY="ruby18 ruby19 ree18 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/"
+
+# The gem lakes the gemspec file needed to pass tests.
+SRC_URI="https://github.com/lsegal/yard/tarball/${PV} -> ${P}-git.tgz"
+RUBY_S="lsegal-yard-*"
+
+LICENSE="as-is" # truly
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RUBY_PATCHES=( ${P}-test-failures.patch )
+
+ruby_add_bdepend "doc? ( || ( dev-ruby/bluecloth dev-ruby/maruku dev-ruby/rdiscount dev-ruby/kramdown ) )"
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *jruby)
+ # This spec requires rdiscount which is a C extension.
+ sed -i -e '150s/should/should_not/' spec/templates/helpers/html_helper_spec.rb || die
+ ;;
+ *)
+ ;;
+ esac
+}