summaryrefslogtreecommitdiff
path: root/dev-ruby/pdf-reader
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/pdf-reader')
-rw-r--r--dev-ruby/pdf-reader/Manifest2
-rw-r--r--dev-ruby/pdf-reader/pdf-reader-2.12.0.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest
index 100484ad008b..522561317c07 100644
--- a/dev-ruby/pdf-reader/Manifest
+++ b/dev-ruby/pdf-reader/Manifest
@@ -1,5 +1,7 @@
DIST pdf-reader-1.4.1.tar.gz 10236680 BLAKE2B 86fb137c65b47717e758473b94ddbbf52def3ae0edaecd7b5eb3f0d880f664c9ff6097221f43d64247b006ed18220f4f9a469d6b8574592750a1d8a468ce7ddb SHA512 aaa53dafc2d58dc591f708941907ecf14b1ee73362a7bd6d34659103d51effa90888560733747ca1bfe3d217cb6834109e06b024f40a95214880ca42f54054e5
DIST pdf-reader-2.11.0.tar.gz 26136409 BLAKE2B 4ecd75046483c194c4af643e06da23f5efabe5b7e7a81a8c66479eab4f7c231474280ac253f54ca5a4932649c495f146cdb373b8233f43735f7b4219672b0f59 SHA512 a6e7c915170ba31f4889b854cbdcf02e3733b8ba9f0673e057f6b27021c1385c2099e073c82563f2c411174efe646c3f1c656ba7f56ab3fe30f9615acdd597fa
+DIST pdf-reader-2.12.0.tar.gz 26530597 BLAKE2B 77cdac5f998b0e3f2a61406937483f1dc81dc982af47ad4b7fc59cb0e3e776fc082d54adc9f241c31aede3533e1efadffb43144f949927f2f5af7dd5e62a0558 SHA512 47ea75b2e773cee27fa2e395c29346b2ba9b0d542c46bf953fe875548f0788f945ef1dd466d7c519130a05e01e52e6aa0c905cfd2c406041ffa8f92c6e15b407
EBUILD pdf-reader-1.4.1-r4.ebuild 1159 BLAKE2B bae18dc4bd7730c49102e3cdd5a59f578174ec998f5b79100591f0149b94eea992ef4cd6b898eb5a16b846f52203dd6064692c9092c7b4f79adebaae50367848 SHA512 fa241cc4d8f8d8824793f6c542b8dc56312add53d425ea711c0d7b35e2efa3b5a912fa904ea14661bfc3b5b4ed43e1f2d690928ded9a91ea90f86e712bca530d
EBUILD pdf-reader-2.11.0.ebuild 1090 BLAKE2B 39f8447ddff159ab6784c3eb29f1bb667e910364b5de9739b6ce20d9bd64991f5b3658cb00625a63b5c452516d1359b4142cf455dd8a4bdc5542ce27266b13d9 SHA512 276fe7729c1c78642aa29dc3806c49c33f49c918827a74d85b5d14cc8df22ac55413b16fe4fbbd5c933747210f2f0ef866a1dbcb05f516055881d734e13ede52
+EBUILD pdf-reader-2.12.0.ebuild 1076 BLAKE2B 92b19d5780930ae9a4e6441e4133cc2c7644deff531650cf4ca844453c2c73bb9dba2c53dccbfc79c68323bdbcd15662ba999bb3d1318382b24560a8f43301c7 SHA512 83d9cf5ed80796459160607f8536d564dca7c4bdf790876c20260bb0db715dc4533a79785cdd1fedcf587c3f26b6e938dd385026b3c202ac22bc7c6d33be7c03
MISC metadata.xml 341 BLAKE2B f8cb66bab4f3e19575ab8fea37585e35760e4eb05e75f2da902104198fb3eabde71aced9a21d95093826ebdd5151d47b93505910607460e900fd30cf984c068a SHA512 0ed5fa988875afa0aef09acd9af4c7fa319c5d23a4240b9a7c0b064c41a5da623bffdfe7883960590967d75f0b0a9ed7cc09c100a667b49c034088109b0f7c1e
diff --git a/dev-ruby/pdf-reader/pdf-reader-2.12.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.12.0.ebuild
new file mode 100644
index 000000000000..a4e973baa941
--- /dev/null
+++ b/dev-ruby/pdf-reader/pdf-reader-2.12.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GITHUB_USER=yob
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md TODO"
+
+RUBY_FAKEGEM_GEMSPEC="pdf-reader.gemspec"
+
+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="2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/afm-0.2.1 =dev-ruby/afm-0.2*
+ =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
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc examples/*
+}