## SIGs/SciTech/SAGE

### From FedoraProject

(→Fedora and other community efforts) |
(Refactor page to move historical discussion to the end) |
||

Line 2: | Line 2: | ||

__TOC__ | __TOC__ | ||

− | == | + | == People == |

People interested helping in packaging/reviewing: | People interested helping in packaging/reviewing: | ||

Line 19: | Line 19: | ||

* ...add your name here... | * ...add your name here... | ||

− | + | == sagemath-5.4 Fedora review request == | |

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

− | + | ||

The "package SAGE itself" goal has been reached! | The "package SAGE itself" goal has been reached! | ||

Line 59: | Line 26: | ||

It is now possible to build sagemath in rawhide, with minor efforts in f18, | It is now possible to build sagemath in rawhide, with minor efforts in f18, | ||

and there is a private x86_64 f17 repository at: | and there is a private x86_64 f17 repository at: | ||

− | http://pcpa.fedorapeople.org/sagemath/f17/ | + | |

+ | http://pcpa.fedorapeople.org/sagemath/f17/ | ||

You need this in /etc/yum.repos.d | You need this in /etc/yum.repos.d | ||

− | http://pcpa.fedorapeople.org/sagemath/sagemath-f17.repo | + | http://pcpa.fedorapeople.org/sagemath/sagemath-f17.repo |

(Note that this backports a very large amount of rawhide packages and will not be maintained once f18 is released) | (Note that this backports a very large amount of rawhide packages and will not be maintained once f18 is released) | ||

Line 178: | Line 146: | ||

* flintqs (upstream because original upstream deprecated it) | * flintqs (upstream because original upstream deprecated it) | ||

Some of those may or may not be worth packaging as separate SRPMs. | Some of those may or may not be worth packaging as separate SRPMs. | ||

+ | |||

+ | |||

+ | ==Cross-distribution efforts== | ||

+ | |||

+ | * Debian: [http://qa.debian.org/developer.php?login=tabbott@mit.edu Tim Abbott's list of SAGE-related Debian packages]. Some of these Debian packages may include some patches for the dependencies that may be required for SAGE that have not yet been pushed upstream (older unmaintained wiki page http://wiki.sagemath.org/devel/DebianSage) | ||

+ | * PcLinuxOS: http://www.mypclinuxos.com/forum/index.php?topic=1509.msg13532#msg13532 | ||

+ | * Mandriva: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/sagemath/ | ||

+ | |||

+ | |||

+ | ==Historical discussion== | ||

+ | |||

+ | On fedora-devel KevinKofler points out that: | ||

+ | |||

+ | <pre> | ||

+ | One problem will be that they're bundling many third-party components which should | ||

+ | be packaged separately:</pre> http://sage.math.washington.edu/sage/doc/html/inst/intro.html | ||

+ | |||

+ | <pre>So the first step is to track down which of these dependencies are in Fedora | ||

+ | already, whether they need any patches to work with SAGE, whether they are | ||

+ | build-time (BuildRequires) dependencies, run-time (Requires) dependencies or | ||

+ | both, whether they're required or optional and package those which are not in | ||

+ | Fedora yet. | ||

+ | </pre> | ||

+ | |||

+ | He suggests the following order: | ||

+ | |||

+ | #package required build-time dependencies | ||

+ | #package required run-time dependencies | ||

+ | #package as many optional build-time dependencies as possible | ||

+ | #package SAGE itself | ||

+ | #package optional run-time dependencies (and decide on a case by case basis whether it makes sense to add them as actual Requires: dependencies to the package or not) | ||

+ | |||

+ | ''Required'' components that SAGE ships with: http://sagemath.org/packages/standard/ | ||

+ | |||

+ | ''Optional'' components that SAGE ships with: http://sagemath.org/packages/optional/ | ||

+ | |||

+ | (a manual list with descriptions which may vary somewhat with respect to the above is at http://sagemath.org/links-components.html) (See also: http://wiki.sagemath.org/days6/sprint/debian) | ||

[[Category:SciTech_SIG|SAGE]] | [[Category:SciTech_SIG|SAGE]] |

## Revision as of 05:13, 19 November 2012

This is to help document the process to get SAGE (http://sagemath.org/), the open-source computer algebra/mathematics framework into Fedora.

## Contents |

## People

People interested helping in packaging/reviewing:

- Rex Dieter
- Alex Lancaster
- Manuel Wolfshant
- Kevin Kofler
- Neal Becker
- Conrad Meyer
- Matthew Daniels
- Jason Tibbitts
- Thomas Spura
- Finnbarr P. Murphy
- Paulo Andrade
- ...add your name here...

## sagemath-5.4 Fedora review request

The "package SAGE itself" goal has been reached!

https://bugzilla.redhat.com/show_bug.cgi?id=877651

It is now possible to build sagemath in rawhide, with minor efforts in f18, and there is a private x86_64 f17 repository at:

http://pcpa.fedorapeople.org/sagemath/f17/

You need this in /etc/yum.repos.d

http://pcpa.fedorapeople.org/sagemath/sagemath-f17.repo

(Note that this backports a very large amount of rawhide packages and will not be maintained once f18 is released)

## Dependencies (for which there is a separate upstream)

### Missing required components

(If you are working on packaging a component or have filed a review request bug, please note it or link to something here.)

Fedora package | Upstream | Review request / status |
---|---|---|

python-flask-autoindex | Flask-AutoIndex | #839097 Missing in f18 |

python-flask-silk | Flask-Silk | #839098 Missing in f18 |

python-flask-babel | Flask-Babel | #839071 Missing in f18 |

### Packages that need changes to work with sagemath

Fedora package | Upstream | Request for Enhancement / status |
---|---|---|

python-matplotlib | matplotlib | #837156 Requires |

numpy | scipy | #868585 Requires |

### Completed (reviewed and built) required components

## Packages for which SAGE is upstream

Latest versions found in http://www.sagemath.org/packages/standard/

- sage
- sage_scripts
- rubiks
- doc
- examples
- extcode
- elliptic_curves, conway_polynomials, graphs, polytopes_db (ZoDB databases used internally by SAGE)
- flintqs (upstream because original upstream deprecated it)

Some of those may or may not be worth packaging as separate SRPMs.

## Cross-distribution efforts

- Debian: Tim Abbott's list of SAGE-related Debian packages. Some of these Debian packages may include some patches for the dependencies that may be required for SAGE that have not yet been pushed upstream (older unmaintained wiki page http://wiki.sagemath.org/devel/DebianSage)
- PcLinuxOS: http://www.mypclinuxos.com/forum/index.php?topic=1509.msg13532#msg13532
- Mandriva: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/sagemath/

## Historical discussion

On fedora-devel KevinKofler points out that:

One problem will be that they're bundling many third-party components which should be packaged separately:http://sage.math.washington.edu/sage/doc/html/inst/intro.html

So the first step is to track down which of these dependencies are in Fedora already, whether they need any patches to work with SAGE, whether they are build-time (BuildRequires) dependencies, run-time (Requires) dependencies or both, whether they're required or optional and package those which are not in Fedora yet.

He suggests the following order:

- package required build-time dependencies
- package required run-time dependencies
- package as many optional build-time dependencies as possible
- package SAGE itself
- package optional run-time dependencies (and decide on a case by case basis whether it makes sense to add them as actual Requires: dependencies to the package or not)

*Required* components that SAGE ships with: http://sagemath.org/packages/standard/

*Optional* components that SAGE ships with: http://sagemath.org/packages/optional/

(a manual list with descriptions which may vary somewhat with respect to the above is at http://sagemath.org/links-components.html) (See also: http://wiki.sagemath.org/days6/sprint/debian)