summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-09-29 08:12:10 +0200
committerHans de Graaff <graaff@gentoo.org>2019-09-29 11:06:52 +0200
commit1bc6a12ddac8096c43d46cde4e4fdb0e3157e11b (patch)
tree0a33181bf8f37bfde10169c07ba5d9ec907c87f2 /dev-ruby
parentdev-ruby/tty-command: add 0.9.0 (diff)
downloadgentoo-1bc6a12ddac8096c43d46cde4e4fdb0e3157e11b.tar.gz
gentoo-1bc6a12ddac8096c43d46cde4e4fdb0e3157e11b.tar.bz2
gentoo-1bc6a12ddac8096c43d46cde4e4fdb0e3157e11b.zip
dev-ruby/uglifier: add 4.2.0
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/uglifier/Manifest1
-rw-r--r--dev-ruby/uglifier/uglifier-4.2.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
index 7115090dd20e..96413eba98c1 100644
--- a/dev-ruby/uglifier/Manifest
+++ b/dev-ruby/uglifier/Manifest
@@ -1,2 +1,3 @@
DIST uglifier-4.1.19.tar.gz 200607 BLAKE2B 8e8031c162bf5d12bcd85638dcdb3da2fa2877a8246a62ab9db7cc33dfc91926076c2c7231ee3f99729e9a34e6d18f6eb296f9d67e81db818a8fd7997210900f SHA512 dce40803daf0101f4d9934e2b100688ce08019ef5660f9851ea5d65743dad071d6af4bc7ee00b65ae4d245602d6a2678c3d90e838f9d7e1935fec46fe0f3c2da
DIST uglifier-4.1.20.tar.gz 200470 BLAKE2B 64cd5a7dffc0becd66003658db3a0870de6c379755bc3025334c5374061240de1493d877c9c638f7be0438fdef4f58813fe89c77413c4e0a8d489e35b431259e SHA512 9846612e00568b359672f6bce78302839b8b1f9d2bf607338bd299ed7c3c3e948a223903077eea419aed3f0bf47df8024531ddd7ca645df90203ba2d50d99992
+DIST uglifier-4.2.0.tar.gz 201913 BLAKE2B 90390308f116dc82fbf889b603b1ecd118adf9a6f541def408fe3229db02d78f3f7ba790822cc5524870317131260ad7f8c7191a69a9e158a43d9c3822fcc95f SHA512 869194db8fffdb7d243fc5639e0286d73dfa3ca9485efda760a9eb00424e6797f0bf7aa9f6c8f410daac556e01b6a1a1701300bc373eb492ea21d864494f8246
diff --git a/dev-ruby/uglifier/uglifier-4.2.0.ebuild b/dev-ruby/uglifier/uglifier-4.2.0.ebuild
new file mode 100644
index 000000000000..0d8a2324de6c
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-4.2.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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
+}