summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-03-06 07:38:01 +0100
committerHans de Graaff <graaff@gentoo.org>2024-03-06 07:38:01 +0100
commit1ca15e98ddffe32739b7d3dc7ab273b31ffedf95 (patch)
tree5588d19cca1c17ebfb39b046d0633c5d4b68a55f /dev-ruby
parentdev-ruby/mime-types-data: drop 3.2023.0808, 3.2023.1003 (diff)
downloadgentoo-1ca15e98ddffe32739b7d3dc7ab273b31ffedf95.tar.gz
gentoo-1ca15e98ddffe32739b7d3dc7ab273b31ffedf95.tar.bz2
gentoo-1ca15e98ddffe32739b7d3dc7ab273b31ffedf95.zip
dev-ruby/pdf-core: add 0.10.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/pdf-core/Manifest1
-rw-r--r--dev-ruby/pdf-core/pdf-core-0.10.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/pdf-core/Manifest b/dev-ruby/pdf-core/Manifest
index fe4a9126cb7e..0f644c5c0ee2 100644
--- a/dev-ruby/pdf-core/Manifest
+++ b/dev-ruby/pdf-core/Manifest
@@ -1 +1,2 @@
+DIST pdf-core-0.10.0.tar.gz 51497 BLAKE2B 014c753e7adda2762862b721322679ab415b56fbadc1a82b02cf55e40eec4d1f88d3b622a2e312236187c5ec8b7d227fa4b8c73cf9fe7fb5527e8bb973b5e288 SHA512 07dbd2ea685a28933a4498e3d1e3a0d98691372d5fdd15238c74c68f49ce781535a77c055ae703ac32160e9ca35d115690cb40d26a56147a086181c0163d2e84
DIST pdf-core-0.9.0.tar.gz 45772 BLAKE2B 860d0995af759315564b91264f5d6072b8a1530f4c994700e5d2632e0d8c09fd48c9b0991ff8026f68db07c43c412bf13ad73913a82977dad0bf6477fff81dfe SHA512 668b19cd722c56c00330ed81ad4fb8fb8bfa7290c2a8a3d23ab4ca92e7f9ea44729314aaaf68da9cb02dd73643b650ea87437d8d8aba5075342917ebd7ffa2be
diff --git a/dev-ruby/pdf-core/pdf-core-0.10.0.ebuild b/dev-ruby/pdf-core/pdf-core-0.10.0.ebuild
new file mode 100644
index 000000000000..0e04f853bc04
--- /dev/null
+++ b/dev-ruby/pdf-core/pdf-core-0.10.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Implements low level PDF features for Prawn"
+HOMEPAGE="https://github.com/prawnpdf/pdf-core/"
+SRC_URI="https://github.com/prawnpdf/pdf-core/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( Ruby GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+
+ruby_add_bdepend "test? ( =dev-ruby/pdf-inspector-1*
+ || ( dev-ruby/pdf-reader:2 >=dev-ruby/pdf-reader-1.2:0 )
+)"
+
+all_ruby_prepare() {
+ sed -i -e "/[Bb]undler/d" spec/spec_helper.rb || die
+}