summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-11-30 06:59:13 +0100
committerHans de Graaff <graaff@gentoo.org>2017-11-30 06:59:13 +0100
commit820c924211f6d9281e0dcb03982549b30cae02d1 (patch)
tree7072ead6fb70bf7d3f510aae09c6042b70a4a389 /dev-ruby
parentleechcraft.eclass: fix comment about supported EAPI versions (diff)
downloadgentoo-820c924211f6d9281e0dcb03982549b30cae02d1.tar.gz
gentoo-820c924211f6d9281e0dcb03982549b30cae02d1.tar.bz2
gentoo-820c924211f6d9281e0dcb03982549b30cae02d1.zip
dev-ruby/rinku: add 2.0.4
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rinku/Manifest5
-rw-r--r--dev-ruby/rinku/rinku-2.0.4.ebuild31
2 files changed, 34 insertions, 2 deletions
diff --git a/dev-ruby/rinku/Manifest b/dev-ruby/rinku/Manifest
index 03bf8f149893..37b4d036b1cb 100644
--- a/dev-ruby/rinku/Manifest
+++ b/dev-ruby/rinku/Manifest
@@ -1,2 +1,3 @@
-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
+DIST rinku-2.0.2.gem 20992 BLAKE2B e3a58131c81089469ad86a800a29c438b7f59b6867cdb663bda286420a0b1302f4781ce6e72e7d4fbc6f09c3303798b39d5936ebf4b657c174d5ccddeb048686 SHA512 1f2e048d491cfe01133b2c3bc1d95e80231370e39005b1ff7077e7feecdae62de4c80b000caf78ac89d2b30881ab5d8aba0f15583b2f5a7a43d42451ee3dc752
+DIST rinku-2.0.3.gem 21504 BLAKE2B fc345827aea6f63b797f65451d2242cebcd9af57a62278b0e966ec7edbc5922f2e9e5b01a89712947a193015bda8daae2038d6f690ceb224332d8967cc5b7e0f SHA512 7a17fc2be0e5d69e7c2448337de42c3725090a00e44dafe49a1bb721995299712e31afa5de5c397641238926f1a3c067b65caaf1bd8799211415fb95e942588e
+DIST rinku-2.0.4.gem 21504 BLAKE2B cabb91710eca3f6d4985042045c1ebd37063abc466a2071c9a1c2f16f6efcdb80914eec855cc5c0795b428b285fcd6d760437ab2716cb3358e9a8e96b7916367 SHA512 fab4b47a22153d96f71e8b3c6e91595ba3ce97002233b035ab8ebcd6fb46a8e4ca2f82e49ed6d7a510338bd2ebec1b2e67d9146e589535fc8a072ae69e39d58f
diff --git a/dev-ruby/rinku/rinku-2.0.4.ebuild b/dev-ruby/rinku/rinku-2.0.4.ebuild
new file mode 100644
index 000000000000..a98662646a90
--- /dev/null
+++ b/dev-ruby/rinku/rinku-2.0.4.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
+}