diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-21 07:18:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-21 07:18:34 +0100 |
commit | e4cd098fab4f141df4d2fd24dfdc9b5f223c694b (patch) | |
tree | c8abdb0925677514b0f735dbb8f19255088ae694 /dev-ruby/webrobots | |
parent | 7d4e34d0bcf06b357fd09a059a02687acf335132 (diff) |
gentoo auto-resync : 21:06:2023 - 07:18:34
Diffstat (limited to 'dev-ruby/webrobots')
-rw-r--r-- | dev-ruby/webrobots/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/webrobots/webrobots-0.1.2-r3.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/webrobots/Manifest b/dev-ruby/webrobots/Manifest index c7b9f0f5cf24..948982dbbaa9 100644 --- a/dev-ruby/webrobots/Manifest +++ b/dev-ruby/webrobots/Manifest @@ -1,3 +1,4 @@ DIST webrobots-0.1.2.gem 24064 BLAKE2B e77c7b83b16faa7c6d65f6133a5e2231a4e270d8463251c2e6a91a5bd1f11af431d4bca4f11bf40e2e84829c1b8256a39d048a371ce4a062af6bba9dafe25c49 SHA512 8b2a27a1758e613bced16b59a2b1708f468921388882d7ea483c7b6cbb5173fa24032f4db271734820225c5e90d3f30d07c5fb682d0d807c637f535ef7256097 EBUILD webrobots-0.1.2-r2.ebuild 903 BLAKE2B 4c30f353b93baca4b3a9c43a0830f292b79375eeb11a048f7fda21b1473e9f7cd19f5b4da67eb53ff191f6e40b05c4f448e68ed4521394e29e236252760df366 SHA512 92b106ce3e87ce8bded5d95182a5407b86ee77b812932da03e5d68bbd0f631be0c08c98361e56c48f337b978181ba50724d5d95d68f2ecaf3fef1386acdbc7a2 +EBUILD webrobots-0.1.2-r3.ebuild 897 BLAKE2B 19bd11d4d4479e2b3f2088a9a19020f28e206cd32271c01bd69727b62746c110fda1512ad279ac6bbd489148f9a9a9d4a2ae0f4c9208a76e90b4586d4e02919e SHA512 3d35c4bc2735276bd34cf9707ff224663a14aa380816a70e0691f7c6881723ff1fb664edcf06d7b4da5c7b6195ed0e13907d2944e819e902c111f649ee42f762 MISC metadata.xml 381 BLAKE2B 1a1d8501cf1cdacc97dbbe35fca3b6db2babe2119025f7a07262d60158b148efe17535489bdf86707006f91e240c86af41e39827bdd0ca8a73e04cb0d18d9846 SHA512 61829d93d167a9a051155dc27f89a2d5c0ac0f7c0e88f47ee9a892a98dc9b0c90b4b695246f6de904b116f97f43e35cef836776ecb6cac9566e1c855ed71025d diff --git a/dev-ruby/webrobots/webrobots-0.1.2-r3.ebuild b/dev-ruby/webrobots/webrobots-0.1.2-r3.ebuild new file mode 100644 index 000000000000..8868c403f5b3 --- /dev/null +++ b/dev-ruby/webrobots/webrobots-0.1.2-r3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A library to help write robots.txt compliant web robots" +HOMEPAGE="https://github.com/knu/webrobots" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.4.4" + +ruby_add_bdepend "test? ( dev-ruby/shoulda dev-ruby/test-unit:2 dev-ruby/webmock dev-ruby/vcr )" + +all_ruby_prepare() { + sed -i -e '/bundler/,/end/d' Rakefile test/helper.rb || die + + # Avoid tests for live websites requirering a network connection. + sed -i -e '/robots.txt in the real world/,/^ end/ s:^:#:' test/test_webrobots.rb || die +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib test/test_*.rb +} |