summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-04-11 07:23:29 +0200
committerHans de Graaff <graaff@gentoo.org>2017-04-11 07:23:29 +0200
commit663dea4d384cdda7f2e48f61d9bc386ce422d49d (patch)
tree7bbe36d02bce08f7bc306796606e33a7cee27426 /dev-ruby/uglifier
parentdev-libs/glib: Tweak PCRE_CFLAGS for non-pkgconfig in a way that makes it happy (diff)
downloadgentoo-663dea4d384cdda7f2e48f61d9bc386ce422d49d.tar.gz
gentoo-663dea4d384cdda7f2e48f61d9bc386ce422d49d.tar.bz2
gentoo-663dea4d384cdda7f2e48f61d9bc386ce422d49d.zip
dev-ruby/uglifier: add 3.2.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/uglifier')
-rw-r--r--dev-ruby/uglifier/Manifest1
-rw-r--r--dev-ruby/uglifier/uglifier-3.2.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
index e78b98de7374..48123c678076 100644
--- a/dev-ruby/uglifier/Manifest
+++ b/dev-ruby/uglifier/Manifest
@@ -6,3 +6,4 @@ DIST uglifier-3.1.3.tar.gz 99621 SHA256 264d63ebec4887ac4112b8128f32ef961ebe3f3a
DIST uglifier-3.1.6.tar.gz 100853 SHA256 5cec8a824d94f156f86f5aa1e18d4500909faae97b033a7f71c580f71bdac3e3 SHA512 ef84b95ce22ec8d69f789ef6119c17f1c99374f5055c1234b6fcff0af8822cd265221f23cccf2a3f202f20179d1d33b06c2bb634af465c6093174073767b69b4 WHIRLPOOL 93202195f85c33f2560aeefab869c77232a316ab795f037f5dbc02fc8e215b270ea4d1d5776fb039ad94bb04245356a8ccbcd9991c4f4fa4c637287e677306ff
DIST uglifier-3.1.7.tar.gz 100911 SHA256 25f47612af6d03ae39ea81dd941bbfbd475226c1322bdbf427fe4221dac57b54 SHA512 62b46e1031c265a00653301eba4527435161bf867cd21e2212060ca8c429c3d7bcb0108137927ba28514e9492d7533f4e00a9e1990c400faca1a9a47e45ddac1 WHIRLPOOL 5e77006cb27a9949dabefb697b7f6c7d6f9193db0681ffdbe7146abad29f6c1fb2872c935dbc97d1c3081b8450bd38ac66fe8d17b3af4662d78078327831f933
DIST uglifier-3.1.9.tar.gz 100907 SHA256 3a73733de5cff0ce72b22f6d874c0633b804967ebaf660b27846d530238dd157 SHA512 9bb7cc8aabd7d77c76e8b6f2ce148a5ebf9fb0cf0700d31daedb0098fa239ce71b1d6c105ee67018d25b5e6497dcaf30914165281f674d0eb99bc4f0f1eea935 WHIRLPOOL dede93bac0fe84851cd8592eda465d75617b4f92d8d6746e0b2264d42f3160704ad294d51eb1d7b13740ba29604327acc417fe08d3a3f65b9fb130d003a3cdcb
+DIST uglifier-3.2.0.tar.gz 169273 SHA256 bc6a6197cf0a38e7f3426e87d1a09419a9e4e0b2d352b06d0a0156071637caa1 SHA512 5bc577753c175cddd7b3241f7343b75f593141c3bfa9ffa1325f7ade4a9acaf3b47e711007b5708f7cea1a7e9e768cbc3bc845d9eb362f877fe2fc83c047bb57 WHIRLPOOL 334b853e6846f615e9d29d4df7c31cabddddc870e72ec372017a83f619b2c0751b7522acbc1d5972e6236e308fe90c4e25a5c731c199c54ac642558a44b6cded
diff --git a/dev-ruby/uglifier/uglifier-3.2.0.ebuild b/dev-ruby/uglifier/uglifier-3.2.0.ebuild
new file mode 100644
index 000000000000..b23fff6c2bdd
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-3.2.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="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
+}