summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-08-09 07:18:08 +0200
committerHans de Graaff <graaff@gentoo.org>2018-08-09 07:18:08 +0200
commit98659efa306e1f08fdb2015120dea06e3ffb3a72 (patch)
tree11cfe159707930cb78cae2650c39530280a2fe21 /dev-ruby/uglifier
parentdev-python/oslo-messaging: 5.35.1 bump (diff)
downloadgentoo-98659efa306e1f08fdb2015120dea06e3ffb3a72.tar.gz
gentoo-98659efa306e1f08fdb2015120dea06e3ffb3a72.tar.bz2
gentoo-98659efa306e1f08fdb2015120dea06e3ffb3a72.zip
dev-ruby/uglifier: add 4.1.17
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.17.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
index 793e5f3581f4..652bb3193c50 100644
--- a/dev-ruby/uglifier/Manifest
+++ b/dev-ruby/uglifier/Manifest
@@ -4,3 +4,4 @@ DIST uglifier-4.1.12.tar.gz 199867 BLAKE2B 858cd1b04880775815a36515fa34077a59899
DIST uglifier-4.1.14.tar.gz 200188 BLAKE2B ef75c4e678987cc7b640cd2efd003352da978d6bc18c688670cbe08101475f3eec26880a764eb30e1c1f1694b2fdaeee3b13c825c79c0d09940824d2e6876674 SHA512 5f9c4f608e2e76e8eebaeec9dc90a100f367db79ca4a559cceb11984fc030360861fd8796cbfc67b2346b0d6b344eda647e14fa9ae29dd246a1a9b76a8d59c42
DIST uglifier-4.1.15.tar.gz 200245 BLAKE2B 3e709eaa2394f611fdcb1996656e5531014c1cd492615f39d7309fe4089311e3838887981e5c7cc224261d4aae60bf928b8dd866985acae284c1eb5fc81906ea SHA512 673d4db046455bbde93d5542cbc2caab1f3265a8679955250227f631a58bbb303e04f92699da14aeb2f986c84c62b74f61f048e0f8625886c4f11cfe59e5ed23
DIST uglifier-4.1.16.tar.gz 200320 BLAKE2B 3c23cc25c03a4c335b2866dee7aed34e3b32987960f5a7b8e376e3ba2dd858081286dda164fc39a55bcf0be29910fe90064ac1129e0aa370d118b5a83a2feec0 SHA512 25eccabfcf1fe2fe1dd3f3afd9835d51d692f1f57060b7c281af557f31646d293f4736c162abdba276622b0cc1558820830d073006b00e8ba6213d16c0a56773
+DIST uglifier-4.1.17.tar.gz 200378 BLAKE2B a1eaed99a87366ae157173afb12df32d80db65a2a93bb58661f3e3e52efb74f4857fb2b9fad8cf9c95da7c22ba18cb778f4bf863e4857f82ba20839a266eefdb SHA512 53652323c793604fe1fb7ce96d46343399804c15a68d474d1b6ec88a8d2e58805dd7b703851ef48710b458a23f749816f61d8717ddb05c9219524a1b102cd3f1
diff --git a/dev-ruby/uglifier/uglifier-4.1.17.ebuild b/dev-ruby/uglifier/uglifier-4.1.17.ebuild
new file mode 100644
index 000000000000..b822aa8c1b9d
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-4.1.17.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
+}