dev-ruby/rdiscount: cleanup

Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
Hans de Graaff
2018-07-22 20:23:11 +02:00
parent 047d53cad8
commit fd7d0bcdbe
2 changed files with 0 additions and 48 deletions

View File

@@ -1,2 +1 @@
DIST rdiscount-2.1.8.gem 67072 BLAKE2B c5295e9e78763f65815aaeaad01e6a5f5cafe2df66466d2f0fc31930db96403819ab3b27883b8a94a50f0d470059014fc39a5e24f62f8ec22cbe88f9bfabcdeb SHA512 a5d674a02514cb37d7e3a73bcc9131b434f624115e03f1ef5cef3ec4a378bb961966ef20daf93279b40715dcd19a0b79ccc43405fbe4523ac298f3255dca83f3
DIST rdiscount-2.2.0.1.gem 68096 BLAKE2B 71ea7010116739e8c61aab91c2cc4a86cf679b4ae10221135c0bad854822a9a81969e927ef898c0ebf753811205ad98258c4e7c4b16f9e18a81bb01137a79fc9 SHA512 81a477782b9829ac5e68ab390ef00b7f470bb4bd84e86ce28dd9abbb71aab6fd17b67416078dd7d4e0fc7e0c8eb78250b7a71a2f24d2bd236e861cb445f9feb6

View File

@@ -1,47 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
RUBY_FAKEGEM_TASK_TEST="test:unit"
RUBY_FAKEGEM_TASK_DOC="doc man"
RUBY_FAKEGEM_EXTRADOC="README.markdown"
inherit multilib ruby-fakegem
DESCRIPTION="Implementation of John Gruber's Markdown"
HOMEPAGE="https://github.com/rtomayko/rdiscount"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x64-macos"
IUSE=""
all_ruby_prepare() {
# Hanna is broken for us and therefore we don't have it in portage.
sed -i -e 's/hanna/rdoc/' Rakefile || die
# Remove rule that will force a rebuild when running tests.
sed -i -e "/task 'test:unit' => \[:build\]/d" Rakefile || die
# Provide RUBY variable no longer provided by rake.
sed -i -e "1 iRUBY=${RUBY}" Rakefile || die
}
each_ruby_configure() {
${RUBY} -Cext extconf.rb || die
}
each_ruby_compile() {
emake V=1 -Cext || die
cp ext/*$(get_modname) lib/ || die
}
all_ruby_install() {
all_fakegem_install
doman man/rdiscount.1
}