diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-05-09 11:31:59 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-05-09 11:31:59 +0000 |
commit | 7703bbadfe34ef50d91e0326227e42422236920b (patch) | |
tree | cefab5c8edd155cd14f27291fb12e4c3bfb38b6d /dev-ruby/hoe | |
parent | Add ~sh (diff) | |
download | historical-7703bbadfe34ef50d91e0326227e42422236920b.tar.gz historical-7703bbadfe34ef50d91e0326227e42422236920b.tar.bz2 historical-7703bbadfe34ef50d91e0326227e42422236920b.zip |
Don't require rubyforge to be configured. Applied patch from Fedora by Mamoru Tasaka, fixing bug 317881.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/hoe')
-rw-r--r-- | dev-ruby/hoe/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/hoe/Manifest | 14 | ||||
-rw-r--r-- | dev-ruby/hoe/files/hoe-2.6.0-rubyforge-without-account.patch | 23 | ||||
-rw-r--r-- | dev-ruby/hoe/hoe-2.6.0-r1.ebuild | 34 |
4 files changed, 78 insertions, 2 deletions
diff --git a/dev-ruby/hoe/ChangeLog b/dev-ruby/hoe/ChangeLog index 35676a4a667b..521e748c729c 100644 --- a/dev-ruby/hoe/ChangeLog +++ b/dev-ruby/hoe/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/hoe # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe/ChangeLog,v 1.74 2010/04/26 05:29:14 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe/ChangeLog,v 1.75 2010/05/09 11:31:59 graaff Exp $ + +*hoe-2.6.0-r1 (09 May 2010) + + 09 May 2010; Hans de Graaff <graaff@gentoo.org> +hoe-2.6.0-r1.ebuild, + +files/hoe-2.6.0-rubyforge-without-account.patch: + Don't require rubyforge to be configured. Applied patch from Fedora by + Mamoru Tasaka, fixing bug 317881. 26 Apr 2010; Hans de Graaff <graaff@gentoo.org> hoe-2.6.0.ebuild: Provide user-config file in those phases that need it. Use proper path for diff --git a/dev-ruby/hoe/Manifest b/dev-ruby/hoe/Manifest index e0c6e1b78758..2f767211ff43 100644 --- a/dev-ruby/hoe/Manifest +++ b/dev-ruby/hoe/Manifest @@ -1,5 +1,9 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX hoe-2.4.0-tests.patch 923 RMD160 761865ce64b4d7219f24d135af4350f32b6e0a63 SHA1 688dc504155ab6027a8e88083b933f6eaaa10015 SHA256 7271e3834c2e881f4229484e039cb5f216ad89e5cd69d6b788610dfdd979c847 AUX hoe-2.5.0-tests.patch 2155 RMD160 898487c6847136041b79d37127ba6ad5ebb3a28d SHA1 8dbd252b198d53ac874672f3394f5741e46fe8bf SHA256 872f08a36126c6fad69405eb529993fcef94d8134cee8f70294ddb4075fb1a54 +AUX hoe-2.6.0-rubyforge-without-account.patch 694 RMD160 b37bdce247b5acc1bd9bca080cbf1a129b3f19f3 SHA1 cb1df3dbf4302da16b08dc4c179d7f6bf28d132a SHA256 5a6d5a2d30b9fc49a9255ba46bbc6c4847c1ffcda2fd720fff54b5a9002076e2 DIST hoe-2.3.2.gem 29696 RMD160 63862c20c7098297a92755c5bad279856468aec7 SHA1 e47df36832b0c08c8f95807acad624151d9874da SHA256 3a90318b42ce02a019c8d248dbb42a9ce281f5ef9bf4566cefe6b27128b851ab DIST hoe-2.3.3.gem 26624 RMD160 8ce7544a0a9796787161036112a53da0da0c11fd SHA1 1d18724ba478ba3dc1def990adf6dc010db3cfeb SHA256 35617a7435805799b5e6e3dabae655341921e03cb52b55a3fdc6e61ae1b2541a DIST hoe-2.4.0.gem 110592 RMD160 49b645d1a5262dabac0dfab63916f80c42774779 SHA1 9b9c0fb84588a1cd01664c95676d641e048c49be SHA256 b4ff616d19eff09be41e8af523d176c6cee4465547b1c04cb2df4627eed1e1cf @@ -9,6 +13,14 @@ EBUILD hoe-2.3.2.ebuild 532 RMD160 528316e975f7dec92e977734b3a72636bff4eed3 SHA1 EBUILD hoe-2.3.3.ebuild 535 RMD160 1599bbf30d87ec425e5b3c972bb66620002682fe SHA1 d2bededf782180287dcf227e7123225fa5a1c82a SHA256 2911dc1a976ea2ee67f7874373712a55cfd21584eb5dee725c77f3bf30dfbf3a EBUILD hoe-2.4.0.ebuild 907 RMD160 a95d4288ac99562532cfc5ebe65b39706dc248a6 SHA1 863354e0fcbfdb78edb8e60b293ed24f73707bf2 SHA256 e611d744fdced4342ab1c54b9305a9f32be049ac8450b2ff7eced2e81e8dba1e EBUILD hoe-2.5.0.ebuild 1156 RMD160 a98ecb9595760d4ac3b01b4b86dd472f273f25b4 SHA1 332e81a95ffee47826d926ea7ac4c3dd948141ce SHA256 861463f2a633d150da44dae578ea20699049176ad7e924c6ead6557d6beaf5eb +EBUILD hoe-2.6.0-r1.ebuild 1151 RMD160 2fb67a84a701e70dc6860b85540e99c614cb4e1f SHA1 4c6c5a9a188a752be9a9da8a3d7b9c0758106fb5 SHA256 43284f0b4435d90ea72209a7b9be6aa50959332cf3f6ccb03d10cd1a259d6416 EBUILD hoe-2.6.0.ebuild 1358 RMD160 ffdd626052abf142c3ef2f71a69aed68261cf048 SHA1 07a1d09adab86733037eb96d3e4c297ef2fa1fa2 SHA256 7c59b34607052524d334010626c033691e2259ad19a2392a88d39e1935498047 -MISC ChangeLog 9434 RMD160 cffc085b764b8ae9fd3bf7141d327ea2ecb29955 SHA1 d92437c2ced25680d243eb3fc1adbc578b17fbd3 SHA256 4803c15d6dd56786b2828b419f68e45160b525f058393928bf5e6519d6c53715 +MISC ChangeLog 9697 RMD160 841ccad041e196b913648d9abcae2bd153f576a9 SHA1 679f1044eb94ed78f388bf5d34047a35333d3bce SHA256 57df534e76893b2d8e9b47aa394bc38976f1dc9ad0f75c3560538666f3e2f549 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAkvmnTUACgkQeM7EJeUH71PvZQCcCYv9CY6r9IObqVJomvHyM49p +L0gAn21hLD8P920saEmHk+5v9WbaalQl +=vg2T +-----END PGP SIGNATURE----- diff --git a/dev-ruby/hoe/files/hoe-2.6.0-rubyforge-without-account.patch b/dev-ruby/hoe/files/hoe-2.6.0-rubyforge-without-account.patch new file mode 100644 index 000000000000..683d44b58df7 --- /dev/null +++ b/dev-ruby/hoe/files/hoe-2.6.0-rubyforge-without-account.patch @@ -0,0 +1,23 @@ +--- hoe-2.6.0/lib/hoe/rubyforge.rb.account 2010-04-28 15:34:32.000000000 +0900 ++++ hoe-2.6.0/lib/hoe/rubyforge.rb 2010-04-28 16:11:18.000000000 +0900 +@@ -40,12 +40,20 @@ + end + + if Hoe.plugins.include? :publish then ++ begin + path = File.expand_path("~/.rubyforge/user-config.yml") + config = YAML.load(File.read(path)) + base = "/var/www/gforge-projects" + dir = "#{base}/#{rubyforge_name}/#{remote_rdoc_dir}" + + rdoc_locations << "#{config["username"]}@rubyforge.org:#{dir}" ++ ++ rescue Errno::ENOENT => err ++ hoe_ver = Hoe::VERSION ++ msg = err.message ++ # puts "Hoe #{hoe_ver}: warning: #{msg}" ++ end ++ + end + end + end diff --git a/dev-ruby/hoe/hoe-2.6.0-r1.ebuild b/dev-ruby/hoe/hoe-2.6.0-r1.ebuild new file mode 100644 index 000000000000..2f6e2c3b522d --- /dev/null +++ b/dev-ruby/hoe/hoe-2.6.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe/hoe-2.6.0-r1.ebuild,v 1.1 2010/05/09 11:31:59 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18 ruby19 jruby" + +RUBY_FAKEGEM_TASK_DOC="docs" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt" + +RUBY_FAKEGEM_EXTRAINSTALL="template" + +inherit ruby-fakegem + +DESCRIPTION="Hoe extends rake to provide full project automation." +HOMEPAGE="http://seattlerb.rubyforge.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" +IUSE="" + +RUBY_PATCHES="${P}-rubyforge-without-account.patch" + +# - also requires dev-ruby/hoe-seattlerb for 1.9; +# - dev-ruby/gemcutter is an optional dependency at both runtime and +# test-time, at least for us; +# - rubyforge is loaded at runtime when needed, so we don't strictly +# depend on it at runtime, but we need it for tests (for now); +ruby_add_bdepend test "virtual/ruby-minitest >=dev-ruby/rubyforge-2.0.3" + +ruby_add_rdepend ">=dev-ruby/rake-0.8.7" |