diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/hoe | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/hoe')
-rw-r--r-- | dev-ruby/hoe/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/hoe/hoe-3.16.0.ebuild | 48 | ||||
-rw-r--r-- | dev-ruby/hoe/metadata.xml | 8 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-ruby/hoe/Manifest b/dev-ruby/hoe/Manifest new file mode 100644 index 000000000000..7a019eeceb66 --- /dev/null +++ b/dev-ruby/hoe/Manifest @@ -0,0 +1,3 @@ +DIST hoe-3.16.0.gem 188416 BLAKE2B 48383c46512a359a269ca3475ec701b1443e0ef71b31d1ca1604de391ed4df6b0ad27dd1c5f6ed04751047d211f2c6299245361cf131e2418f224324ac9934c3 SHA512 66cefb5a24906e19bbf0c82c8539d6d101b84d0dc1d3ce1910e4117357639489968271e76e86bd3c432b9ef7e3b24a78294c06210cbef280860f7dac18100606 +EBUILD hoe-3.16.0.ebuild 1519 BLAKE2B 764738ca5d9c9e9b5594d5ba663b9b4c8bf904dc586662b44e36d8a697e8abda3bc5b0ffd7aaf05ac0eb1abbac3bb85458d79b196217da6f9df81d5a6744831a SHA512 7d846277053b5fc31f3967388833cb16e7d95481857e2154798dcef672f8d335d729a89203bac1c45e8b0c6531c782d3bf0669854441ca929eaa3d743c273b90 +MISC metadata.xml 251 BLAKE2B e8bf2b70161d425791d65052583fd8be03b19ef3bb2a2cde34605bc93224fea9d8c6a91f0f2d630a00094ef54c0871e210da0e0134f52401bc80cb6b2358c13d SHA512 17d4dbd64468a524311a24ca065537a5b21560388efd282f3fa873e6722f70db6f83e3e5615556450905c29d5df2cf0a0855f9c0b38bf23f0f8112501456d4ea diff --git a/dev-ruby/hoe/hoe-3.16.0.ebuild b/dev-ruby/hoe/hoe-3.16.0.ebuild new file mode 100644 index 000000000000..a6c609b2b33d --- /dev/null +++ b/dev-ruby/hoe/hoe-3.16.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc Manifest.txt README.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="template" + +inherit ruby-fakegem + +DESCRIPTION="Hoe extends rake to provide full project automation" +HOMEPAGE="https://www.zenspider.com/projects/hoe.html" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.9:5 )" + +ruby_add_rdepend ">=dev-ruby/rake-0.8.7 <dev-ruby/rake-13.0" + +all_ruby_prepare() { + # Skip isolation + sed -i -e '/isolate/ s:^:#:' Rakefile || die + + # Skip test depending on specifics of gem command name + sed -i -e '/test_nosudo/,/^ end/ s:^:#:' test/test_hoe.rb || die + + # Gem.bin_wrapper does not work as expected on Gentoo. + sed -i -e 's/Gem.bin_wrapper//' lib/hoe/rcov.rb lib/hoe/publish.rb test/test_hoe_publish.rb || die + + # Fix broken test by including the right plugin first + sed -i -e '/test_extensions/a Hoe.plugin :clean' test/test_hoe.rb || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc; then + rdoc --title "seattlerb's hoe-3.5.1 Documentation" -o doc --main README.txt lib History.txt Manifest.txt README.txt || die + fi +} diff --git a/dev-ruby/hoe/metadata.xml b/dev-ruby/hoe/metadata.xml new file mode 100644 index 000000000000..eb1e47f2edfb --- /dev/null +++ b/dev-ruby/hoe/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> +</pkgmetadata> |