summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-12-30 12:46:30 +0000
committerHans de Graaff <graaff@gentoo.org>2011-12-30 12:46:30 +0000
commit0c3c7da94da26b55532c058ad36bae64bf95b2d7 (patch)
tree5fe492bc4a668866eb29a455af4d2261de65aedb /dev-ruby/uglifier
parentInitial commit wrt #374741 by Marcel Partap (diff)
downloadhistorical-0c3c7da94da26b55532c058ad36bae64bf95b2d7.tar.gz
historical-0c3c7da94da26b55532c058ad36bae64bf95b2d7.tar.bz2
historical-0c3c7da94da26b55532c058ad36bae64bf95b2d7.zip
Initial import. Needed for default Rails 3.1 asset pipeline.
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/uglifier')
-rw-r--r--dev-ruby/uglifier/ChangeLog10
-rw-r--r--dev-ruby/uglifier/Manifest14
-rw-r--r--dev-ruby/uglifier/metadata.xml5
-rw-r--r--dev-ruby/uglifier/uglifier-1.2.1.ebuild34
4 files changed, 63 insertions, 0 deletions
diff --git a/dev-ruby/uglifier/ChangeLog b/dev-ruby/uglifier/ChangeLog
new file mode 100644
index 000000000000..719b9fe7d092
--- /dev/null
+++ b/dev-ruby/uglifier/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/uglifier
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uglifier/ChangeLog,v 1.1 2011/12/30 12:46:30 graaff Exp $
+
+*uglifier-1.2.1 (30 Dec 2011)
+
+ 30 Dec 2011; Hans de Graaff <graaff@gentoo.org> +uglifier-1.2.1.ebuild,
+ +metadata.xml:
+ Initial import. Needed for default Rails 3.1 asset pipeline.
+
diff --git a/dev-ruby/uglifier/Manifest b/dev-ruby/uglifier/Manifest
new file mode 100644
index 000000000000..3965fbe72d86
--- /dev/null
+++ b/dev-ruby/uglifier/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST uglifier-1.2.1.gem 42496 RMD160 93601d1329607fbf6c1b005ad7a51324149be92c SHA1 03df5b77c33b67f593f66b20bf89a136e5c97239 SHA256 e76356d4a85abd2413bbf4bbabc866a3e19db7f016438e9e32801f2ec06cb5d0
+EBUILD uglifier-1.2.1.ebuild 862 RMD160 b04f52c5ccda314dfe1fc44c0ae4d4a906af2d98 SHA1 c9957e9a5dfa864659f1ff227dad1e7d3ad630ee SHA256 730f3df47d54d40a86f606ae21d1c6f27ea2bcefc1b8fa3eae8b140e130be34a
+MISC ChangeLog 393 RMD160 2300b179d790783f658390bf550a3b501cd9f68d SHA1 09090cbdd3b5b0c82a7d43697b15e5b0cd5a0f6c SHA256 53781fd0790c6fa8aaae021728cbb5ae188b3c9ffe922db2af0391c94a7e21b3
+MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk79sqwACgkQiIP6VqMIqNdxewD/eUXUpBC4rpxT0XeRfX+QlUQU
+09MYUhj+cwBTgnPV9DgA/0ScMdGRYW6uhcWSqdAWXaQHaVtFovBtbL9e7YWp3eW/
+=TK9B
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/uglifier/metadata.xml b/dev-ruby/uglifier/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/uglifier/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/uglifier/uglifier-1.2.1.ebuild b/dev-ruby/uglifier/uglifier-1.2.1.ebuild
new file mode 100644
index 000000000000..52bb7d481433
--- /dev/null
+++ b/dev-ruby/uglifier/uglifier-1.2.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uglifier/uglifier-1.2.1.ebuild,v 1.1 2011/12/30 12:46:30 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="CHANGELOG.md README.md"
+
+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
+}