From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6E48913835B for ; Thu, 11 Mar 2021 09:31:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5EC4DE09D0; Thu, 11 Mar 2021 09:31:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4708DE09D0 for ; Thu, 11 Mar 2021 09:31:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A1741340E18 for ; Thu, 11 Mar 2021 09:31:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1073590 for ; Thu, 11 Mar 2021 09:31:38 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1615455090.1f486be8ac4db3a38d89122d6754c311235ac1bf.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rdiscount/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rdiscount/rdiscount-2.2.0.2-r1.ebuild X-VCS-Directories: dev-ruby/rdiscount/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 1f486be8ac4db3a38d89122d6754c311235ac1bf X-VCS-Branch: master Date: Thu, 11 Mar 2021 09:31:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5b83bade-7d97-4aac-97b0-b60bd0ce3ca5 X-Archives-Hash: d27beb10b8772bb1c5be578dd7a4aed5 commit: 1f486be8ac4db3a38d89122d6754c311235ac1bf Author: Hans de Graaff gentoo org> AuthorDate: Thu Mar 11 08:52:58 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Mar 11 09:31:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f486be8 dev-ruby/rdiscount: ruby30; fix tests, extension Closes: https://bugs.gentoo.org/775377 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rdiscount/rdiscount-2.2.0.2-r1.ebuild | 43 ++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/dev-ruby/rdiscount/rdiscount-2.2.0.2-r1.ebuild b/dev-ruby/rdiscount/rdiscount-2.2.0.2-r1.ebuild new file mode 100644 index 00000000000..ce044b2b484 --- /dev/null +++ b/dev-ruby/rdiscount/rdiscount-2.2.0.2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_TASK_TEST="test:unit" + +RUBY_FAKEGEM_TASK_DOC="doc man" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) + +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 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +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 + + # Remove obsolete -rubygems argument, bug 775377 + sed -i -e '/-rubygems/ s:^:#:' Rakefile || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/rdiscount.1 +}