summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-08-24 06:51:15 +0200
committerHans de Graaff <graaff@gentoo.org>2017-08-24 06:51:15 +0200
commitf43b60b93f83e63c9d38fe12c4f98d7d47fb305c (patch)
tree942eb1c4ac5bb97e2b9aaed201d8e5d2e7b94bea /dev-ruby/rinku
parentdev-ruby/rinku: cleanup (diff)
downloadgentoo-f43b60b93f83e63c9d38fe12c4f98d7d47fb305c.tar.gz
gentoo-f43b60b93f83e63c9d38fe12c4f98d7d47fb305c.tar.bz2
gentoo-f43b60b93f83e63c9d38fe12c4f98d7d47fb305c.zip
dev-ruby/rinku: add 2.0.3
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/rinku')
-rw-r--r--dev-ruby/rinku/Manifest1
-rw-r--r--dev-ruby/rinku/rinku-2.0.3.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/rinku/Manifest b/dev-ruby/rinku/Manifest
index f4dd3b9800c0..03bf8f149893 100644
--- a/dev-ruby/rinku/Manifest
+++ b/dev-ruby/rinku/Manifest
@@ -1 +1,2 @@
DIST rinku-2.0.2.gem 20992 SHA256 def469eafd8f5e22c38993caad89ab52a1cc86c6dd87442ff87a6ca8716ef7e9 SHA512 1f2e048d491cfe01133b2c3bc1d95e80231370e39005b1ff7077e7feecdae62de4c80b000caf78ac89d2b30881ab5d8aba0f15583b2f5a7a43d42451ee3dc752 WHIRLPOOL 662f06b1e3375663bd7f3ebce1727563120cd1efcfc8d33a35b0cff9c4e66297d97c70031cab28cb5ed912bbf69361095de58fc9d7f43654943466d1c25a01c5
+DIST rinku-2.0.3.gem 21504 SHA256 9975af4e3379600fc3b46b961d4380e2cd2047a28fe7425ed9cb9e601e8926ac SHA512 7a17fc2be0e5d69e7c2448337de42c3725090a00e44dafe49a1bb721995299712e31afa5de5c397641238926f1a3c067b65caaf1bd8799211415fb95e942588e WHIRLPOOL 59dba658238c818c115903404d038a5fb61e611f4daa8f7e26da087341928e57b4e6ff89d024891b0351b3e754bb07799edfb5492208fa7271059f74c407caa2
diff --git a/dev-ruby/rinku/rinku-2.0.3.ebuild b/dev-ruby/rinku/rinku-2.0.3.ebuild
new file mode 100644
index 000000000000..a98662646a90
--- /dev/null
+++ b/dev-ruby/rinku/rinku-2.0.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+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
+}