diff options
Diffstat (limited to 'app-text/glark')
-rw-r--r-- | app-text/glark/Manifest | 3 | ||||
-rw-r--r-- | app-text/glark/glark-1.10.5-r1.ebuild | 38 | ||||
-rw-r--r-- | app-text/glark/metadata.xml | 14 |
3 files changed, 55 insertions, 0 deletions
diff --git a/app-text/glark/Manifest b/app-text/glark/Manifest new file mode 100644 index 000000000000..7e0a602fb52b --- /dev/null +++ b/app-text/glark/Manifest @@ -0,0 +1,3 @@ +DIST glark-git-1.10.5.tgz 196283 BLAKE2B 4c4dd08e28ff328789f6a355b95bf9d3cb2dd6a6516355ef0b8a902c4a4b88b8cf72b4cbaae73a325d578201e2223b2ef8d95924d0ababfee781d1bcd1fb9b1c SHA512 6dcad5567a10f1608925b690e86cb8c0f4be56cc4bce70410d3dd3568a191be2c3fbeaa00bea296de6d658b65b8bd081b1d5555e3e43c3f03a22d5e3d19d6c2c +EBUILD glark-1.10.5-r1.ebuild 933 BLAKE2B 257d567e48ab6b283230cc3688894eb7b6091d6001a586ae216c5cf0dfb8c39e88eb90f7a74454a124610c33d5d4d33a0174eeb6a6fced6b923f143a58321b51 SHA512 c50d8e2436b627f2c49e97be79cdf7b1fa0e87f1051ecb96eaeace5b861a4efe2fb4f4f95e27c30a8c41f635f3f1e84ccd8c48e0d2615291f88580e21955c204 +MISC metadata.xml 452 BLAKE2B 9db99e19f53cfc3c45cc61add782d4dc302aee58adb4a153e0000047ff772429d78e2825e4ad89375b5d086bf1b1944a0bf34ed0ff059376ae97c0337c4c720d SHA512 4ad436340a3d16c7c141423ad827f585c3dc7a73db3602ac57ae3112941349f83c604a35d802ff2a3fe9efbf5614b57ec03291c07f394d84989535f24ef85a2e diff --git a/app-text/glark/glark-1.10.5-r1.ebuild b/app-text/glark/glark-1.10.5-r1.ebuild new file mode 100644 index 000000000000..08dedcb84c29 --- /dev/null +++ b/app-text/glark/glark-1.10.5-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="Features.txt History.txt README.md" + +inherit ruby-fakegem + +DESCRIPTION="File searcher similar to grep but with fancy output" +HOMEPAGE="https://github.com/jpace/glark" + +SRC_URI="https://github.com/jpace/glark/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~hppa ~ppc ~sparc x86" +IUSE="zip" + +ruby_add_rdepend " + >=dev-ruby/logue-1.0.0 + >=dev-ruby/ragol-1.0.0 + >=dev-ruby/rainbow-2.0.0:2 + >=dev-ruby/riel-1.2.0 + zip? ( dev-ruby/rubyzip:1 )" + +ruby_add_bdepend "test? ( dev-ruby/rubyzip:1 )" + +all_ruby_prepare() { + rm -rf doc/ || die + + # Fix broken links to test data. + sed -i -e 's:/proj/org/incava/glark/::g' $(find test -type f) || die +} diff --git a/app-text/glark/metadata.xml b/app-text/glark/metadata.xml new file mode 100644 index 000000000000..f5d43635abcc --- /dev/null +++ b/app-text/glark/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>shell-tools@gentoo.org</email> + <name>Gentoo Shell Tools Project</name> + </maintainer> + <use> + <flag name="zip">Support for ZIP files using <pkg>dev-ruby/rubyzip</pkg></flag> + </use> + <upstream> + <remote-id type="github">jpace/glark</remote-id> + </upstream> +</pkgmetadata> |