Page MenuHomeFreeBSD

New port: math/maxima-sage
Needs ReviewPublic

Authored by salvadore on Fri, May 22, 4:54 PM.

Details

Reviewers
thierry
Summary

Status: still working on math/sage (See D24195).

Maxima (i.e. ports/math/maxima) is a Lisp application, and our port can use CCL, CMUCL, or SBCL, but to be used by SageMath, ECL is required.

Furthermore, many patches are needed to install a library usable by ECL, and it is closely tied with the version used for ECL.

Since we have to create a special port for lang/ecl-sage (See D24958), it's also safer to recopy math/maxima to math/maxima-sage.

Test Plan
  • poudrière OK
  • tests OK
  • usable for sage.

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

thierry requested review of this revision.Fri, May 22, 4:54 PM
thierry created this revision.

Note: math/maxima and math/maxima-sage install the same files: a CONFLICT line should be added in math/maxima.

The solution you propose seems a lot of work.
While I appreciate that you offered yourself to maintain the new port you create (so that indeed you take care of the extra work), I think a much easier solution can be achieved: we could add an ECL option to the maxima port that already exists and make it the default option.

If, for some reason, we found out that it is a bad idea to set ecl as the default lisp (I will investigate on that) other easier solutions might be:

  • create maxima-sage as a slave port of maxima;
  • maybe use flavors?

In any case, I think it would be a good idea to create the ECL option in the traditional maxima port and I would thank you if could do that :)

If, for some reason, we found out that it is a bad idea to set ecl as the default lisp (I will investigate on that) other easier solutions might be:

  • create maxima-sage as a slave port of maxima;
  • maybe use flavors?

In any case, I think it would be a good idea to create the ECL option in the traditional maxima port and I would thank you if could do that :)

OK, that would be fine!

But if you plan to update ECL, I would not risk to block you if Sage is not ready for that.

Ok, let's add the ECL option then and set it as default.
Do you want to modify your review yourself or do you prefer that I commandeer the revision and make the changes?

Ok, let's add the ECL option then and set it as default.
Do you want to modify your review yourself or do you prefer that I commandeer the revision and make the changes?

Do not hesitate to do it!

I have not been able to make this myself with the current port, and it's why I proposed to fork it - but I you succeeded, it's better, and I say bravo.

salvadore commandeered this revision.Mon, May 25, 9:55 AM
salvadore edited reviewers, added: thierry; removed: salvadore.

Ok, thanks.
I will work on that very soon.