#4334: [with spkg, needs review] Updated experimental Mayavi2 spkg
----------------------------------+-----------------------------------------
 Reporter:  jsp                   |        Owner:  mabshoff  
     Type:  enhancement           |       Status:  new       
 Priority:  minor                 |    Milestone:  sage-3.2.2
Component:  experimental package  |   Resolution:            
 Keywords:                        |  
----------------------------------+-----------------------------------------
Comment (by was):

 Just to move this toward being optional (not experimental), some comments.

 1. The spkg-install is
 {{{
 [EMAIL PROTECTED]:~/tmp/mayavi_2.2.1$ more spkg-install
 #!/bin/sh

 sage -i wxPython-2.8.7.1
 sage -i cmake-2.4.8
 sage -i vtk-5.2


 cd src

 python egg_builder.py -r -v

 easy_install -f dist -H dist enthought.mayavi*
 }}}

 Each comment, e.g., the "sage -i"'s should have some test that it actually
 worked before going further.  You could check error codes, or check that
 the appropriate spkg/installed file exists.

 2. The format of the changelog in SPKG.txt is wrong:
 {{{
 == Changelog ==
  * Initial release mayvi2_2.0.20080106 - Jan. 6th, 2008 - Jaap Spies
  * mayavi2_2.0.20080117 - Jan. 17th, 2008 - Jaap Spies
 }}}
 Just see any SPKG.txt that is standard for the right format.

 3. spkg-install and SPKG.txt should be in an .hg repo:
 {{{
 [EMAIL PROTECTED]:~/tmp/mayavi_2.2.1$ ls -a
 .  ..  spkg-install  SPKG.txt  src
 }}}
 One should do
 {{{
 hg init
 hg add spkg-install SPKG.txt
 hg ci
 }}}

 I didn't actually test this though...

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4334#comment:4>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to