diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-04-23 07:20:14 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-04-23 07:20:14 +0200 |
commit | ccaeb34b3b1c95d504ff9569ad332f02652db6e6 (patch) | |
tree | 029b64a52bd3df7f23adc2f567a3d400ef9adab4 /dev-ruby/rinku/rinku-2.0.6.ebuild | |
parent | dev-ruby/hashdiff: add 0.3.9 (diff) | |
download | gentoo-ccaeb34b3b1c95d504ff9569ad332f02652db6e6.tar.gz gentoo-ccaeb34b3b1c95d504ff9569ad332f02652db6e6.tar.bz2 gentoo-ccaeb34b3b1c95d504ff9569ad332f02652db6e6.zip |
dev-ruby/rinku: add 2.0.6
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/rinku/rinku-2.0.6.ebuild')
-rw-r--r-- | dev-ruby/rinku/rinku-2.0.6.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/rinku/rinku-2.0.6.ebuild b/dev-ruby/rinku/rinku-2.0.6.ebuild new file mode 100644 index 000000000000..22158d3edb46 --- /dev/null +++ b/dev-ruby/rinku/rinku-2.0.6.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit multilib ruby-fakegem + +DESCRIPTION="A Ruby library that does autolinking" +HOMEPAGE="https://github.com/vmg/rinku" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/${PN}$(get_modname) lib/ || die +} + +each_ruby_test() { + MT_NO_PLUGINS=true ${RUBY} -Ilib test/autolink_test.rb || die +} |