summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-04-13 08:18:48 +0200
committerHans de Graaff <graaff@gentoo.org>2018-04-13 08:19:33 +0200
commit99ee398d685913f08c36dcdb5f5f0cf25145a03c (patch)
tree2e2daa1851292c5ec412cb6039ff0053d8bfe35b /dev-ruby/uglifier
parentdev-ruby/pdf-core: add ruby24 (diff)
downloadgentoo-99ee398d685913f08c36dcdb5f5f0cf25145a03c.tar.gz
gentoo-99ee398d685913f08c36dcdb5f5f0cf25145a03c.tar.bz2
gentoo-99ee398d685913f08c36dcdb5f5f0cf25145a03c.zip
dev-ruby/uglifier: add 4.1.9
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/uglifier')
-rw-r--r--dev-ruby/uglifier/Manifest1
-rw-r--r--dev-ruby/uglifier/uglifier-4.1.9.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
index 60c9764b6fc5..d22873d08381 100644
--- a/dev-ruby/uglifier/Manifest
+++ b/dev-ruby/uglifier/Manifest
@@ -3,3 +3,4 @@ DIST uglifier-3.2.0.tar.gz 169273 BLAKE2B b0263853c882859db8cc04c19e7f7f4bcbcef9
DIST uglifier-4.1.5.tar.gz 195773 BLAKE2B cad0a33648ab6d048390f39da51425401fba81b68b47ceec624871e980c1667527b1a4a7683ce3cf9567b61b7e506f1315473f935bd6461eecb64620afee2158 SHA512 f7824386fe09f78eabaee2b009a396970488a9d30cd0c6ff4d2bd51185180fef914f3ae0242f887dea92c833c59c72524747822d03bceef931db5091f1578990
DIST uglifier-4.1.6.tar.gz 196856 BLAKE2B c6f52908a3475101891813b670c95e8daa20e37c2d0c4b2407e740b2b51678f2c6dde53cf653c288bb392f78b38c72b7d8c0d22b68b8d1ab6386088b8abab539 SHA512 3e516c53576c15b333aaa5c133d548c2a127162ab7490ae5b97ea211b09b08d1901a438ed38156c1f2b375693bcfaca2264953c31fbc55bf7962c25927ae48d0
DIST uglifier-4.1.8.tar.gz 198344 BLAKE2B 866cd5c94bf9907c7f025e5986d8fc3c277df48c0654376968809e3847d31aa0f4180abea0322be6b38788d977957ae3042083142e107286025c8e4ea8d0d4c8 SHA512 c5072062260d12789b1112935a26b2de1da6577a8c6f613965999d6db9c812a8ede99fd45554b513cfea0509c440c81892682d3a628077cef0c4f038ec0b085f
+DIST uglifier-4.1.9.tar.gz 198621 BLAKE2B 3d2534b111e451daca5592559af999185b056fb61efa9ba2e22ef855479fd1ce316a58bbd48138c35c7f5b04813c24235616beb6d6dc0b6b8927a19c6bd8a7b3 SHA512 9daa50017f05a4637e2d3eba08500f2d967211c5155e6672e0e64bce713ccbb68ded04e471bd200336d972931ffd7affe50d2c22c6ae8d09d1cd17b080684f81
diff --git a/dev-ruby/uglifier/uglifier-4.1.9.ebuild b/dev-ruby/uglifier/uglifier-4.1.9.ebuild
new file mode 100644
index 000000000000..c3c7f8fe72c2
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-4.1.9.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 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
+}