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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5E6BD15800A for ; Fri, 25 Aug 2023 17:12:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7DE02BC03A; Fri, 25 Aug 2023 17:12:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D05D2BC03A for ; Fri, 25 Aug 2023 17:12:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7EB4C33BE12 for ; Fri, 25 Aug 2023 17:12:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0035BF5A for ; Fri, 25 Aug 2023 17:12:42 +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: <1692983558.01d3c587c3f7fc7387bf8866f8ced0f2bfb2ccb7.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/prawn/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/prawn/prawn-2.4.0-r3.ebuild X-VCS-Directories: dev-ruby/prawn/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 01d3c587c3f7fc7387bf8866f8ced0f2bfb2ccb7 X-VCS-Branch: master Date: Fri, 25 Aug 2023 17:12:42 +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: 90192974-0ea9-4e57-9bb1-1998751462c1 X-Archives-Hash: fb2304076939823b962f4c7d70fe36f4 commit: 01d3c587c3f7fc7387bf8866f8ced0f2bfb2ccb7 Author: Huang Rui gmail com> AuthorDate: Thu Aug 24 08:44:40 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Aug 25 17:12:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01d3c587 dev-ruby/prawn: USE_RUBY update to ruby32 Signed-off-by: Huang Rui gmail.com> Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/prawn/prawn-2.4.0-r3.ebuild | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/dev-ruby/prawn/prawn-2.4.0-r3.ebuild b/dev-ruby/prawn/prawn-2.4.0-r3.ebuild new file mode 100644 index 000000000000..4c63deb9ceee --- /dev/null +++ b/dev-ruby/prawn/prawn-2.4.0-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRAINSTALL="data" + +RUBY_FAKEGEM_GEMSPEC="prawn.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Fast, Nimble PDF Generation For Ruby" +HOMEPAGE="https://prawnpdf.org/" +SRC_URI="https://github.com/prawnpdf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="|| ( GPL-2 GPL-3 Ruby )" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend " + =dev-ruby/matrix-0.4* + =dev-ruby/pdf-core-0.9* + >=dev-ruby/ttfunk-1.7:* +" +ruby_add_bdepend "test? ( dev-ruby/coderay + >=dev-ruby/pdf-inspector-1.2.1 + >=dev-ruby/pdf-reader-1.4 + )" + +all_ruby_prepare() { + sed -i -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e "/[Bb]undler/d" Rakefile spec/spec_helper.rb || die + + # Remove test that needs unpackaged dependency + rm -f spec/prawn_manual_spec.rb || die +}