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 696B11382C5 for ; Sat, 27 Feb 2021 06:23:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6EAB4E08BD; Sat, 27 Feb 2021 06:23:04 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 55E41E08BD for ; Sat, 27 Feb 2021 06:23:04 +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 113B53410FB for ; Sat, 27 Feb 2021 06:23:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8CA3C531 for ; Sat, 27 Feb 2021 06:23:01 +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: <1614406970.29c626040018b3e0b9584067aa2d331f7e5d912d.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/prawn/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/prawn/Manifest dev-ruby/prawn/prawn-2.4.0.ebuild X-VCS-Directories: dev-ruby/prawn/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 29c626040018b3e0b9584067aa2d331f7e5d912d X-VCS-Branch: master Date: Sat, 27 Feb 2021 06:23:01 +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: 4b5f7dfb-c770-4158-9310-e92c91007ffc X-Archives-Hash: e625be336806208af49bd04ec182846f commit: 29c626040018b3e0b9584067aa2d331f7e5d912d Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 27 06:21:14 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 27 06:22:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29c62604 dev-ruby/prawn: add 2.4.0 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/prawn/Manifest | 1 + dev-ruby/prawn/prawn-2.4.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-ruby/prawn/Manifest b/dev-ruby/prawn/Manifest index be2ada80449..bf3480acb19 100644 --- a/dev-ruby/prawn/Manifest +++ b/dev-ruby/prawn/Manifest @@ -1 +1,2 @@ DIST prawn-2.2.2.tar.gz 5215413 BLAKE2B a906491b60e68de0308fec74131286d3f3c868a38dad9a4cf2ce28424cd746f96b530c7e9ea49a74af58d63a7ed9669f2b110dd8dff315c4943272e3a6b822b3 SHA512 8bd47f80d7873f9435eac7f42015b2ca87f703b5d091ec0e9710f2d4b26e3c7b83aad03de3bf44ca5d5fe07a2bf9af32c59d479373543459576e7a0088715a1b +DIST prawn-2.4.0.tar.gz 5239492 BLAKE2B 5435d7715d2b3020316a04cbf2db1b7793435f2d05d34aae4832e12908a928f689c86d358562e7cd1c2675171a1743757097f0af3357eb667e4e2b9462890590 SHA512 e9fcc31ad2b5aa23592a8bf9419153fcb3080e00e53c9a91b50edc526631227fe86769eeb09336d267ea8f0a94f12336f71b24adc4d5cd9e750367d51f07c867 diff --git a/dev-ruby/prawn/prawn-2.4.0.ebuild b/dev-ruby/prawn/prawn-2.4.0.ebuild new file mode 100644 index 00000000000..db051feed41 --- /dev/null +++ b/dev-ruby/prawn/prawn-2.4.0.ebuild @@ -0,0 +1,37 @@ +# 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_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 Ruby )" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend "=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 +}