From fc5cf1aa5857ce6ee846c1feb9a14f72817843a9 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 3 Dec 2017 07:35:56 +0100 Subject: dev-ruby/uglifier: add 4.0.0 Package-Manager: Portage-2.3.13, Repoman-2.3.3 --- dev-ruby/uglifier/Manifest | 1 + dev-ruby/uglifier/uglifier-4.0.0.ebuild | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 dev-ruby/uglifier/uglifier-4.0.0.ebuild (limited to 'dev-ruby/uglifier') diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest index 7eba7e610952..fb602c58c1b1 100644 --- a/dev-ruby/uglifier/Manifest +++ b/dev-ruby/uglifier/Manifest @@ -1,2 +1,3 @@ DIST uglifier-2.7.2.gem 84480 BLAKE2B a446f21f9b8682ba7ec020d355ec5b6eb573649116fddfe2d4d74849c59f6697065ca2837fb040a91a3f43264a71280660b947b138fd0fe67806f2c18631f498 SHA512 03c8fffbd385db9ee0fa8f422bf571ba99803f810828d536f1b00bc99a21108ac0ed232015d39f1ab88441fef0a3371df10944873fbadae6c8bd2624e3e1a65d DIST uglifier-3.2.0.tar.gz 169273 BLAKE2B b0263853c882859db8cc04c19e7f7f4bcbcef9d0b4080e414c9e1c86b691307c59d694abb33582485ea432b787f36445a49c39ece298d90806838bc56a4b7360 SHA512 5bc577753c175cddd7b3241f7343b75f593141c3bfa9ffa1325f7ade4a9acaf3b47e711007b5708f7cea1a7e9e768cbc3bc845d9eb362f877fe2fc83c047bb57 +DIST uglifier-4.0.0.tar.gz 183935 BLAKE2B 355081d2aebcd6e40081564397b7ae121922d33ead6942f15fc92b9743c575756513a1125810900edcc9a327ff3011e64e539d1bbadb02a06db5a5099dadf0d5 SHA512 b4bd78ea20ed3eefa9bb8d2645da9d3a1898c2715084c47ad8f3d5d0bbeae68ac84f59a449a68dee9c9eda158a2c3e8bff23507d06fc489f00ba53057911bcd1 diff --git a/dev-ruby/uglifier/uglifier-4.0.0.ebuild b/dev-ruby/uglifier/uglifier-4.0.0.ebuild new file mode 100644 index 000000000000..40301044c9ee --- /dev/null +++ b/dev-ruby/uglifier/uglifier-4.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 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 +} -- cgit v1.2.3-65-gdbad