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 2A4BD13835A for ; Thu, 11 Mar 2021 09:31:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FBCCE09D8; Thu, 11 Mar 2021 09:31:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 6A00AE09D8 for ; Thu, 11 Mar 2021 09:31:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 52CA0340E11 for ; Thu, 11 Mar 2021 09:31:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5CB1659C for ; Thu, 11 Mar 2021 09:31:39 +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: <1615455092.1424be3187c6e09f75936d7e1aaff58c7fe1f4c7.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/ronn/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/ronn/ronn-0.7.3-r4.ebuild X-VCS-Directories: app-text/ronn/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 1424be3187c6e09f75936d7e1aaff58c7fe1f4c7 X-VCS-Branch: master Date: Thu, 11 Mar 2021 09:31:39 +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: dc265399-cf1a-4a2e-8b04-f958023d8e8e X-Archives-Hash: ff54a52d4959989fdb65dd83aee9900e commit: 1424be3187c6e09f75936d7e1aaff58c7fe1f4c7 Author: Hans de Graaff gentoo org> AuthorDate: Thu Mar 11 09:31:21 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Mar 11 09:31:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1424be31 app-text/ronn: add ruby27; EAPI=7 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> app-text/ronn/ronn-0.7.3-r4.ebuild | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/app-text/ronn/ronn-0.7.3-r4.ebuild b/app-text/ronn/ronn-0.7.3-r4.ebuild new file mode 100644 index 00000000000..ae854cc6075 --- /dev/null +++ b/app-text/ronn/ronn-0.7.3-r4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="AUTHORS CHANGES README.md" + +inherit ruby-fakegem + +DESCRIPTION="Converts simple, human readable textfiles to roff for terminal display, and HTML" +HOMEPAGE="https://github.com/rtomayko/ronn/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + +IUSE="" + +DEPS=" + >=dev-ruby/hpricot-0.8.2 + >=dev-ruby/mustache-0.7.0 + >=dev-ruby/rdiscount-1.5.8" + +ruby_add_rdepend "${DEPS}" + +ruby_add_bdepend "${DEPS}" + +all_ruby_prepare() { + # Avoid test failing due to changes in hash handling in ruby 1.8.7: + # https://github.com/rtomayko/ronn/issues/56 + sed -i -e '81 s:^:#:' test/test_ronn.rb || die +} + +each_ruby_prepare() { + # Make sure that we always use the right interpreter during tests. + sed -i -e "/output/ s:ronn:${RUBY} bin/ronn:" test/test_ronn.rb +} + +all_ruby_compile() { + PATH="${S}/bin:${PATH}" rake man || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/ronn.1 man/ronn-format.7 +}