summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-12-29 06:15:40 +0100
committerHans de Graaff <graaff@gentoo.org>2017-12-29 06:15:40 +0100
commitff79aafc15cd44988899885d60f36da3d68275ee (patch)
treef3818493d758302d3f844b14c981c37d4a5c70e3
parentdev-libs/openssl: Rev bump to allow building with Perl 5.26 (diff)
downloadgentoo-ff79aafc15cd44988899885d60f36da3d68275ee.tar.gz
gentoo-ff79aafc15cd44988899885d60f36da3d68275ee.tar.bz2
gentoo-ff79aafc15cd44988899885d60f36da3d68275ee.zip
dev-ruby/uglifier: add 4.1.0
Package-Manager: Portage-2.3.13, Repoman-2.3.3
-rw-r--r--dev-ruby/uglifier/Manifest1
-rw-r--r--dev-ruby/uglifier/uglifier-4.1.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
index 8a0154a16321..9ae011330d78 100644
--- a/dev-ruby/uglifier/Manifest
+++ b/dev-ruby/uglifier/Manifest
@@ -3,3 +3,4 @@ DIST uglifier-3.2.0.tar.gz 169273 BLAKE2B b0263853c882859db8cc04c19e7f7f4bcbcef9
DIST uglifier-4.0.0.tar.gz 183935 BLAKE2B 355081d2aebcd6e40081564397b7ae121922d33ead6942f15fc92b9743c575756513a1125810900edcc9a327ff3011e64e539d1bbadb02a06db5a5099dadf0d5 SHA512 b4bd78ea20ed3eefa9bb8d2645da9d3a1898c2715084c47ad8f3d5d0bbeae68ac84f59a449a68dee9c9eda158a2c3e8bff23507d06fc489f00ba53057911bcd1
DIST uglifier-4.0.1.tar.gz 184457 BLAKE2B bc922057d42868f56d3755f51b9bc39460369ee32d76b97222ef3fb05dbf0c84752236a545ffe9fcd17c1a529a429b9591bcf7d4623255e85cc9ebeb693dd595 SHA512 966a7a5c0c15146feba8633f247b9ec5d7a895c8e2a993b784836c13f3d88077e4ba701c1809588463da78d894508cb35e4d958b86c4801782f9449a93963d05
DIST uglifier-4.0.2.tar.gz 184915 BLAKE2B eaac0fae612f357a51332db420e31d568b120dfe199d4f838db92082af888085123f322c4666d9c7d350ef3a51dc2d09ef78d11887771e8c414c9211688f6bfa SHA512 77795a2b20ac6e5fc1c12cb95f868062e040988e1efc9cd7c13cd093f0ad5447fd09b1d88d5c1c53d69c9ea4e9fa22c9331df53421af5ecd3010138e91a9a87b
+DIST uglifier-4.1.0.tar.gz 189074 BLAKE2B b18e2661a1e87eaf2436d9ed89aebb05b164523bf478a3f0b5ec2587100621fa75eac38f0ac2ab724a10add7aff2a96947c32babdd246d0583f757682d704375 SHA512 46191a961471db2f515e28229e6febe3a1e448730eece965307e6993b3b0282e69ba1c6cb8cc232897b4e29eeaea4b2981af4cafa2d1afc384ad39a049c26f60
diff --git a/dev-ruby/uglifier/uglifier-4.1.0.ebuild b/dev-ruby/uglifier/uglifier-4.1.0.ebuild
new file mode 100644
index 000000000000..40301044c9ee
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-4.1.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
+}