Skip to content

Commit f8b93c7

Browse files
author
Matthias Koeppe
committed
build/bin/sage-spkg: Remove unused code for packages without spkg-install.in
1 parent 952405f commit f8b93c7

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

build/bin/sage-spkg

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -567,24 +567,6 @@ for script in $WRAPPED_SCRIPTS; do
567567
fi
568568
done
569569

570-
571-
# When there is no spkg-install, assume the "spkg" is a tarball not
572-
# specifically made for Sage. Since we want it to be as easy as
573-
# possible to install such a package, we "guess" spkg-install.
574-
if [ ! -f spkg-install ]; then
575-
echo '#!/usr/bin/env bash' > spkg-install
576-
if [ -x configure ]; then
577-
echo './configure --prefix="$SAGE_INST_LOCAL" && make && $SAGE_SUDO make install' >> spkg-install
578-
elif [ -f setup.py ]; then
579-
echo 'python setup.py install' >> spkg-install
580-
else
581-
echo >&2 "Error: There is no spkg-install script, no setup.py, and no configure"
582-
echo >&2 "script, so I do not know how to install $PKG_SRC."
583-
exit 1
584-
fi
585-
chmod +x spkg-install
586-
fi
587-
588570
echo "****************************************************"
589571
echo "Host system:"
590572
uname -a

0 commit comments

Comments
 (0)