summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-10-19 07:05:33 +0200
committerHans de Graaff <graaff@gentoo.org>2016-10-19 07:05:33 +0200
commita1403594e2e851e5caae72e7af7abc1d5d63ec4d (patch)
tree06ae6036b27323c3f53642bc8502cae8680299b8 /dev-ruby/jsobfu
parentdev-ruby/rex-text: add 0.2.4 (diff)
downloadgentoo-a1403594e2e851e5caae72e7af7abc1d5d63ec4d.tar.gz
gentoo-a1403594e2e851e5caae72e7af7abc1d5d63ec4d.tar.bz2
gentoo-a1403594e2e851e5caae72e7af7abc1d5d63ec4d.zip
dev-ruby/jsobfu: add 0.4.1
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/jsobfu')
-rw-r--r--dev-ruby/jsobfu/Manifest1
-rw-r--r--dev-ruby/jsobfu/jsobfu-0.4.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/jsobfu/Manifest b/dev-ruby/jsobfu/Manifest
index 9085b4bdb292..9f8312e04de2 100644
--- a/dev-ruby/jsobfu/Manifest
+++ b/dev-ruby/jsobfu/Manifest
@@ -1,2 +1,3 @@
DIST jsobfu-0.2.1.gem 20480 SHA256 16fef3066b9049bbcdb9949f6d185af75eda768ff2e221b69c16e9d793ac23e5 SHA512 b2ae7a59d0900984c92a5f7a199de2ca02e2f8bbca4f7a0e70610e06c5b763455cc71b3356a0bac91efb5d786d0a1ae4ffeda4e70995cfed3d52e46a82347a9b WHIRLPOOL 4caee1de395955565b00a3a9ff4558e35348038632b7024e176e84541d7f96c79a7b4d332ce4ab7c627b0ebcb6666a52f954a030143e83fc1edb5f25eb37f5ae
DIST jsobfu-0.3.0.gem 20992 SHA256 a0c02d68cdaa7bbca2773e1cd2c8861da6b07655bbea3eb806f8c3b26dc4f1cb SHA512 64084589066bb8d5c4c775a9a910214306fc1b39ff54582a0cf6485efcca667de57e9e26c02139d1b7baabadf38947464c03bebb72aae65c7be8f993413b6389 WHIRLPOOL b1a3ad0c6e8d5f43b3c2dcb30b18424fb28c53a59330dd08771f7f3e82eabf1461e8de76bb0466b8c54bd238e828d4922d574b45803ad73f0753bbfeeece9aab
+DIST jsobfu-0.4.1.gem 21504 SHA256 6d9af81d111826a7dfc23e284a1bd1f1f4c0fb083e395402c3b2f30e7d6e4a62 SHA512 496788269f5916fddabf0dc2b6f85aa3ebf3fa0e95530f758e9f02da8a169e5770206d4a2df9c2a0649c145c852035d0af8809a4a792c3acd3a3c148ae5af7ce WHIRLPOOL 310100e6f9a8f287a88b75f34982d0df761919d824b443491e4d5277415a4111a649acb2e48020e9b970f87f5642ae0bbf4ee7d9120b3c7b5d33932ff4c0a2d2
diff --git a/dev-ruby/jsobfu/jsobfu-0.4.1.ebuild b/dev-ruby/jsobfu/jsobfu-0.4.1.ebuild
new file mode 100644
index 000000000000..a485677fcb3a
--- /dev/null
+++ b/dev-ruby/jsobfu/jsobfu-0.4.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Javascript code obfuscator"
+HOMEPAGE="https://github.com/rapid7/jsobfu"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+ruby_add_rdepend "!dev-ruby/jsobfu:0
+ >=dev-ruby/rkelly-remix-0.0.6:0"
+
+ruby_add_bdepend "test? ( dev-ruby/execjs )"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/ s:^:#:' \
+ -e '/config.\(color\|tty\|formatter\)/ s:^:#:' \
+ spec/spec_helper.rb || die
+
+ sed -i -e '/rkelly-remix/,/name:/ s/=/~>/' ../metadata || die
+}