okay, so those yucky hacks didn't actually all work

This commit is contained in:
Rick Farina (Zero_Chaos) 2021-03-04 13:26:08 -05:00
parent 7ae24ee861
commit 1d74834fcd
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
4 changed files with 4 additions and 10 deletions

View file

@ -328,7 +328,6 @@ all_ruby_prepare() {
}
each_ruby_prepare() {
addpredict "$(ruby_fakegem_gemsdir)/bundler.lock"
MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
MSF_ROOT="." BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die

View file

@ -28,7 +28,7 @@ RDEPEND="${DEPEND}
S="${WORKDIR}/WhatWeb-${PV}"
all_ruby_prepare() {
src_prepare() {
# fix installation
sed -i '/gzip/d' Makefile || die
# sed -i 's|plugins-disabled||g' Makefile || die
@ -37,22 +37,19 @@ all_ruby_prepare() {
sed -i -e "/^group :test do/,/^end$/d" Gemfile || die
sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
eapply_user
}
each_ruby_prepare() {
if [ -f Gemfile ]; then
addpredict "$(ruby_fakegem_gemsdir)/bundler.lock"
BUNDLE_GEMFILE=Gemfile ruby -S bundle install --local || die
BUNDLE_GEMFILE=Gemfile ruby -S bundle check || die
fi
eapply_user
}
src_compile() {
einfo "Nothing to compile"
}
src_install() {
all_ruby_install() {
dodir /usr/share/doc/"${PF}"
dodir /usr/bin
DESTDIR="${D}" emake install

View file

@ -71,7 +71,6 @@ all_ruby_prepare() {
each_ruby_prepare() {
if [ -f Gemfile ]
then
addpredict "$(ruby_fakegem_gemsdir)/bundler.lock"
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
fi

View file

@ -71,7 +71,6 @@ all_ruby_prepare() {
each_ruby_prepare() {
if [ -f Gemfile ]
then
addpredict "$(ruby_fakegem_gemsdir)/bundler.lock"
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
fi