Magellan Linux

Diff of /trunk/include/python.sminc

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

revision 8645 by niro, Wed Jul 27 11:23:46 2011 UTC revision 9471 by niro, Thu Dec 1 18:45:01 2011 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     echo "install.py found - nothing to compile here."
50   else   else
51   mmake || die   mmake || die
52   fi   fi
# Line 50  python_doinstall() Line 60  python_doinstall()
60   elif [[ -e waf ]]   elif [[ -e waf ]]
61   then   then
62   python waf install --destdir=${BINDIR} $@ || die   python waf install --destdir=${BINDIR} $@ || die
63     elif [[ -e install.py ]]
64     python install.py --prefix=/usr --files-only --destdir=${BINDIR} $@ || die
65   else   else
66   mmake DESTDIR=${BINDIR} install || die   mmake DESTDIR=${BINDIR} install || die
67   fi   fi

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