diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-10-24 18:43:59 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-10-24 18:43:59 +0000 |
commit | a3eea3d743eb860aa939cbd53d0e5287ba00ecdb (patch) | |
tree | 85799ddedc772cbae4c4f89199b9342535dcafb6 /dev-ruby | |
parent | app-text/notmuch-0.9: Improved emacs support. (diff) | |
download | gentoo-2-a3eea3d743eb860aa939cbd53d0e5287ba00ecdb.tar.gz gentoo-2-a3eea3d743eb860aa939cbd53d0e5287ba00ecdb.tar.bz2 gentoo-2-a3eea3d743eb860aa939cbd53d0e5287ba00ecdb.zip |
Initial import. New dependency for dev-ruby/adhearsion.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/pry/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/pry/metadata.xml | 6 | ||||
-rw-r--r-- | dev-ruby/pry/pry-0.9.6.2.ebuild | 41 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-ruby/pry/ChangeLog b/dev-ruby/pry/ChangeLog new file mode 100644 index 000000000000..f743d8e2192e --- /dev/null +++ b/dev-ruby/pry/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/pry +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pry/ChangeLog,v 1.1 2011/10/24 18:43:59 graaff Exp $ + +*pry-0.9.6.2 (24 Oct 2011) + + 24 Oct 2011; Hans de Graaff <graaff@gentoo.org> +pry-0.9.6.2.ebuild, + +metadata.xml: + Initial import. New dependency for dev-ruby/adhearsion. + diff --git a/dev-ruby/pry/metadata.xml b/dev-ruby/pry/metadata.xml new file mode 100644 index 000000000000..8ff28fd1e1f4 --- /dev/null +++ b/dev-ruby/pry/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>ruby</herd> +</pkgmetadata> + diff --git a/dev-ruby/pry/pry-0.9.6.2.ebuild b/dev-ruby/pry/pry-0.9.6.2.ebuild new file mode 100644 index 000000000000..951a6c892322 --- /dev/null +++ b/dev-ruby/pry/pry-0.9.6.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pry/pry-0.9.6.2.ebuild,v 1.1 2011/10/24 18:43:59 graaff Exp $ + +EAPI=4 + +USE_RUBY="ruby18 ree18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="Pry is a powerful alternative to the standard IRB shell for Ruby." +HOMEPAGE="https://github.com/pry/pry/wiki" +IUSE="" +SLOT="0" + +LICENSE="MIT" +KEYWORDS="~amd64" + +ruby_add_rdepend ">=dev-ruby/ruby_parser-2.0.5 + >=dev-ruby/coderay-0.9.8 + >=dev-ruby/slop-2.1.0 + >=dev-ruby/method_source-0.6.5" + +ruby_add_bdepend "test? ( >=dev-ruby/bacon-1.1.0 )" + +all_ruby_prepare() { + # Make version dependencies more lenient to avoid problems with + # compatible upgrades. + sed -i -e 's/~> 2.0.5/>= 2.0.5/' \ + -e 's/~> 0.9.8/>= 0.9.8/' \ + -e 's/~> 2.1.0/>= 2.1.0/' \ + -e 's/~> 0.6.5/>= 0.6.5/' \ + pry.gemspec || die +} + +each_ruby_test() { + ${RUBY} -S bacon -Itest -a -q || die +} |