pentoo-overlay/dev-ruby/cms_scanner/cms_scanner-0.13.9.ebuild
Joe Kappus 26ee7e76b0
dev-ruby/cms_scanner: 0.13.9 relax publix_suffix dep
dev-ruby/public_suffix:4 masked in gentoo to be dropped next month.

Relax to allow 5.0.5 as only 5.1.0 and later blocked

See-also: https://github.com/wpscanteam/CMSScanner/blob/v0.13.9/cms_scanner.gemspec

Signed-off-by: Joe Kappus <joe@wt.gd>
2024-06-21 16:53:04 -04:00

37 lines
1 KiB
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32"
RUBY_FAKEGEM_EXTRAINSTALL="app"
inherit ruby-fakegem
DESCRIPTION="Framework to provide an easy way to implement CMS Scanners"
HOMEPAGE="https://github.com/wpscanteam/CMSScanner"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
ruby_add_rdepend "
=dev-ruby/get_process_mem-0.2*
>=dev-ruby/nokogiri-1.11.4 <dev-ruby/nokogiri-1.16.0
>=dev-ruby/opt_parse_validator-1.9.5
>=dev-ruby/public_suffix-4.0.3 <dev-ruby/public_suffix-5.1.0
>=dev-ruby/ruby-progressbar-1.10 <dev-ruby/ruby-progressbar-1.14
dev-ruby/typhoeus:1
>=dev-ruby/ethon-0.14 <dev-ruby/ethon-0.16
=dev-ruby/xmlrpc-0*
=dev-ruby/yajl-ruby-1.4*
=dev-ruby/sys-proctable-1.2*
"
each_ruby_prepare() {
#relax deps
# sed -i -e '/typhoeus/,/Gem::Dependency/ s:~>:>=:' ../metadata || die
sed -i -e '/^ name: nokogiri/,/^[[:space:]]*$/s:1.14.0:1.16.0:' ../metadata || die
sed -i -e '/^ name: ruby-progressbar/,/^[[:space:]]*$/s:1.12:1.14:' ../metadata || die
}