summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/bcat')
-rw-r--r--dev-ruby/bcat/ChangeLog7
-rw-r--r--dev-ruby/bcat/Manifest13
-rw-r--r--dev-ruby/bcat/bcat-0.6.2-r1.ebuild43
3 files changed, 51 insertions, 12 deletions
diff --git a/dev-ruby/bcat/ChangeLog b/dev-ruby/bcat/ChangeLog
index 96c12242f254..3af713dabca5 100644
--- a/dev-ruby/bcat/ChangeLog
+++ b/dev-ruby/bcat/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/bcat
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bcat/ChangeLog,v 1.13 2013/09/01 12:46:09 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bcat/ChangeLog,v 1.14 2013/11/17 20:36:44 mrueg Exp $
+
+*bcat-0.6.2-r1 (17 Nov 2013)
+
+ 17 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +bcat-0.6.2-r1.ebuild:
+ Add ruby20 target.
01 Sep 2013; Hans de Graaff <graaff@gentoo.org> bcat-0.6.2.ebuild:
Drop virtual/ruby-test-unit which is a noop, bug 380711.
diff --git a/dev-ruby/bcat/Manifest b/dev-ruby/bcat/Manifest
index 7f72ee76c2ee..c369caad2631 100644
--- a/dev-ruby/bcat/Manifest
+++ b/dev-ruby/bcat/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
DIST bcat-0.6.2.gem 22016 SHA256 a11816491a1f0233b838d6828f3a157cca95d0ca3dbab82b25ee68f62ce55c70 SHA512 142f853ca0931e5ba300276b1db0977fa275b9b13602940fbaca2c5d32ff881fe753dee25632526a348d71cf71eb6e390aed821b4ba1f48e380d6369ad87ead7 WHIRLPOOL 1132a63a18a5beb6e632dcd22d9585783a1699e97d62b4ec352e0c9892225a754ce1e70e3a2da6d4552b73c6298921cb02253096d9dba2a418f8589df2b7d783
+EBUILD bcat-0.6.2-r1.ebuild 1229 SHA256 b5a3f6baa6d1320059f7360e70d737de35f16c311840eb860788c21d2b26e38b SHA512 9dad4016854e3fed34d7c472ea692533258288bd998d9be19cd4aee734ec342a6c8a6d51f2bc16bb6eeab43aa105f870474b7be81bfdcd4158a902197ce6ee62 WHIRLPOOL 6bf1bb16851f7447652e5190d58f320be92450043cb0e774c06a53362964b87fa689b34ceec3e0e2f1cd9a89090012b24a48c864f9f2f8c41e111c8d230e840c
EBUILD bcat-0.6.2.ebuild 1227 SHA256 a421f79c23e9f9fae8a364a0f9901734779618d9e1409cf224bcc78c1a7f878a SHA512 6366c297bb5462866d8c18e219d03e54de1b0aabd5e4fd402e604c99151be8375ac0921c28a1b22596a1ef1ac92573c9dfecb96468b3c7a7e96ddfadff75ae60 WHIRLPOOL c8ba432b8c93d877ed7ebfe5cf89129ac60a539d7ad4484c06ac024beca420e19f3d02ca3d26b5cc6a5de08d2fd593bd6ce07f2f474fd1ff81dcdbbeb42f1b0d
-MISC ChangeLog 1700 SHA256 7dff263ced721619ff22c7bbada0a6005a0745b75f67855830c222c190ef003f SHA512 b53562f821fc1b21c19d695ef3a68c9ceed90415bb7276d7504805c156458615fe3e84bdde46738f2291ecd3db4971939a0a5762ce45147814fc468078e2e95d WHIRLPOOL fec02903e30a4c4c0085edbabef157415d6d696d03d3839d7224af69b44f6b2ba6dba03c40bcba30ca33c5376bb3ce23db8244cfabb3992151e23ae835f4d075
+MISC ChangeLog 1822 SHA256 477e55a52bfcee971caf06ab487abbbad6996c49480748dfdacdbffb610cf283 SHA512 89bcbc82879dbc527e462494d85daf63187b5a803253c53701f964b87f048c8d4043668cc0e25460a6de2f90d175fdfc4d569425a571239f0521e644b9e63fb5 WHIRLPOOL 434d9edb535ab07039bbb1130778b589af54af51d6ed14c30c78a5cdf54fbd62398c64fa63b7f53cecc410dcd14b69a424f214c86a4260e62f0551aff6ff1f98
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
-
-iF4EAREIAAYFAlIjNxMACgkQiIP6VqMIqNc9DAEAiABDO+2EJQEj6hYhpChJWYl/
-7fX4vWk1MBLLynI6X08A/1cN21IzKFU9KhU6ADetHxNFc/YIrAm5DTcXvtuwjmVL
-=nUn/
------END PGP SIGNATURE-----
diff --git a/dev-ruby/bcat/bcat-0.6.2-r1.ebuild b/dev-ruby/bcat/bcat-0.6.2-r1.ebuild
new file mode 100644
index 000000000000..d50e20d4da28
--- /dev/null
+++ b/dev-ruby/bcat/bcat-0.6.2-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bcat/bcat-0.6.2-r1.ebuild,v 1.1 2013/11/17 20:36:43 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 ruby20"
+
+RUBY_FAKEGEM_TASK_DOC="man"
+RUBY_FAKEGEM_EXTRADOC="README"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A pipe to browser utility for use at the shell and within editors like Vim or Emacs."
+HOMEPAGE="http://github.com/rtomayko/bcat"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+# Collides on /usr/bin/bcat, bug 418301
+RDEPEND="${RDEPEND} !!app-accessibility/speech-tools"
+
+ruby_add_bdepend "doc? ( app-text/ronn )"
+
+ruby_add_rdepend "dev-ruby/rack"
+
+each_ruby_prepare() {
+ sed -i -e "s/a2h/#{ENV['RUBY']} -S a2h/" test/test_bcat_a2h.rb || die
+}
+
+each_ruby_test() {
+ # The Rakefile uses weird trickery with load path that causes gems
+ # not to be found. Run tests directly instead and do the trickery
+ # here to support popen calls for the bins in this package.
+ RUBY=${RUBY} RUBYLIB=lib:${RUBYLIB} PATH=bin:${PATH} ${RUBY} -S testrb test/test_*.rb || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ doman man/*.1
+}