summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-11-22 06:44:08 +0100
committerHans de Graaff <graaff@gentoo.org>2018-11-22 06:44:08 +0100
commit00b4f709c998b78a0f75211246d4d3f971e522d6 (patch)
tree95a3fddb387b931ddd2daf072d466da84c9f01dd /dev-ruby/uglifier
parentdev-ruby/uglifier: cleanup (diff)
downloadgentoo-00b4f709c998b78a0f75211246d4d3f971e522d6.tar.gz
gentoo-00b4f709c998b78a0f75211246d4d3f971e522d6.tar.bz2
gentoo-00b4f709c998b78a0f75211246d4d3f971e522d6.zip
dev-ruby/uglifier: add 4.1.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/uglifier')
-rw-r--r--dev-ruby/uglifier/Manifest1
-rw-r--r--dev-ruby/uglifier/uglifier-4.1.20.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
index 7cffd4d01358..b0e70ef98ed3 100644
--- a/dev-ruby/uglifier/Manifest
+++ b/dev-ruby/uglifier/Manifest
@@ -1,3 +1,4 @@
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.1.19.tar.gz 200607 BLAKE2B 8e8031c162bf5d12bcd85638dcdb3da2fa2877a8246a62ab9db7cc33dfc91926076c2c7231ee3f99729e9a34e6d18f6eb296f9d67e81db818a8fd7997210900f SHA512 dce40803daf0101f4d9934e2b100688ce08019ef5660f9851ea5d65743dad071d6af4bc7ee00b65ae4d245602d6a2678c3d90e838f9d7e1935fec46fe0f3c2da
+DIST uglifier-4.1.20.tar.gz 200470 BLAKE2B 64cd5a7dffc0becd66003658db3a0870de6c379755bc3025334c5374061240de1493d877c9c638f7be0438fdef4f58813fe89c77413c4e0a8d489e35b431259e SHA512 9846612e00568b359672f6bce78302839b8b1f9d2bf607338bd299ed7c3c3e948a223903077eea419aed3f0bf47df8024531ddd7ca645df90203ba2d50d99992
diff --git a/dev-ruby/uglifier/uglifier-4.1.20.ebuild b/dev-ruby/uglifier/uglifier-4.1.20.ebuild
new file mode 100644
index 000000000000..3cccf13fa9d9
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-4.1.20.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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
+}