summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-12-11 07:24:39 +0100
committerHans de Graaff <graaff@gentoo.org>2017-12-11 07:24:39 +0100
commit8d9e6d50e52fd70f5749fe48fbb3e783733138c1 (patch)
treef68742ed5b56dd05beccbadc1a8224dbcd482e5a /dev-ruby/uglifier
parentdev-ruby/plist: add 3.4.0 (diff)
downloadgentoo-8d9e6d50e52fd70f5749fe48fbb3e783733138c1.tar.gz
gentoo-8d9e6d50e52fd70f5749fe48fbb3e783733138c1.tar.bz2
gentoo-8d9e6d50e52fd70f5749fe48fbb3e783733138c1.zip
dev-ruby/uglifier: add 4.0.2
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/uglifier')
-rw-r--r--dev-ruby/uglifier/Manifest1
-rw-r--r--dev-ruby/uglifier/uglifier-4.0.2.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
index 585f1143edc3..8a0154a16321 100644
--- a/dev-ruby/uglifier/Manifest
+++ b/dev-ruby/uglifier/Manifest
@@ -2,3 +2,4 @@ DIST uglifier-2.7.2.gem 84480 BLAKE2B a446f21f9b8682ba7ec020d355ec5b6eb573649116
DIST uglifier-3.2.0.tar.gz 169273 BLAKE2B b0263853c882859db8cc04c19e7f7f4bcbcef9d0b4080e414c9e1c86b691307c59d694abb33582485ea432b787f36445a49c39ece298d90806838bc56a4b7360 SHA512 5bc577753c175cddd7b3241f7343b75f593141c3bfa9ffa1325f7ade4a9acaf3b47e711007b5708f7cea1a7e9e768cbc3bc845d9eb362f877fe2fc83c047bb57
DIST uglifier-4.0.0.tar.gz 183935 BLAKE2B 355081d2aebcd6e40081564397b7ae121922d33ead6942f15fc92b9743c575756513a1125810900edcc9a327ff3011e64e539d1bbadb02a06db5a5099dadf0d5 SHA512 b4bd78ea20ed3eefa9bb8d2645da9d3a1898c2715084c47ad8f3d5d0bbeae68ac84f59a449a68dee9c9eda158a2c3e8bff23507d06fc489f00ba53057911bcd1
DIST uglifier-4.0.1.tar.gz 184457 BLAKE2B bc922057d42868f56d3755f51b9bc39460369ee32d76b97222ef3fb05dbf0c84752236a545ffe9fcd17c1a529a429b9591bcf7d4623255e85cc9ebeb693dd595 SHA512 966a7a5c0c15146feba8633f247b9ec5d7a895c8e2a993b784836c13f3d88077e4ba701c1809588463da78d894508cb35e4d958b86c4801782f9449a93963d05
+DIST uglifier-4.0.2.tar.gz 184915 BLAKE2B eaac0fae612f357a51332db420e31d568b120dfe199d4f838db92082af888085123f322c4666d9c7d350ef3a51dc2d09ef78d11887771e8c414c9211688f6bfa SHA512 77795a2b20ac6e5fc1c12cb95f868062e040988e1efc9cd7c13cd093f0ad5447fd09b1d88d5c1c53d69c9ea4e9fa22c9331df53421af5ecd3010138e91a9a87b
diff --git a/dev-ruby/uglifier/uglifier-4.0.2.ebuild b/dev-ruby/uglifier/uglifier-4.0.2.ebuild
new file mode 100644
index 000000000000..40301044c9ee
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-4.0.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+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="4"
+KEYWORDS="~amd64 ~arm ~arm64 ~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
+}