diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-04-13 07:21:22 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-04-13 07:21:22 +0200 |
commit | 413a13c3cc8a3525d5b82155bfa082aba1cea5af (patch) | |
tree | b4a1eff3bb504268ff3139e3946e76f60ff59296 /dev-ruby/unf_ext | |
parent | dev-perl/PDF-Create: Bump to version 1.420.0 (diff) | |
download | gentoo-413a13c3cc8a3525d5b82155bfa082aba1cea5af.tar.gz gentoo-413a13c3cc8a3525d5b82155bfa082aba1cea5af.tar.bz2 gentoo-413a13c3cc8a3525d5b82155bfa082aba1cea5af.zip |
dev-ruby/unf_ext: add 0.0.7.3
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/unf_ext')
-rw-r--r-- | dev-ruby/unf_ext/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/unf_ext/unf_ext-0.0.7.3.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/unf_ext/Manifest b/dev-ruby/unf_ext/Manifest index 82a7b8d85040..13e08c5f47ad 100644 --- a/dev-ruby/unf_ext/Manifest +++ b/dev-ruby/unf_ext/Manifest @@ -1,2 +1,3 @@ DIST unf_ext-0.0.7.1.gem 392192 SHA256 ab58d1a808d38872817bea89fc3f055bfc250af48d9653425e35c7c18caec253 SHA512 06239dc5870ad0f345266b12ad6ed9508ab731dfd37b450d0e1eae1ef8e8301f8ad1ef7fffbbcf69b56b0af5aa257ea279dda3a252bdf397d11949e9885db3d4 WHIRLPOOL 4d5d8c6efb46bb46b65967101389b5b7414bfa507d591e29dfb9d8c354555b9b92a997f19b68e0d4aa58143bf836849f152dafc2936b13a11cac74d7063f3d16 DIST unf_ext-0.0.7.2.gem 392192 SHA256 e8fa13d09880f8d06d30a86f929a38ba0af6abe61272927a49e6796aee1aa111 SHA512 99e1cada3cc51baf52010b7569f68eff168dfb4c691645c88625738513258191e586e5d99f5ba7f528ce677fdec77a08510f77d9bf2c9234c68ac239f270fbf6 WHIRLPOOL 2e932abce52f87709dbf5f25ba8a7a32bd55410ba10b620db4d23a41855faf0da3486674ea7e9fb11849f9621d0fdbab8739c0486278026ba9e8f27ae47f5332 +DIST unf_ext-0.0.7.3.gem 398848 SHA256 11d15d7bb7ae7f1128abc6043a375aece8af907f878e51b39027b30e183367a8 SHA512 cfae54a226004dff99da2a21615a3d54d016db552cec18730e2609ac0838e03db2f877a4f161d3a2bece644dd9b4f3a450caa86d76abe68638cfda33718a72a5 WHIRLPOOL ecf173daaaa49b7044d70162371233ae9b4ae8c6837f4e3a629f44528aed14e158af726791e3b6ee162f49697eb068c9be6ca5a1cb40d046c2a9e6cd299409cd diff --git a/dev-ruby/unf_ext/unf_ext-0.0.7.3.ebuild b/dev-ruby/unf_ext/unf_ext-0.0.7.3.ebuild new file mode 100644 index 000000000000..308d306fcc67 --- /dev/null +++ b/dev-ruby/unf_ext/unf_ext-0.0.7.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +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="https://github.com/knu/ruby-unf_ext" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~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 + )" + +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}" V=1 + cp ext/unf_ext/*$(get_modname) lib/ || die +} + +each_ruby_test() { + ruby-ng_testrb-2 test/test_*.rb +} |