summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-12-31 14:18:46 +0000
committerHans de Graaff <graaff@gentoo.org>2014-12-31 14:18:46 +0000
commitdc9330eaf2fd2ecda91e9651a0d6b125fbec2c8e (patch)
tree9eb99f173bee5b167682b4a491d8d6df196b0c39 /dev-ruby
parentAdd sci-libs/libecwj2 to lcms:0 mask (diff)
downloadgentoo-2-dc9330eaf2fd2ecda91e9651a0d6b125fbec2c8e.tar.gz
gentoo-2-dc9330eaf2fd2ecda91e9651a0d6b125fbec2c8e.tar.bz2
gentoo-2-dc9330eaf2fd2ecda91e9651a0d6b125fbec2c8e.zip
Initial import. New dependency for Rails 4.2.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/loofah/ChangeLog10
-rw-r--r--dev-ruby/loofah/loofah-2.0.1.ebuild28
-rw-r--r--dev-ruby/loofah/metadata.xml5
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/loofah/ChangeLog b/dev-ruby/loofah/ChangeLog
new file mode 100644
index 000000000000..888b329a5715
--- /dev/null
+++ b/dev-ruby/loofah/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/loofah
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/loofah/ChangeLog,v 1.1 2014/12/31 14:18:46 graaff Exp $
+
+*loofah-2.0.1 (31 Dec 2014)
+
+ 31 Dec 2014; Hans de Graaff <graaff@gentoo.org> +loofah-2.0.1.ebuild,
+ +metadata.xml:
+ Initial import. New dependency for Rails 4.2.
+
diff --git a/dev-ruby/loofah/loofah-2.0.1.ebuild b/dev-ruby/loofah/loofah-2.0.1.ebuild
new file mode 100644
index 000000000000..28ef7626aba5
--- /dev/null
+++ b/dev-ruby/loofah/loofah-2.0.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/loofah/loofah-2.0.1.ebuild,v 1.1 2014/12/31 14:18:46 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A general library for manipulating and transforming HTML/XML documents and fragments."
+HOMEPAGE="https://github.com/flavorjones/loofah"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/nokogiri-1.5.9"
+
+ruby_add_bdepend "test? ( >=dev-ruby/rr-1.1.0 >=dev-ruby/hoe-2.3.0 )"
+
+all_ruby_prepare() {
+ # Avoid test failing on different whitespace.
+ sed -i -e '/test_fragment_whitewash_on_microsofty_markup/askip "gentoo"' test/integration/test_ad_hoc.rb || die
+}
diff --git a/dev-ruby/loofah/metadata.xml b/dev-ruby/loofah/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/loofah/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>