diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-04-22 05:41:46 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-04-22 05:41:46 +0000 |
commit | 1b0c312199fa0adca4d1140c5db7b0fc22499153 (patch) | |
tree | 505e2fc3b399e49c5260b22c7ca904d4f06eaded /dev-ruby | |
parent | Version bump. (diff) | |
download | gentoo-2-1b0c312199fa0adca4d1140c5db7b0fc22499153.tar.gz gentoo-2-1b0c312199fa0adca4d1140c5db7b0fc22499153.tar.bz2 gentoo-2-1b0c312199fa0adca4d1140c5db7b0fc22499153.zip |
Version bump.
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/unf_ext/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/unf_ext/unf_ext-0.0.6.ebuild | 47 |
2 files changed, 54 insertions, 2 deletions
diff --git a/dev-ruby/unf_ext/ChangeLog b/dev-ruby/unf_ext/ChangeLog index cb3830b1605d..afbd630a821e 100644 --- a/dev-ruby/unf_ext/ChangeLog +++ b/dev-ruby/unf_ext/ChangeLog @@ -1,6 +1,11 @@ # 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.7 2012/11/25 19:11:48 tomka Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/unf_ext/ChangeLog,v 1.8 2013/04/22 05:41:46 graaff Exp $ + +*unf_ext-0.0.6 (22 Apr 2013) + + 22 Apr 2013; Hans de Graaff <graaff@gentoo.org> +unf_ext-0.0.6.ebuild: + Version bump. 25 Nov 2012; Thomas Kahle <tomka@gentoo.org> unf_ext-0.0.5.ebuild: marked ~x86 per bug 432830 diff --git a/dev-ruby/unf_ext/unf_ext-0.0.6.ebuild b/dev-ruby/unf_ext/unf_ext-0.0.6.ebuild new file mode 100644 index 000000000000..d07ffc24bec4 --- /dev/null +++ b/dev-ruby/unf_ext/unf_ext-0.0.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 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.6.ebuild,v 1.1 2013/04/22 05:41:46 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc test" + +ruby_add_bdepend " + test? ( + >=dev-ruby/test-unit-2.5.1-r1 + 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 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" + cp ext/unf_ext/*$(get_modname) lib/ || die +} + +each_ruby_test() { + ruby-ng_testrb-2 test/test_*.rb +} |