Magellan Linux

Diff of /trunk/include/python.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6654 by niro, Tue Sep 14 16:46:32 2010 UTC revision 6882 by niro, Thu Sep 23 18:16:10 2010 UTC
# Line 27  python_src_prepare() Line 27  python_src_prepare()
27  python_src_compile()  python_src_compile()
28  {  {
29   cd ${SRCDIR}   cd ${SRCDIR}
30   python setup.py build "$@" || die  
31     if [[ -e setup.py ]]
32     then
33     python setup.py build "$@" || die
34     elif [[ -e configure ]]
35     then
36     mconfigure "$@" || die
37     mmake || die
38     else
39     mmake || die
40     fi
41  }  }
42    
43  python_src_install()  python_src_install()
44  {  {
45   cd ${SRCDIR}   cd ${SRCDIR}
46   python setup.py install --no-compile --root ${BINDIR} "$@" || die  
47     if [[ -e setup.py ]]
48     then
49     python setup.py install --no-compile --root ${BINDIR} "$@" || die
50     else
51     mmake DESTDIR=${BINDIR} install || die
52     fi
53    
54   local i   local i
55   for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \   for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \

Legend:
Removed from v.6654  
changed lines
  Added in v.6882