summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-06-12 06:57:26 +0200
committerHans de Graaff <graaff@gentoo.org>2018-06-12 06:57:26 +0200
commit52d2418349e9a41ef541440cdd6995260532ea23 (patch)
tree3990c81d737166ce33f156f69af91544e7779689 /dev-ruby/uglifier
parentdev-ruby/tdiff: add 0.3.4 (diff)
downloadgentoo-52d2418349e9a41ef541440cdd6995260532ea23.tar.gz
gentoo-52d2418349e9a41ef541440cdd6995260532ea23.tar.bz2
gentoo-52d2418349e9a41ef541440cdd6995260532ea23.zip
dev-ruby/uglifier: add 4.1.11
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/uglifier')
-rw-r--r--dev-ruby/uglifier/Manifest1
-rw-r--r--dev-ruby/uglifier/uglifier-4.1.11.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
index 6033a59362b9..272b88c5ca49 100644
--- a/dev-ruby/uglifier/Manifest
+++ b/dev-ruby/uglifier/Manifest
@@ -1,4 +1,5 @@
DIST uglifier-2.7.2.gem 84480 BLAKE2B a446f21f9b8682ba7ec020d355ec5b6eb573649116fddfe2d4d74849c59f6697065ca2837fb040a91a3f43264a71280660b947b138fd0fe67806f2c18631f498 SHA512 03c8fffbd385db9ee0fa8f422bf571ba99803f810828d536f1b00bc99a21108ac0ed232015d39f1ab88441fef0a3371df10944873fbadae6c8bd2624e3e1a65d
DIST uglifier-3.2.0.tar.gz 169273 BLAKE2B b0263853c882859db8cc04c19e7f7f4bcbcef9d0b4080e414c9e1c86b691307c59d694abb33582485ea432b787f36445a49c39ece298d90806838bc56a4b7360 SHA512 5bc577753c175cddd7b3241f7343b75f593141c3bfa9ffa1325f7ade4a9acaf3b47e711007b5708f7cea1a7e9e768cbc3bc845d9eb362f877fe2fc83c047bb57
DIST uglifier-4.1.10.tar.gz 199064 BLAKE2B e7acc4fc2548798fdd673e2b559a7039c8455854f451d6bc1c45d4cdcde7a9d96205e43e16df10717414eff6829c37a58e36a38081410533408e70d3ac297700 SHA512 4e3cd4e11c0f4eb019aa03231fcc7ea11a63f7598f07b21a0040219ef618972fcecbfed63ed77300ee32f36f95533c443f48d71bf069488392fec99362a180ed
+DIST uglifier-4.1.11.tar.gz 199761 BLAKE2B abbd696fead7dc22d76c3088934b713f3aefc609d5b5f3e0b3b54b68d6c9c832fc695423647c6ca8571142db8864093a533f4d654bb32525f0a7d9e2b04b7665 SHA512 bc4b735ef41093e245022d94448f3c1fc6a4e69fad664372924a8770576bbf6ae776863f8c440eaa356f7917643b8c22321fa0154d9d9507ef84f258311c8114
DIST uglifier-4.1.9.tar.gz 198621 BLAKE2B 3d2534b111e451daca5592559af999185b056fb61efa9ba2e22ef855479fd1ce316a58bbd48138c35c7f5b04813c24235616beb6d6dc0b6b8927a19c6bd8a7b3 SHA512 9daa50017f05a4637e2d3eba08500f2d967211c5155e6672e0e64bce713ccbb68ded04e471bd200336d972931ffd7affe50d2c22c6ae8d09d1cd17b080684f81
diff --git a/dev-ruby/uglifier/uglifier-4.1.11.ebuild b/dev-ruby/uglifier/uglifier-4.1.11.ebuild
new file mode 100644
index 000000000000..b822aa8c1b9d
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-4.1.11.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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 ~ppc ~ppc64 ~x86 ~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
+}