summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-09-17 07:41:26 +0200
committerHans de Graaff <graaff@gentoo.org>2018-09-17 08:14:23 +0200
commit55b488cd46f5cfd240f0bac56e2b146e6521669e (patch)
tree0f9176acd5fe9a15d1559fe96d2b3b895a74f92a /dev-ruby/uglifier
parentapp-portage/repoman: amd64 stable wrt bug #666374 (diff)
downloadgentoo-55b488cd46f5cfd240f0bac56e2b146e6521669e.tar.gz
gentoo-55b488cd46f5cfd240f0bac56e2b146e6521669e.tar.bz2
gentoo-55b488cd46f5cfd240f0bac56e2b146e6521669e.zip
dev-ruby/uglifier: add 4.1.19
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.19.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
index a2a830a8e607..126ad66364aa 100644
--- a/dev-ruby/uglifier/Manifest
+++ b/dev-ruby/uglifier/Manifest
@@ -4,3 +4,4 @@ DIST uglifier-4.1.15.tar.gz 200245 BLAKE2B 3e709eaa2394f611fdcb1996656e5531014c1
DIST uglifier-4.1.16.tar.gz 200320 BLAKE2B 3c23cc25c03a4c335b2866dee7aed34e3b32987960f5a7b8e376e3ba2dd858081286dda164fc39a55bcf0be29910fe90064ac1129e0aa370d118b5a83a2feec0 SHA512 25eccabfcf1fe2fe1dd3f3afd9835d51d692f1f57060b7c281af557f31646d293f4736c162abdba276622b0cc1558820830d073006b00e8ba6213d16c0a56773
DIST uglifier-4.1.17.tar.gz 200378 BLAKE2B a1eaed99a87366ae157173afb12df32d80db65a2a93bb58661f3e3e52efb74f4857fb2b9fad8cf9c95da7c22ba18cb778f4bf863e4857f82ba20839a266eefdb SHA512 53652323c793604fe1fb7ce96d46343399804c15a68d474d1b6ec88a8d2e58805dd7b703851ef48710b458a23f749816f61d8717ddb05c9219524a1b102cd3f1
DIST uglifier-4.1.18.tar.gz 200342 BLAKE2B d3c7c25465759a3cca72feb1d0072d3d563e8d06da57f6e8dd46945707e8d82823f49e19b0cc88e9e04cfd73001a1207229bf290c05a7c68f43418613d9dcdc3 SHA512 ab877707e2236e73d669eedeb17d4cba39c9b199f2ec27aa9b7b7a66d3c07754fb29dd3e4523ddf40bd215d9f985edb3e9205ccb326c0d5487cf9d011777fdb6
+DIST uglifier-4.1.19.tar.gz 200607 BLAKE2B 8e8031c162bf5d12bcd85638dcdb3da2fa2877a8246a62ab9db7cc33dfc91926076c2c7231ee3f99729e9a34e6d18f6eb296f9d67e81db818a8fd7997210900f SHA512 dce40803daf0101f4d9934e2b100688ce08019ef5660f9851ea5d65743dad071d6af4bc7ee00b65ae4d245602d6a2678c3d90e838f9d7e1935fec46fe0f3c2da
diff --git a/dev-ruby/uglifier/uglifier-4.1.19.ebuild b/dev-ruby/uglifier/uglifier-4.1.19.ebuild
new file mode 100644
index 000000000000..b822aa8c1b9d
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-4.1.19.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
+}