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 1A7BA158087 for ; Sun, 24 Oct 2021 08:05:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72D15E0863; Sun, 24 Oct 2021 08:05:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D6BBE0863 for ; Sun, 24 Oct 2021 08:05:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5BD0134365C for ; Sun, 24 Oct 2021 08:05:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 773ED176 for ; Sun, 24 Oct 2021 08:05:53 +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: <1635062748.309dabff0c2ea96123975c64a3f8e9e499685401.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/redcarpet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/redcarpet/redcarpet-3.5.1-r1.ebuild X-VCS-Directories: dev-ruby/redcarpet/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 309dabff0c2ea96123975c64a3f8e9e499685401 X-VCS-Branch: master Date: Sun, 24 Oct 2021 08:05:53 +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: 75160619-87fd-492e-bc64-3563bbf66e9f X-Archives-Hash: 103b782e6c656635a455bba2e1bd1834 commit: 309dabff0c2ea96123975c64a3f8e9e499685401 Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 24 07:58:51 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 24 08:05:48 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=309dabff dev-ruby/redcarpet: add ruby30; fix extension install Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/redcarpet/redcarpet-3.5.1-r1.ebuild | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/dev-ruby/redcarpet/redcarpet-3.5.1-r1.ebuild b/dev-ruby/redcarpet/redcarpet-3.5.1-r1.ebuild new file mode 100644 index 00000000000..9372c2e1321 --- /dev/null +++ b/dev-ruby/redcarpet/redcarpet-3.5.1-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOCS="README.markdown CONTRIBUTING.md CHANGELOG.md doc" +RUBY_FAKEGEM_TASK_TEST="test:unit" + +RUBY_FAKEGEM_GEMSPEC="redcarpet.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/redcarpet/extconf.rb) + +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 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +IUSE="" + +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 +}