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 D6415138359 for ; Sat, 21 Nov 2020 08:32:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3308E07B3; Sat, 21 Nov 2020 08:32:16 +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 DA07EE07B3 for ; Sat, 21 Nov 2020 08:32:16 +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 649C7340E2D for ; Sat, 21 Nov 2020 08:32:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA97044C for ; Sat, 21 Nov 2020 08:32:13 +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: <1605947528.87f9e7428ae9afad804ca589d6f6e95a2522a189.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/pdf-reader/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/pdf-reader/pdf-reader-1.4.1-r3.ebuild X-VCS-Directories: dev-ruby/pdf-reader/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 87f9e7428ae9afad804ca589d6f6e95a2522a189 X-VCS-Branch: master Date: Sat, 21 Nov 2020 08:32:13 +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: 765686fb-71d1-4e36-a711-1bede4898be1 X-Archives-Hash: da9c382178f151f53c607fd3ee6dfc63 commit: 87f9e7428ae9afad804ca589d6f6e95a2522a189 Author: Hans de Graaff gentoo org> AuthorDate: Sat Nov 21 08:31:57 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Nov 21 08:32:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87f9e742 dev-ruby/pdf-reader: loosen ascii85 dependency Closes: https://bugs.gentoo.org/755560 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/pdf-reader/pdf-reader-1.4.1-r3.ebuild | 51 ++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/dev-ruby/pdf-reader/pdf-reader-1.4.1-r3.ebuild b/dev-ruby/pdf-reader/pdf-reader-1.4.1-r3.ebuild new file mode 100644 index 00000000000..f2a8095194b --- /dev/null +++ b/dev-ruby/pdf-reader/pdf-reader-1.4.1-r3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +GITHUB_USER=yob + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc TODO" + +RUBY_FAKEGEM_GEMSPEC="pdf-reader.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="PDF parser conforming as much as possible to the PDF specification from Adobe" +HOMEPAGE="https://github.com/yob/pdf-reader/" + +# We cannot use the gem distributions because they don't contain the +# tests' data, we have to rely on the git tags. +SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/afm-0.2.1 + =dev-ruby/ascii85-1* + =dev-ruby/hashery-2* + dev-ruby/ttfunk:* + dev-ruby/ruby-rc4" + +all_ruby_prepare() { + # Remove bundler support + sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die + + sed -i -e '/Ascii85/ s/1.0.0/1.0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc examples/* +}