diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-01-28 07:53:13 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-01-28 07:53:45 +0100 |
commit | 6c3cce8abd9e5a2a3e7bd7a4dc6255dafeba5dea (patch) | |
tree | e32eec4939b323a81550523938e0e678d6530bc9 /dev-ruby/escape_utils | |
parent | net-libs/loudmouth: added dependency on dev-util/gtk-doc (fixes bug #572990);... (diff) | |
download | gentoo-6c3cce8abd9e5a2a3e7bd7a4dc6255dafeba5dea.tar.gz gentoo-6c3cce8abd9e5a2a3e7bd7a4dc6255dafeba5dea.tar.bz2 gentoo-6c3cce8abd9e5a2a3e7bd7a4dc6255dafeba5dea.zip |
dev-ruby/escape_utils: add 1.2.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/escape_utils')
-rw-r--r-- | dev-ruby/escape_utils/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/escape_utils/escape_utils-1.2.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/escape_utils/Manifest b/dev-ruby/escape_utils/Manifest index 532c9c521551..426b631ebdc6 100644 --- a/dev-ruby/escape_utils/Manifest +++ b/dev-ruby/escape_utils/Manifest @@ -1 +1,2 @@ DIST escape_utils-1.1.0.gem 26624 SHA256 fdb08ef3d640bcf2b8dec5364d02afd508a743bace2018612b36b5fa72b56841 SHA512 a57c55403763afbf3e53fc9cd68789c81e81fd2ecaab9d5e355a55fe0e96626395c53f631cbdb47457a9183850ed630f4aef3af8a4d6f4eb9ee9ac6ee4beef6c WHIRLPOOL 05bc228e253759d7509e93dabcf2d5de7b18176f265069479c233ea2ef115478bd5fa5aad567b53ee63a7cd972b53317a846edd2ae531121d45490437e7f3901 +DIST escape_utils-1.2.0.gem 26624 SHA256 05497be965b95971c8bdf393c0cc851e7beefbf0061af66d820c20535ebcb2ab SHA512 82548f9f81de9a77f16789859b24c77313ab7c8a5a8e2040eba9f140f60247a1f83946d320fd07a4afef670c53f3a2c86bf0b2085749d526e1442fc2fa9074b3 WHIRLPOOL 52125b0eefe57840035b0085cea185a9ccf5ba9f7c1cafc4c69e7bbc81c70c5ce01a88c57d8b3bd2d16ad601585eb5a2235983c02455eb1853fa0536d3fba4a3 diff --git a/dev-ruby/escape_utils/escape_utils-1.2.0.ebuild b/dev-ruby/escape_utils/escape_utils-1.2.0.ebuild new file mode 100644 index 000000000000..386278b2f622 --- /dev/null +++ b/dev-ruby/escape_utils/escape_utils-1.2.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="Faster string escaping routines for your ruby apps" +HOMEPAGE="https://github.com/brianmario/escape_utils" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + sed -i -e "/bundler/d" test/helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/escape_utils extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/escape_utils + cp ext/escape_utils/escape_utils$(get_modname) lib/escape_utils || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "Dir['test/**/*_test.rb'].each {|f| require f}" || die +} |