# Copyright 2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # https://github.com/snapappointments/bootstrap-select/issues/2837 # bootstrap-select-v1.14.0-beta3-updated and bootstrap 5.3.0 HASH_COMMIT="d4fdc13c22759ca9acec028d72f35e133df6d932" USE_RUBY="ruby32 ruby33" #RUBY_FAKEGEM_RECIPE_DOC="rdoc" # Requires capybara + poltergeist #RUBY_FAKEGEM_RECIPE_TEST="none" #RUBY_FAKEGEM_EXTRAINSTALL="assets" #RUBY_FAKEGEM_BINWRAP="" RUBY_FAKEGEM_EXTRAINSTALL="vendor" RUBY_FAKEGEM_GEMSPEC="bootstrap-select-rails.gemspec" inherit ruby-fakegem DESCRIPTION="The jQuery plugin for select elements with Bootstrap 5 support" HOMEPAGE="https://github.com/snapappointments/bootstrap-select https://github.com/Slashek/bootstrap-select-rails" LICENSE="MIT" SRC_URI="https://github.com/blshkv/bootstrap-select-rails/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" RUBY_S="${PN}-${HASH_COMMIT}" # not stable: dev-ruby/sassc-rails KEYWORDS="~amd64 ~arm64 x86" SLOT="0" all_ruby_prepare() { sed -i -e '/git ls-files/d' bootstrap-select-rails.gemspec || die }