summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-10-26 07:32:43 +0200
committerHans de Graaff <graaff@gentoo.org>2016-10-26 07:32:43 +0200
commit599b335d345878bbfc936a6f0856b8bd6e5cda90 (patch)
tree5697b37f390abe80dfa60b3c7874e1fb726174e6 /dev-ruby
parentdev-ruby/uglifier: cleanup (diff)
downloadgentoo-599b335d345878bbfc936a6f0856b8bd6e5cda90.tar.gz
gentoo-599b335d345878bbfc936a6f0856b8bd6e5cda90.tar.bz2
gentoo-599b335d345878bbfc936a6f0856b8bd6e5cda90.zip
dev-ruby/uglifier: add 3.0.3
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/uglifier/Manifest1
-rw-r--r--dev-ruby/uglifier/uglifier-3.0.3.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
index 726841863446..c52b75bd9c9f 100644
--- a/dev-ruby/uglifier/Manifest
+++ b/dev-ruby/uglifier/Manifest
@@ -1,2 +1,3 @@
DIST uglifier-2.7.2.gem 84480 SHA256 9f05989ffbcdef532a58062443ab7107319dbec3b76b6d604669853a3e31fa57 SHA512 03c8fffbd385db9ee0fa8f422bf571ba99803f810828d536f1b00bc99a21108ac0ed232015d39f1ab88441fef0a3371df10944873fbadae6c8bd2624e3e1a65d WHIRLPOOL e28e8ebbee1e677e8e0eff453ef37e795df3b0e18414a8af5c1143fe463b987bca157fef3aebab247176fd6931cd07993caa462409832a3c8632110bd49e7e8f
DIST uglifier-3.0.2.gem 97280 SHA256 ccc57a83cf6c0aacf41fe728edfdfef75e915e3accf75339e903cc304cd06038 SHA512 e52ff3a7a1ffc1981875eb42104086fdbba48b2a9b576e60bfb8fb56bfea849be228e59a906b908982b9d4654233d3b321d4ec7f881d459bc9f621d24b538a63 WHIRLPOOL 30494754e7670265af87eeffa660ddde341706301fffa9a0f98b0605184139b4236128d91023c9fee7b0c17e987f4818f5c6b47e94a07719c54ba0eb9c89a65c
+DIST uglifier-3.0.3.tar.gz 94580 SHA256 4315e2a0248d820743a73cd117119b7d609056df6bf06e9e05708eca7c710b17 SHA512 a303cd55dfac5139098b1505afb7f06693cad0aa986c62cb0d769c04eb99a9ca711bbc530e0071d5b9f68302fad9216e7f49be50850aabba97ad42e2352d0215 WHIRLPOOL 74116eb7fb2de9c2c3aceda67cd9e25bc73e547d05ac5d7f35451f9f49d4c3c1e0794cdca2ce9651e9d464c26299b5d4c695dc0eb4f97f219aadbbe007cb60d9
diff --git a/dev-ruby/uglifier/uglifier-3.0.3.ebuild b/dev-ruby/uglifier/uglifier-3.0.3.ebuild
new file mode 100644
index 000000000000..0a643f80a26f
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-3.0.3.ebuild
@@ -0,0 +1,34 @@
+# 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_DOC="rdoc"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby wrapper for UglifyJS JavaScript compressor"
+HOMEPAGE="https://github.com/lautis/uglifier"
+SRC_URI="https://github.com/lautis/uglifier/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~amd64-linux"
+
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/execjs-0.3.0:*"
+
+ruby_add_bdepend "test? ( dev-ruby/sourcemap )"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}