Magellan Linux

Diff of /trunk/include/python.sminc

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

branches/magellan-next/include/python.sminc revision 8645 by niro, Wed Jul 27 11:23:46 2011 UTC trunk/include/python.sminc revision 9880 by niro, Sat Jan 14 01:48:34 2012 UTC
# Line 19  get_python_libdir() Line 19  get_python_libdir()
19   return 0   return 0
20  }  }
21    
22    get_python_includedir()
23    {
24     local pyinc
25     pyinc=$(python -c 'from distutils import sysconfig; print sysconfig.get_python_inc()')
26     echo "${pyinc}"
27     return 0
28    }
29    
30  python_src_prepare()  python_src_prepare()
31  {  {
32   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
# Line 37  python_docompile() Line 45  python_docompile()
45   then   then
46   mconfigure $@ || die   mconfigure $@ || die
47   mmake || die   mmake || die
48     elif [[ -e install.py ]]
49     then
50     echo "install.py found - nothing to compile here."
51   else   else
52   mmake || die   mmake || die
53   fi   fi
# Line 50  python_doinstall() Line 61  python_doinstall()
61   elif [[ -e waf ]]   elif [[ -e waf ]]
62   then   then
63   python waf install --destdir=${BINDIR} $@ || die   python waf install --destdir=${BINDIR} $@ || die
64     elif [[ -e install.py ]]
65     then
66     python install.py --prefix=/usr --files-only --destdir=${BINDIR} $@ || die
67   else   else
68   mmake DESTDIR=${BINDIR} install || die   mmake DESTDIR=${BINDIR} install || die
69   fi   fi

Legend:
Removed from v.8645  
changed lines
  Added in v.9880