summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/uglifier/Manifest1
-rw-r--r--dev-ruby/uglifier/uglifier-4.1.12.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
index 272b88c5ca49..e1dd349a7719 100644
--- a/dev-ruby/uglifier/Manifest
+++ b/dev-ruby/uglifier/Manifest
@@ -2,4 +2,5 @@ DIST uglifier-2.7.2.gem 84480 BLAKE2B a446f21f9b8682ba7ec020d355ec5b6eb573649116
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.12.tar.gz 199867 BLAKE2B 858cd1b04880775815a36515fa34077a59899a58ded15b25aa52f9fd6e232ae7576319ee67e299291f9bbb5b5a03aa883025fd133736328b11cc1e47636bb295 SHA512 cef2dcda1c7195e2af50ed94e808ddbf1ec2b95ca27cedea86180e68451d5354029d2995407150c8ee5c5e702353fcf05e205cb81cdd63e0c89bd8c8e48e5a82
DIST uglifier-4.1.9.tar.gz 198621 BLAKE2B 3d2534b111e451daca5592559af999185b056fb61efa9ba2e22ef855479fd1ce316a58bbd48138c35c7f5b04813c24235616beb6d6dc0b6b8927a19c6bd8a7b3 SHA512 9daa50017f05a4637e2d3eba08500f2d967211c5155e6672e0e64bce713ccbb68ded04e471bd200336d972931ffd7affe50d2c22c6ae8d09d1cd17b080684f81
diff --git a/dev-ruby/uglifier/uglifier-4.1.12.ebuild b/dev-ruby/uglifier/uglifier-4.1.12.ebuild
new file mode 100644
index 000000000000..b822aa8c1b9d
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-4.1.12.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
+}