summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-04-09 07:07:28 +0000
committerHans de Graaff <graaff@gentoo.org>2012-04-09 07:07:28 +0000
commit34282215133d4092feeb4f33122b68190e696ce7 (patch)
treed671d413622cbfb1aa567b9ec02a0bbc5870b7dc /dev-ruby/unf_ext
parent[bump] dev-perl/strictures-1.3.1 (diff)
downloadgentoo-2-34282215133d4092feeb4f33122b68190e696ce7.tar.gz
gentoo-2-34282215133d4092feeb4f33122b68190e696ce7.tar.bz2
gentoo-2-34282215133d4092feeb4f33122b68190e696ce7.zip
Initial import. Implicit dependency for new versions of mechanize.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/unf_ext')
-rw-r--r--dev-ruby/unf_ext/ChangeLog10
-rw-r--r--dev-ruby/unf_ext/metadata.xml5
-rw-r--r--dev-ruby/unf_ext/unf_ext-0.0.4.ebuild41
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/unf_ext/ChangeLog b/dev-ruby/unf_ext/ChangeLog
new file mode 100644
index 000000000000..f4a20977ddc7
--- /dev/null
+++ b/dev-ruby/unf_ext/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/unf_ext
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/unf_ext/ChangeLog,v 1.1 2012/04/09 07:07:28 graaff Exp $
+
+*unf_ext-0.0.4 (09 Apr 2012)
+
+ 09 Apr 2012; Hans de Graaff <graaff@gentoo.org> +unf_ext-0.0.4.ebuild,
+ +metadata.xml:
+ Initial import. Implicit dependency for new versions of mechanize.
+
diff --git a/dev-ruby/unf_ext/metadata.xml b/dev-ruby/unf_ext/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/unf_ext/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_ext/unf_ext-0.0.4.ebuild b/dev-ruby/unf_ext/unf_ext-0.0.4.ebuild
new file mode 100644
index 000000000000..9443ee2853d0
--- /dev/null
+++ b/dev-ruby/unf_ext/unf_ext-0.0.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/unf_ext/unf_ext-0.0.4.ebuild,v 1.1 2012/04/09 07:07:28 graaff Exp $
+
+EAPI=4
+
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem multilib
+
+DESCRIPTION="Unicode Normalization Form support library for CRuby"
+HOMEPAGE="http://sourceforge.jp/projects/unf/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc test"
+
+ruby_add_bdepend "doc? ( dev-ruby/hoe dev-ruby/jeweler )
+ test? ( dev-ruby/shoulda )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/,/end/ s:^:#:' Rakefile test/helper.rb || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext/unf_ext extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake -Cext/unf_ext
+ cp ext/unf_ext/*$(get_modname) lib/ || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S testrb test/test_*.rb || die
+}