# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 USE_RUBY="ruby31 ruby32" RUBY_FAKEGEM_DOCDIR="docs" RUBY_FAKEGEM_EXTRADOC="CHANGES.md FEATURES OPTIONS.md README.md" RUBY_FAKEGEM_GEMSPEC="brakeman.gemspec" inherit ruby-fakegem DESCRIPTION="Static analysis tool which checks RoR applications for security vulnerabilities" HOMEPAGE="https://brakemanscanner.org/" SRC_URI="https://github.com/presidentbeef/brakeman/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BPUL" SLOT="0" KEYWORDS="~amd64" PATCHES=( "${FILESDIR}/${P}-frozen1.patch" "${FILESDIR}/${P}-frozen2.patch" ) ruby_add_rdepend " dev-ruby/csv >=dev-ruby/erubis-2.6 >=dev-ruby/haml-5.1:5 dev-ruby/highline:3 >=dev-ruby/parallel-1.20:1 dev-ruby/prism:1 dev-ruby/racc dev-ruby/rexml:3 >=dev-ruby/ruby2ruby-2.5.1:2 >=dev-ruby/ruby_parser-3.20.2 =dev-ruby/ruby_parser-3* >=dev-ruby/sexp_processor-4.7:4 >=dev-ruby/slim-1.3.6:*