summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-04 09:13:50 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-04 09:13:50 +0000
commit0bb8253b38dc8638a46b66ba909c1bfd1054e1ef (patch)
treed408176c81eb4f81d8b3e95a66abc8eedec620e4 /dev-ruby
parent1f709ed82b8014b4c156f87c66cee7d0d1d3905d (diff)
gentoo auto-resync : 04:11:2022 - 09:13:50
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/Manifest.gzbin112231 -> 112226 bytes
-rw-r--r--dev-ruby/capybara/Manifest2
-rw-r--r--dev-ruby/capybara/capybara-3.38.0.ebuild61
-rw-r--r--dev-ruby/pdf-reader/Manifest2
-rw-r--r--dev-ruby/pdf-reader/pdf-reader-2.11.0.ebuild46
5 files changed, 111 insertions, 0 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz
index 8b696e60aca6..62d462f9929e 100644
--- a/dev-ruby/Manifest.gz
+++ b/dev-ruby/Manifest.gz
Binary files differ
diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest
index 28ded39b569d..89951a28695f 100644
--- a/dev-ruby/capybara/Manifest
+++ b/dev-ruby/capybara/Manifest
@@ -1,5 +1,7 @@
DIST capybara-3.36.0.gem 374272 BLAKE2B 51579941b95ab317fa0f7d9a21d3ad40a130a60c457f9a5d9921dac5b17bb339a423a21aa16d350da57602b22b0001c6ed2b1b5b038bb16cf56d268bd5a38ead SHA512 7ffc9d3e4058b08acd1cb223eb0313112354783cc4464f8f0747561caa45425f8623be7052f331677a66a7b9f5e645e48ae0118fe78c2d185408e5279e66f169
DIST capybara-3.37.1.gem 376320 BLAKE2B 79a5f379d70d612402379ad8743384844e7ab85e40c96b8a10794d35f48f078b9e26eaef5f6311aa65b6fae1fe130436288fce2077309559703e46da9e5f12bd SHA512 6a602dfcd61529f6b89a0ad85cf567fcb952d0c8033bde605121ad867308b1a16c6b3d5bfd7f4c33c47c5616c365c6b034bdf8dca096a14b3447be6adc885111
+DIST capybara-3.38.0.gem 379392 BLAKE2B e1ba89daa08e43e5f97ed5c649a3ea82c27e2ee7a737844f83ba68f0379cc4ef2a0349bc2ae9af76a5cca3659c11f1ed0d1b7dcae7f7701305ca3644e40a4dee SHA512 530db1102e8bc1bfa1ac55d28a725a26a7c6c98baf89655bb15436217e99c7131edb204638f51831c416e4898b9e7c653b83c74abf8aa644eb4da0ad8cddd44c
EBUILD capybara-3.36.0.ebuild 1853 BLAKE2B ce172b8f2a02a121524f84b98977a0aa1ed0b5f4aa0f9d5c6e77ff82f66da92dd085bb7138bac5b8ac0ba8b900f68cac75a00a23fa7ae327ce8cc0f4f75a052f SHA512 666cd1e0b36b223d8916fef964585decf8ab9d435788f1db781d4511979e17c3001add78e13762e03e00f9c37c2638c0b79ba4be4bb662a0839aa995f3ac4824
EBUILD capybara-3.37.1.ebuild 1880 BLAKE2B 7338b59597c1d465dd24d1505c91926489fc941d7c6bd1ac9a6d7f91f7ac57b909eedda244f7f07a925e6203ff661bf4ad61d53b10b1a82e3bbec31fb9ee243b SHA512 d7a84b8db8f9ee36e97833afbc8d661d1dc028493d8ce041f825285586354cdd6b1c46ca11ce8c6b0acc2dfa1e2e12b67cc70c4fadc05bcfee5fe9a2c32dc6ee
+EBUILD capybara-3.38.0.ebuild 1880 BLAKE2B 7338b59597c1d465dd24d1505c91926489fc941d7c6bd1ac9a6d7f91f7ac57b909eedda244f7f07a925e6203ff661bf4ad61d53b10b1a82e3bbec31fb9ee243b SHA512 d7a84b8db8f9ee36e97833afbc8d661d1dc028493d8ce041f825285586354cdd6b1c46ca11ce8c6b0acc2dfa1e2e12b67cc70c4fadc05bcfee5fe9a2c32dc6ee
MISC metadata.xml 344 BLAKE2B cc8fd629cca0ed4f66836cefd43f13a45baa7bb13d157fa7f90c61cdd4a12d71ef773ef9daa8dc6e5b07dcadd1b52a258995136a0792ec1870eb93fbb90cd61d SHA512 dae769c0ee80ebfdbd8b86b471fc13c3ac656bf556e554d3d5ce80108f6f6ab79dfe7a54f51b78af3d29f22807fa5ac5be48bfcf8655c60309bef7e3f80cea5d
diff --git a/dev-ruby/capybara/capybara-3.38.0.ebuild b/dev-ruby/capybara/capybara-3.38.0.ebuild
new file mode 100644
index 000000000000..1bae1ded608f
--- /dev/null
+++ b/dev-ruby/capybara/capybara-3.38.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+# Rake tasks are not distributed in the gem.
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit virtualx ruby-fakegem
+
+DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications"
+HOMEPAGE="https://github.com/jnicklas/capybara"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+SLOT="3"
+IUSE="test"
+
+DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )"
+
+ruby_add_bdepend "test? (
+ dev-ruby/rspec:3
+ >=dev-ruby/launchy-2.4.0
+ || ( dev-ruby/selenium-webdriver:4 >=dev-ruby/selenium-webdriver-3.142.7:3 )
+ || ( dev-ruby/sinatra:3 dev-ruby/sinatra:2 )
+ www-servers/puma
+)"
+
+ruby_add_rdepend "
+ dev-ruby/addressable
+ dev-ruby/matrix
+ >=dev-ruby/mini_mime-0.1.3
+ >=dev-ruby/nokogiri-1.8:0
+ >=dev-ruby/rack-1.6.0:*
+ >=dev-ruby/rack-test-0.6.3:*
+ dev-ruby/regexp_parser:2
+ >=dev-ruby/xpath-3.2:3"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' -e '/statistics/Id' spec/spec_helper.rb || die
+
+ # Avoid window-manager specific tests (sizes are specific for fluxbox)
+ sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die
+
+ # Avoid spec that requires unpackaged geckodriver
+ #sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
+
+ # Avoid test dependency on puma server for now
+ sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
+
+ # Update spec to catch the right error code. This seems to have
+ # changed recently accross ruby versions.
+ sed -i -e '/raise_error/ s/EOFError/Net::ReadTimeout/' spec/server_spec.rb || die
+}
+
+each_ruby_test() {
+ virtx ${RUBY} -Ilib -S rspec-3 spec
+}
diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest
index cf00f51ee5ba..f52d12bcb576 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.10.0.tar.gz 26135942 BLAKE2B f7ea5611e4fa66cc61990db523d76fe21ad82e6714a8f0cf9aa9c150f3fe2e1cfcdb07cdd0237e8ab8a3ae99fe774956c0ae3b67cfb10d55dd4497388cf5b7ff SHA512 c90db31c39454d8781dcb0259e87ce44bb19f9d4cf146bc3909bf335c36c1f678032efd7a5a2f1225304d99e855166b80a4273e56802d7276f70f546bd3fc563
+DIST pdf-reader-2.11.0.tar.gz 26136409 BLAKE2B 4ecd75046483c194c4af643e06da23f5efabe5b7e7a81a8c66479eab4f7c231474280ac253f54ca5a4932649c495f146cdb373b8233f43735f7b4219672b0f59 SHA512 a6e7c915170ba31f4889b854cbdcf02e3733b8ba9f0673e057f6b27021c1385c2099e073c82563f2c411174efe646c3f1c656ba7f56ab3fe30f9615acdd597fa
EBUILD pdf-reader-1.4.1-r4.ebuild 1166 BLAKE2B 68d9a8fcde1c09a66cfa55fe8c98582117c4d2cebf39bb69a96e1def30ba729b0ebe82d6e3877e6c81ee4162e060662de2bb9609a0e2e28b2d876abd70a8c64c SHA512 658e304cc080bd98fdc80fb076abfeb67845dccc17c50d0d5fff43094d5708ece08f9904b4f48b9105ada09369e489c12a0de7259099e4e97dc7c92b580cff5a
EBUILD pdf-reader-2.10.0.ebuild 1090 BLAKE2B 70ed85c56a35befbca982e1df9ac2dd17d09fbe1063d5cab4bd0fab7407ab18069be00878b1203547aa2c33a78d1b49d543f67a1ce5238b18c55e9d67f9066a3 SHA512 57f486c6eb26f7c18069f2e9d85e844d5a003acf9992c94a97c42de9a0684089a3c7d9ae92d52069b3ff07592ec997c0ac762c98bd78627626c4adf3171d531b
+EBUILD pdf-reader-2.11.0.ebuild 1083 BLAKE2B 48444ae3506772e4c04cd489c3fa42a009349d1ea0e254c2e5b7709fb8650d6cbe8950236af0e489cd3d7b4d4a5c25024da4638af10b3b445cdd0ccdced5c643 SHA512 890c370ac8d5df7c9935df130310e955cc9383b841115fc9be3b17f45e508370b17a9c5ac7e8112d7b469f4f1840e77b6a1739c488402bb01f71d49a5a125d53
MISC metadata.xml 341 BLAKE2B f8cb66bab4f3e19575ab8fea37585e35760e4eb05e75f2da902104198fb3eabde71aced9a21d95093826ebdd5151d47b93505910607460e900fd30cf984c068a SHA512 0ed5fa988875afa0aef09acd9af4c7fa319c5d23a4240b9a7c0b064c41a5da623bffdfe7883960590967d75f0b0a9ed7cc09c100a667b49c034088109b0f7c1e
diff --git a/dev-ruby/pdf-reader/pdf-reader-2.11.0.ebuild b/dev-ruby/pdf-reader/pdf-reader-2.11.0.ebuild
new file mode 100644
index 000000000000..118c2fcdefa1
--- /dev/null
+++ b/dev-ruby/pdf-reader/pdf-reader-2.11.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GITHUB_USER=yob
+
+USE_RUBY="ruby27 ruby30 ruby31"
+
+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/*
+}