summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-03-23 06:47:18 +0100
committerHans de Graaff <graaff@gentoo.org>2018-03-23 06:47:18 +0100
commit05a9d167a5b1c5e37deee6469f893af92ea44a41 (patch)
tree7d11603bfa32a68107fd44118ccb6dda71a32d4a /dev-ruby/uglifier
parentdev-ruby/uglifier: cleanup (diff)
downloadgentoo-05a9d167a5b1c5e37deee6469f893af92ea44a41.tar.gz
gentoo-05a9d167a5b1c5e37deee6469f893af92ea44a41.tar.bz2
gentoo-05a9d167a5b1c5e37deee6469f893af92ea44a41.zip
dev-ruby/uglifier: add 4.1.8
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/uglifier')
-rw-r--r--dev-ruby/uglifier/Manifest1
-rw-r--r--dev-ruby/uglifier/uglifier-4.1.8.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
index d56ab7c26823..60c9764b6fc5 100644
--- a/dev-ruby/uglifier/Manifest
+++ b/dev-ruby/uglifier/Manifest
@@ -2,3 +2,4 @@ DIST uglifier-2.7.2.gem 84480 BLAKE2B a446f21f9b8682ba7ec020d355ec5b6eb573649116
DIST uglifier-3.2.0.tar.gz 169273 BLAKE2B b0263853c882859db8cc04c19e7f7f4bcbcef9d0b4080e414c9e1c86b691307c59d694abb33582485ea432b787f36445a49c39ece298d90806838bc56a4b7360 SHA512 5bc577753c175cddd7b3241f7343b75f593141c3bfa9ffa1325f7ade4a9acaf3b47e711007b5708f7cea1a7e9e768cbc3bc845d9eb362f877fe2fc83c047bb57
DIST uglifier-4.1.5.tar.gz 195773 BLAKE2B cad0a33648ab6d048390f39da51425401fba81b68b47ceec624871e980c1667527b1a4a7683ce3cf9567b61b7e506f1315473f935bd6461eecb64620afee2158 SHA512 f7824386fe09f78eabaee2b009a396970488a9d30cd0c6ff4d2bd51185180fef914f3ae0242f887dea92c833c59c72524747822d03bceef931db5091f1578990
DIST uglifier-4.1.6.tar.gz 196856 BLAKE2B c6f52908a3475101891813b670c95e8daa20e37c2d0c4b2407e740b2b51678f2c6dde53cf653c288bb392f78b38c72b7d8c0d22b68b8d1ab6386088b8abab539 SHA512 3e516c53576c15b333aaa5c133d548c2a127162ab7490ae5b97ea211b09b08d1901a438ed38156c1f2b375693bcfaca2264953c31fbc55bf7962c25927ae48d0
+DIST uglifier-4.1.8.tar.gz 198344 BLAKE2B 866cd5c94bf9907c7f025e5986d8fc3c277df48c0654376968809e3847d31aa0f4180abea0322be6b38788d977957ae3042083142e107286025c8e4ea8d0d4c8 SHA512 c5072062260d12789b1112935a26b2de1da6577a8c6f613965999d6db9c812a8ede99fd45554b513cfea0509c440c81892682d3a628077cef0c4f038ec0b085f
diff --git a/dev-ruby/uglifier/uglifier-4.1.8.ebuild b/dev-ruby/uglifier/uglifier-4.1.8.ebuild
new file mode 100644
index 000000000000..d8b0a8cf76a1
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-4.1.8.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="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 ~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
+}