summaryrefslogtreecommitdiff
path: root/dev-ruby/pdf-reader
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /dev-ruby/pdf-reader
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-ruby/pdf-reader')
-rw-r--r--dev-ruby/pdf-reader/Manifest3
-rw-r--r--dev-ruby/pdf-reader/pdf-reader-1.4.1-r3.ebuild51
-rw-r--r--dev-ruby/pdf-reader/pdf-reader-2.4.1.ebuild48
3 files changed, 102 insertions, 0 deletions
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest
index 75a0a99c9e38..5ea6beee4046 100644
--- a/dev-ruby/pdf-reader/Manifest
+++ b/dev-ruby/pdf-reader/Manifest
@@ -1,5 +1,8 @@
DIST pdf-reader-1.4.1.tar.gz 10236680 BLAKE2B 86fb137c65b47717e758473b94ddbbf52def3ae0edaecd7b5eb3f0d880f664c9ff6097221f43d64247b006ed18220f4f9a469d6b8574592750a1d8a468ce7ddb SHA512 aaa53dafc2d58dc591f708941907ecf14b1ee73362a7bd6d34659103d51effa90888560733747ca1bfe3d217cb6834109e06b024f40a95214880ca42f54054e5
DIST pdf-reader-2.4.0.tar.gz 11025697 BLAKE2B 6886090ce7e293280db434ab7a8e866f11fa8debad3767ea5fee337f481a8695c98bc9dbd46e7e29b132f7f9675a0ce13b957962189bcffe46d37d826e9a2bef SHA512 965b016f8d71e46f1f483c48470049b2ae7eebe72b8e7ae9e50a7ebbf6e72e409e84bf4a6e612f6b76713afd6b38f7fc7f24ae5e898d12fa8f65e3878575c090
+DIST pdf-reader-2.4.1.tar.gz 12453907 BLAKE2B 9ba4aef6c8bd8ef4cb696e7afd3a47578b16ccc82ee065f49d092200c39bf1b218e886f63af8f38e1a7ba6ae2884021a3759753044b2af583454ce301d4b8341 SHA512 84c30fb8ff521b3d3c86348668ce5bacca8e82d414e35f59aaf6e04a1dfa87b3beead2a527efc42d80534358f27af6bea445f49fdc223ecdc61a910ddb7ca5e2
EBUILD pdf-reader-1.4.1-r2.ebuild 1129 BLAKE2B c5e8d7a19c8ec4f504bf8a8c782a1e8be9314f98ac6c088ee12aecff88a6e57fe9322b03b98f4945d196f907de34b87ad224cdb17e8836ed52ac78f814f1cf0c SHA512 9dc7540d7232bb34b2edf9175fc0e42a898d7cecb9c1f21f4261c020884ac4e6243ca22e81a96aa2a47437976124634febd94cbc33135d67f9df5d6078142278
+EBUILD pdf-reader-1.4.1-r3.ebuild 1197 BLAKE2B 73ccfe23a60594aa0c17a58139a55f33581c3c2b732e4a92be89e8ef66dc545472b5b5f958255a9322e569bb386bcaede77eac94172f1a9b3075915aca2aa771 SHA512 511b1d15521c6efebd390ebfbc94c6257e8456dc42134d7ac2775e40bb61069edec461fd93fa11b833219fe56a1697c58a5ff63ba49d24661a1dbe1185dba544
EBUILD pdf-reader-2.4.0.ebuild 1135 BLAKE2B 7a6a729d6c5c2915ae7dc0cb1d170c067d9d4f9030b20ed0296d72d1c70b93bdab6b8f0aa1f1b98b5913d011847bd3b7441c0536a8b7a816e5b810c5fbf673a0 SHA512 46d42522a297316c62eae155e1c04080477f2a22fb5a532ea6431863df176c7748f21cc5df08bc26a42407649c8f3e16aa277ccc8da8c1f5feed845cae82a60e
+EBUILD pdf-reader-2.4.1.ebuild 1128 BLAKE2B 3161755cae0b5c4e3e221cef1acc96cb29af0571aa945e0ae658293b84f3d5282de69311b8e89b67b023b732f92f6448ab32a1bf3f8f01065b439de4d251c412 SHA512 be1781fa3d58de11b578fcbc2bbb697d0501982d2be2229f33d4f26fbe5fd98f4519c483c05548e6dd5dd89be9806cfacc62c1abff79c1d1d73ea1f627fb8ec0
MISC metadata.xml 340 BLAKE2B 870883ff3971c347d1b9a28f228629d1c972c8a7e1695d77755316a864b74a8b65190d6b1cb07e55e8138321b91a6d9afca61872434ad9c13d081ce47e75d3b6 SHA512 8746d7bf7de89f49d161945c3dd434efa275799aac66d981edabec64ee789ca5864d69f3bae738b3c5ff26cc54b1d824f7aa35b2b9c9624e07339794b56d029b
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 000000000000..f2a8095194bb
--- /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/*
+}
diff --git a/dev-ruby/pdf-reader/pdf-reader-2.4.1.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.4.1.ebuild
new file mode 100644
index 000000000000..0d9203bbcb24
--- /dev/null
+++ b/dev-ruby/pdf-reader/pdf-reader-2.4.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+GITHUB_USER=yob
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+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=""
+
+RDEPEND+=" !!<dev-ruby/pdf-reader-1.4.1-r2"
+
+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/*
+}