summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-04-13 06:30:37 +0200
committerHans de Graaff <graaff@gentoo.org>2016-04-13 06:30:37 +0200
commit11a98f4bec75569e615e74916e0dcb308ae68784 (patch)
tree6421faec1f4a2ea176836d3c27f4ecbdb71221e0 /dev-ruby/escape_utils
parentapp-shells/bash-completion: rm mount, umount, #579766, simplify mpv rm (diff)
downloadgentoo-11a98f4bec75569e615e74916e0dcb308ae68784.tar.gz
gentoo-11a98f4bec75569e615e74916e0dcb308ae68784.tar.bz2
gentoo-11a98f4bec75569e615e74916e0dcb308ae68784.zip
dev-ruby/escape_utils: add 1.2.1
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/escape_utils')
-rw-r--r--dev-ruby/escape_utils/Manifest1
-rw-r--r--dev-ruby/escape_utils/escape_utils-1.2.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/escape_utils/Manifest b/dev-ruby/escape_utils/Manifest
index bac9edc106c1..a71039927bf9 100644
--- a/dev-ruby/escape_utils/Manifest
+++ b/dev-ruby/escape_utils/Manifest
@@ -1 +1,2 @@
DIST escape_utils-1.2.0.gem 26624 SHA256 05497be965b95971c8bdf393c0cc851e7beefbf0061af66d820c20535ebcb2ab SHA512 82548f9f81de9a77f16789859b24c77313ab7c8a5a8e2040eba9f140f60247a1f83946d320fd07a4afef670c53f3a2c86bf0b2085749d526e1442fc2fa9074b3 WHIRLPOOL 52125b0eefe57840035b0085cea185a9ccf5ba9f7c1cafc4c69e7bbc81c70c5ce01a88c57d8b3bd2d16ad601585eb5a2235983c02455eb1853fa0536d3fba4a3
+DIST escape_utils-1.2.1.gem 27136 SHA256 e5292fe8d7e12a9bcb4502d99e28fb602e4e1514690d98a1c4957f6f77b4b162 SHA512 e410777cfdd5004168db6134f30a91e29b71136d3e7ec1a312f7307e0593c310230887a63ed25aa4f899b71b5cb78b15f833e4db6f1ca0cc99091ab0c0e6ba75 WHIRLPOOL 48cfbd373e6e752bc9a2476bd7ec8f3f31edc227e08e27b2c1930b3c10096ceb2ff7b0d532340fb48c6b4b254162de76dc2a595010b570c621fb0762b2ce4d56
diff --git a/dev-ruby/escape_utils/escape_utils-1.2.1.ebuild b/dev-ruby/escape_utils/escape_utils-1.2.1.ebuild
new file mode 100644
index 000000000000..386278b2f622
--- /dev/null
+++ b/dev-ruby/escape_utils/escape_utils-1.2.1.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
+}