summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-01-28 11:20:54 +0000
committerHans de Graaff <graaff@gentoo.org>2012-01-28 11:20:54 +0000
commit193f71b3e0e95e55982600d746be078c21fbcc98 (patch)
tree6623ce5ee5a745807b676238e4433aab12c7fdf1 /dev-ruby/uglifier
parentVersion bump. (diff)
downloadgentoo-2-193f71b3e0e95e55982600d746be078c21fbcc98.tar.gz
gentoo-2-193f71b3e0e95e55982600d746be078c21fbcc98.tar.bz2
gentoo-2-193f71b3e0e95e55982600d746be078c21fbcc98.zip
Version bump.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/uglifier')
-rw-r--r--dev-ruby/uglifier/ChangeLog7
-rw-r--r--dev-ruby/uglifier/uglifier-1.2.2.ebuild33
2 files changed, 39 insertions, 1 deletions
diff --git a/dev-ruby/uglifier/ChangeLog b/dev-ruby/uglifier/ChangeLog
index b91608ca8866..e95b4806982e 100644
--- a/dev-ruby/uglifier/ChangeLog
+++ b/dev-ruby/uglifier/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/uglifier
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uglifier/ChangeLog,v 1.3 2012/01/03 18:11:26 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uglifier/ChangeLog,v 1.4 2012/01/28 11:20:54 graaff Exp $
+
+*uglifier-1.2.2 (28 Jan 2012)
+
+ 28 Jan 2012; Hans de Graaff <graaff@gentoo.org> +uglifier-1.2.2.ebuild:
+ Version bump.
03 Jan 2012; Hans de Graaff <graaff@gentoo.org> uglifier-1.2.1.ebuild:
Fix extradocs to be installed. Fixes bug 397503.
diff --git a/dev-ruby/uglifier/uglifier-1.2.2.ebuild b/dev-ruby/uglifier/uglifier-1.2.2.ebuild
new file mode 100644
index 000000000000..ff274423e832
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-1.2.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uglifier/uglifier-1.2.2.ebuild,v 1.1 2012/01/28 11:20:54 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ruby19 ree18"
+
+# Avoid building documentation to avoid dependencies on bundler and jeweler
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby wrapper for UglifyJS JavaScript compressor."
+HOMEPAGE="https://github.com/lautis/uglifier"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="test"
+
+# Tests requires additional uglifyjs test code in a vendored git submodule.
+RESTRICT="test"
+
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
+
+ruby_add_rdepend ">=dev-ruby/execjs-0.3.0 >=dev-ruby/multi_json-1.0.2"
+
+each_ruby_test() {
+ ${RUBY} -S rspec spec || die
+}