Re: [Slackbuilds-users] [slackbuilds-users] sage-8.0 OPTIONALSPKG fails to find optional packages
On 08/07/2017 01:24 AM, Willy Sudiarto Raharjo wrote: >> Sage is in 'pending' and I had thought that the previous maintainer had >> worked this out. My script-fu is still young so comments are welcome. > > TBH, i never check the optional deps. > I kept what was inherited from the original maintainer as building sage > itself was time consuming already > > Indeed. I takes over 2.5 hrs to build on my box (time for an upgrade?). Since no one else has mentioned this issue, I'll send in a fix on the next submission, as well as a few minor README updates. No rush. -Ed signature.asc Description: OpenPGP digital signature ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
Re: [Slackbuilds-users] [slackbuilds-users] sage-8.0 OPTIONALSPKG fails to find optional packages
> Sage is in 'pending' and I had thought that the previous maintainer had > worked this out. My script-fu is still young so comments are welcome. TBH, i never check the optional deps. I kept what was inherited from the original maintainer as building sage itself was time consuming already -- Willy Sudiarto Raharjo signature.asc Description: OpenPGP digital signature ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
[Slackbuilds-users] [slackbuilds-users] sage-8.0 OPTIONALSPKG fails to find optional packages
Sage is in 'pending' and I had thought that the previous maintainer had worked this out. My script-fu is still young so comments are welcome. OPTIONALSPKG="database_gap" ./sage.SlackBuild fails with Error: could not find a package matching database_gap4.8.6 Try 'sage --package list' to see the available packages There is no package similar to database_gap4.8.6 You can find further packages at http://files.sagemath.org/spkg/ ./sage -optainal ./sage --package list both show that 'database_gap' exists. Manually running cd /tmp/SBo/sage-8.0 ./sage -i database_gap downloads and builds 'database_gap' as expected. The slackbuild stanza # install optional packages as defined by the OPTIONALSPKG flag OPTIONALSPKG=${OPTIONALSPKG:-no} if [ "$OPTIONALSPKG" != "no" ]; then for i in ${OPTIONALSPKG}; do ./sage -i $(./sage -optional | grep ${i}) done fi looks goofy since # ./sage -optional | grep database_gap database_gap4.8.6 (4.8.6) which does not exist (extra characters)! We could use # ./sage -package list | grep database_gap database_gap but isn't that overly complex when simply ./sage -i ${i} is sufficient? -Ed signature.asc Description: OpenPGP digital signature ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/