From: Hans de Graaff Date: Tue, 29 Sep 2015 05:02:23 +0000 (+0200) Subject: dev-ruby/redcarpet: version bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c1614b6659295b2774d697998a63ed133f13795;p=gentoo.git dev-ruby/redcarpet: version bump Package-Manager: portage-2.2.20.1 --- diff --git a/dev-ruby/redcarpet/Manifest b/dev-ruby/redcarpet/Manifest index 746bebbc2187..3d484d848dd4 100644 --- a/dev-ruby/redcarpet/Manifest +++ b/dev-ruby/redcarpet/Manifest @@ -1,2 +1,3 @@ DIST redcarpet-3.2.3.tar.gz 100245 SHA256 1de6a5b6e3d672b3f3102a6e4b9e98cc9b847de90bd0b4aef7367676ee1876f5 SHA512 2da50028274f2431a75c74c201c650c53c4c5e717790581b927cf455813b219aeebd79c0279a19d34475f5382ebd5783be295c6ea9f26f0ad5c2e92d0a0a8332 WHIRLPOOL e2f22ea230a3318003e318b655cf6721f7f6f9c1a241e44c5e4736683d2ff99ad26bb91f7ab4d32b6f2e13940a9b809b7e8f1b5ec84b10adff2c5f0fa6fd1fd5 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 diff --git a/dev-ruby/redcarpet/redcarpet-3.3.3.ebuild b/dev-ruby/redcarpet/redcarpet-3.3.3.ebuild new file mode 100644 index 000000000000..b9cf19012b80 --- /dev/null +++ b/dev-ruby/redcarpet/redcarpet-3.3.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +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 ~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 +}