summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-01-01 07:59:41 +0100
committerHans de Graaff <graaff@gentoo.org>2017-01-01 07:59:41 +0100
commitc8deb73fcb166392ab50d655356636e05dca4115 (patch)
tree5b8b07b7f693dd12ef362c6139ac9ec0fc54541d /dev-ruby/redcarpet
parentdev-ruby/dbf: cleanup (diff)
downloadgentoo-c8deb73fcb166392ab50d655356636e05dca4115.tar.gz
gentoo-c8deb73fcb166392ab50d655356636e05dca4115.tar.bz2
gentoo-c8deb73fcb166392ab50d655356636e05dca4115.zip
dev-ruby/redcarpet: add 3.4.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/redcarpet')
-rw-r--r--dev-ruby/redcarpet/Manifest1
-rw-r--r--dev-ruby/redcarpet/redcarpet-3.4.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/redcarpet/Manifest b/dev-ruby/redcarpet/Manifest
index c3c2e9b653af..c48f90f416e9 100644
--- a/dev-ruby/redcarpet/Manifest
+++ b/dev-ruby/redcarpet/Manifest
@@ -2,3 +2,4 @@ DIST redcarpet-3.2.3.tar.gz 100245 SHA256 1de6a5b6e3d672b3f3102a6e4b9e98cc9b847d
DIST redcarpet-3.3.2.tar.gz 102671 SHA256 67781fd469195fae606f96be0c51658fc74f0dfd559afcaef8f7e506faef0790 SHA512 3d9d7d77bcc7f16e5710cc1ca2a95dff969ce927538d475c37ce82138de9c3ff88a235c65c97e017e5e0258ebaa52eeed6c2d2e5e34011f7f13f0f8392e580a0 WHIRLPOOL 188dd0f735a7e54e9589a4096b4ea052f63180a32330e6196ddf9e9afb29376422d7dcebdb965996b3cb01c861eb1016f02c8d6435d06a23a95e947b31861bbb
DIST redcarpet-3.3.3.tar.gz 103667 SHA256 3014febfac7afb25edac5f10e4ccf070d5dfb1f278c8a76623eb1903052b093c SHA512 60a69b5e41c152c2f42c69fd8c36020325131e57d8bc5d8f02dccfa8688e48a7bfbebaba38cd1cf7547864b308b676281d77e9e0ef182a2416b3a9e3a8ef7357 WHIRLPOOL 9ecf4d194706f05091cae1ddf08c84b92e5b4ab8e3d0836761a156972f93bdc63f585ed84b037054ec936675882940a306f3d7568284259ffe60284ffcfdeeba
DIST redcarpet-3.3.4.tar.gz 103992 SHA256 ccafe9bf0459ec123efb4696674d447b44c267d5a4f1bd16813611a6a523a088 SHA512 bcd4123ea8d6e9cd28e78bd21d3e2aa90e6522e9fee3dd321a6c23d6450bde478054e2fde6b0c8a35d8b9af61d3b5ca3a9f2ebe19d89aea5091f7505bfe92d42 WHIRLPOOL d63f34bc46e0a0191907883d359654f8050d267c2f07a8ff4d07a995c3aedf09274a086f20f890303250494a82bc9d45de2c8bbdea741c405c0b3a700878d1c0
+DIST redcarpet-3.4.0.tar.gz 105525 SHA256 983624338dedb815db4ba5624f0f52c7447c6071acc9491c6faf199e287e5f30 SHA512 25ed1fd35ebf815f396ed819baec69aae366bafab3983a53d364b1ef0d3f18cecaa523953d12cb0e5b896c30ac86e000318f33c633047bd271362474b9b8f877 WHIRLPOOL 52cfe191280e54b2ab85ad5b2fe5321271fdde46ec3ed006289711618441ae9b2a9570c826e2b5b5a9af8df6834f572a0814a627b2fe4440b5dc183a868f73ad
diff --git a/dev-ruby/redcarpet/redcarpet-3.4.0.ebuild b/dev-ruby/redcarpet/redcarpet-3.4.0.ebuild
new file mode 100644
index 000000000000..3015dac4b3e5
--- /dev/null
+++ b/dev-ruby/redcarpet/redcarpet-3.4.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 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_EXTRADOCS="README.markdown CONTRIBUTING.md CHANGELOG.md doc"
+RUBY_FAKEGEM_TASK_TEST="test:unit"
+inherit multilib ruby-fakegem
+
+SRC_URI="https://github.com/vmg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+DESCRIPTION="A Ruby wrapper for Upskirt"
+HOMEPAGE="https://github.com/vmg/redcarpet"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/nokogiri )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' -e 's/=> :compile//' Rakefile || die
+
+ # Avoid unneeded dependency on rake-compiler
+ sed -i -e '/extensiontask/I s:^:#:' Rakefile || die
+}
+
+each_ruby_prepare() {
+ sed -i -e "s#ruby#${RUBY}#" bin/redcarpet || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext/redcarpet extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake V=1 -Cext/${PN}
+ cp ext/${PN}/*$(get_modname) lib || die
+}