summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-05-13 04:35:56 +0000
committerHans de Graaff <graaff@gentoo.org>2014-05-13 04:35:56 +0000
commitcb715a20e9e46bb220dd271e09c31bcaba07fa97 (patch)
tree91feca8000c19ed82286eaa210ce6249122ff5a9 /dev-ruby/charlock_holmes
parentDrop pypy support due to bug 465546. (diff)
downloadgentoo-2-cb715a20e9e46bb220dd271e09c31bcaba07fa97.tar.gz
gentoo-2-cb715a20e9e46bb220dd271e09c31bcaba07fa97.tar.bz2
gentoo-2-cb715a20e9e46bb220dd271e09c31bcaba07fa97.zip
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/charlock_holmes')
-rw-r--r--dev-ruby/charlock_holmes/ChangeLog8
-rw-r--r--dev-ruby/charlock_holmes/charlock_holmes-0.7.1.ebuild47
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-ruby/charlock_holmes/ChangeLog b/dev-ruby/charlock_holmes/ChangeLog
index 765ac59774bf..83bd4f537642 100644
--- a/dev-ruby/charlock_holmes/ChangeLog
+++ b/dev-ruby/charlock_holmes/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/charlock_holmes
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/charlock_holmes/ChangeLog,v 1.1 2014/04/22 12:59:54 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/charlock_holmes/ChangeLog,v 1.2 2014/05/13 04:35:56 graaff Exp $
+
+*charlock_holmes-0.7.1 (13 May 2014)
+
+ 13 May 2014; Hans de Graaff <graaff@gentoo.org>
+ +charlock_holmes-0.7.1.ebuild:
+ Version bump.
*charlock_holmes-0.6.9.4 (22 Apr 2014)
diff --git a/dev-ruby/charlock_holmes/charlock_holmes-0.7.1.ebuild b/dev-ruby/charlock_holmes/charlock_holmes-0.7.1.ebuild
new file mode 100644
index 000000000000..c72561d78fea
--- /dev/null
+++ b/dev-ruby/charlock_holmes/charlock_holmes-0.7.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/charlock_holmes/charlock_holmes-0.7.1.ebuild,v 1.1 2014/05/13 04:35:56 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Character encoding detecting library for Ruby using ICU"
+HOMEPAGE="http://github.com/brianmario/charlock_holmes"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_bdepend "test? (
+ dev-ruby/minitest )"
+
+CDEPEND="dev-libs/icu
+ sys-libs/zlib"
+DEPEND+=" ${CDEPEND}"
+RDEPEND+=" ${CDEPEND}"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' test/helper.rb || die
+
+ # Avoid dependency on rake-compiler
+ sed -i -e '/rake-compiler/,$ s:^:#:' Rakefile || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext/${PN} extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake V=1 -Cext/${PN}
+ cp ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib test/*.rb || die
+}