summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-02-16 08:33:19 +0100
committerHans de Graaff <graaff@gentoo.org>2018-02-16 08:33:19 +0100
commit8723b4dcacf16a31b7fcb3b03b9472410b5e3fad (patch)
treebabc7c61856241f0c33abeb7436a46e9cc33c975
parentb791c727dda501026f2ec661785d41c56042e9dd (diff)
downloadgentoo-8723b4dcacf16a31b7fcb3b03b9472410b5e3fad.tar.gz
gentoo-8723b4dcacf16a31b7fcb3b03b9472410b5e3fad.tar.xz
dev-ruby/uglifier: add 4.1.6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
-rw-r--r--dev-ruby/uglifier/Manifest1
-rw-r--r--dev-ruby/uglifier/uglifier-4.1.6.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
index 73ffd408327..481829fd801 100644
--- a/dev-ruby/uglifier/Manifest
+++ b/dev-ruby/uglifier/Manifest
@@ -4,3 +4,4 @@ DIST uglifier-4.0.2.tar.gz 184915 BLAKE2B eaac0fae612f357a51332db420e31d568b120d
DIST uglifier-4.1.2.tar.gz 190343 BLAKE2B 0f3b0052d7065f36dcf9c52c226d6ddd27bcafe5a85b1a1a56a9d1d31ce8e7e8986e68ff471aa33cc2dd46688bd579594bf370203bd2ace26554b5dc71764a33 SHA512 8b11b3f8dc9e6dd6d2fe856decf11a569bea2040f1443fe437759fe4d14c0410158ef40b2660f38cd548358e78f6ac27929712e8fbc5708dc215099e58de1f75
DIST uglifier-4.1.3.tar.gz 193256 BLAKE2B c0337da0ba4b857b80b1573538ed7596950b3bc0c13661fa7f98ff96a80cc0b747ca5361fdf9e3bbbbe646ff1b476419342194386a2d66c468e5272d7200ae3c SHA512 5b0b1e5e4cd50ca2639b034ee6da672898da2dd16e226c5bf4bd706ef219d0a85f2c8a13b167766005a77207d5b32a6cfc62dce133d176d8bd37b77b27638062
DIST uglifier-4.1.5.tar.gz 195773 BLAKE2B cad0a33648ab6d048390f39da51425401fba81b68b47ceec624871e980c1667527b1a4a7683ce3cf9567b61b7e506f1315473f935bd6461eecb64620afee2158 SHA512 f7824386fe09f78eabaee2b009a396970488a9d30cd0c6ff4d2bd51185180fef914f3ae0242f887dea92c833c59c72524747822d03bceef931db5091f1578990
+DIST uglifier-4.1.6.tar.gz 196856 BLAKE2B c6f52908a3475101891813b670c95e8daa20e37c2d0c4b2407e740b2b51678f2c6dde53cf653c288bb392f78b38c72b7d8c0d22b68b8d1ab6386088b8abab539 SHA512 3e516c53576c15b333aaa5c133d548c2a127162ab7490ae5b97ea211b09b08d1901a438ed38156c1f2b375693bcfaca2264953c31fbc55bf7962c25927ae48d0
diff --git a/dev-ruby/uglifier/uglifier-4.1.6.ebuild b/dev-ruby/uglifier/uglifier-4.1.6.ebuild
new file mode 100644
index 00000000000..8451683993d
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-4.1.6.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="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
+}