summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-05-13 06:35:19 +0000
committerHans de Graaff <graaff@gentoo.org>2012-05-13 06:35:19 +0000
commitfa51958a240432a6f0743aa1932c1001031afd02 (patch)
tree7b6f03ad140b061ee2fe6a53a8feb61b501eb37d /dev-ruby/unf
parentMake the -9999 ebuild clone the submodules too to fix the build since modules... (diff)
downloadgentoo-2-fa51958a240432a6f0743aa1932c1001031afd02.tar.gz
gentoo-2-fa51958a240432a6f0743aa1932c1001031afd02.tar.bz2
gentoo-2-fa51958a240432a6f0743aa1932c1001031afd02.zip
Initial import. New dependency for dev-ruby/mechanize.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/unf')
-rw-r--r--dev-ruby/unf/ChangeLog10
-rw-r--r--dev-ruby/unf/metadata.xml5
-rw-r--r--dev-ruby/unf/unf-0.0.5.ebuild35
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/unf/ChangeLog b/dev-ruby/unf/ChangeLog
new file mode 100644
index 000000000000..716a4ca746dd
--- /dev/null
+++ b/dev-ruby/unf/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/unf
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/unf/ChangeLog,v 1.1 2012/05/13 06:35:19 graaff Exp $
+
+*unf-0.0.5 (13 May 2012)
+
+ 13 May 2012; Hans de Graaff <graaff@gentoo.org> +unf-0.0.5.ebuild,
+ +metadata.xml:
+ Initial import. New dependency for dev-ruby/mechanize.
+
diff --git a/dev-ruby/unf/metadata.xml b/dev-ruby/unf/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/unf/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/unf/unf-0.0.5.ebuild b/dev-ruby/unf/unf-0.0.5.ebuild
new file mode 100644
index 000000000000..f6b87a8b8526
--- /dev/null
+++ b/dev-ruby/unf/unf-0.0.5.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/unf/unf-0.0.5.ebuild,v 1.1 2012/05/13 06:35:19 graaff Exp $
+
+EAPI=4
+
+USE_RUBY="ruby18 ruby19 ree18 jruby"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby."
+HOMEPAGE="https://github.com/knu/ruby-unf"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+# jruby already has support for UNF so it does not need the extension.
+USE_RUBY=ruby18 ruby_add_rdepend "dev-ruby/unf_ext"
+USE_RUBY=ruby19 ruby_add_rdepend "dev-ruby/unf_ext"
+USE_RUBY=ree18 ruby_add_rdepend "dev-ruby/unf_ext"
+
+ruby_add_bdepend "test? ( dev-ruby/shoulda )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/,/end/ s:^:#:' test/helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S testrb test/test_*.rb || die
+}