summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-05-21 07:25:06 +0200
committerHans de Graaff <graaff@gentoo.org>2016-05-21 07:25:06 +0200
commit011a86f42c8c1f82b1d64a255c0e9caf1b56312f (patch)
treea2ac36fdb8e063889d54c4b683287289f56aa6fc /dev-ruby/rinku
parentdev-libs/wlc: use new X configure option in live ebuild (diff)
downloadgentoo-011a86f42c8c1f82b1d64a255c0e9caf1b56312f.tar.gz
gentoo-011a86f42c8c1f82b1d64a255c0e9caf1b56312f.tar.bz2
gentoo-011a86f42c8c1f82b1d64a255c0e9caf1b56312f.zip
dev-ruby/rinku: add 2.0.0
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/rinku')
-rw-r--r--dev-ruby/rinku/Manifest1
-rw-r--r--dev-ruby/rinku/rinku-2.0.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/rinku/Manifest b/dev-ruby/rinku/Manifest
index 88a94cd5aaa9..3d1e0a7dc934 100644
--- a/dev-ruby/rinku/Manifest
+++ b/dev-ruby/rinku/Manifest
@@ -1 +1,2 @@
DIST rinku-1.7.3.gem 16384 SHA256 eb5cec33af86da3002e66470d9a741a0726d6864a69b580abc798931b4b706ca SHA512 6cd56d21f9366ca1550d62b864f3160f8426412caefb47343152c856a122e729c6e38d339075bdda8614e36c3c5f498001c0e943db455e55ee401e9cdf320c94 WHIRLPOOL 8c9b365dace46b58f4e8b3c70a5b98cb90aa383c1e40cea0c0919f58c4a7ea94cfb44b07415fd9044a09a76e8a70d03fc10b13556f0e89fbea4b81c3ecad02bb
+DIST rinku-2.0.0.gem 20992 SHA256 3e695aaf9f24baba3af45823b5c427b58a624582132f18482320e2737f9f8a85 SHA512 c21c19bc364039ddc44a82e352427dcba4cb6a42249ad66707cad4addcb756f62fe0da44d76d35b4d80d1af540517d5de358ef2c5594b0739915bad8ce368f9d WHIRLPOOL f6620bebf5b9fe46a47671f31b171e679c57fcf7e9060880e7e3fa5a30101db3ade78f0dc576e08ba73ca28d3ff9b9212867cadaf7c80cf69e6c50471c2f024f
diff --git a/dev-ruby/rinku/rinku-2.0.0.ebuild b/dev-ruby/rinku/rinku-2.0.0.ebuild
new file mode 100644
index 000000000000..8b8b74172abe
--- /dev/null
+++ b/dev-ruby/rinku/rinku-2.0.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+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() {
+ ${RUBY} -Ilib test/autolink_test.rb || die
+}