Magellan Linux

Diff of /branches/magellan-next/core/python/python-2.7.0-r1.smage2

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

revision 6069 by niro, Thu Aug 19 10:36:44 2010 UTC revision 6070 by niro, Thu Aug 19 11:15:51 2010 UTC
# Line 42  SRC_URI=( Line 42  SRC_URI=(
42   http://www.python.org/ftp/python/${PYVER}/${SRCFILE}   http://www.python.org/ftp/python/${PYVER}/${SRCFILE}
43   http://www.python.org/ftp/python/${PVER}/${SRCFILE}   http://www.python.org/ftp/python/${PVER}/${SRCFILE}
44   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
45   mirror://${PNAME}/${PNAME}-2.6.0-gentoo_py_dontcompile.patch   mirror://${PNAME}/${PNAME}-2.7.0-gentoo_py_dontcompile.patch
46   mirror://${PNAME}/${PNAME}-2.4-disable_modules_and_ssl.patch   mirror://${PNAME}/${PNAME}-2.4-disable_modules_and_ssl.patch
47   mirror://${PNAME}/${PNAME}-2.5.0-mimetypes-apache.patch   mirror://${PNAME}/${PNAME}-2.5.0-mimetypes-apache.patch
48   mirror://${PNAME}/${PNAME}-2.6.0-lib64-2.patch   mirror://${PNAME}/${PNAME}-2.7.0-lib64.patch
49  )  )
50    
51  # sed line: on 2 digits add an zero: 2.6 -> 2.6.0  # sed line: on 2 digits add an zero: 2.6 -> 2.6.0
# Line 58  src_prepare() Line 58  src_prepare()
58    
59   # adds support for PYTHON_DONTCOMPILE shell environment to   # adds support for PYTHON_DONTCOMPILE shell environment to
60   # supress automatic generation of .pyc and .pyo files   # supress automatic generation of .pyc and .pyo files
61   mpatch ${PNAME}-2.6.0-gentoo_py_dontcompile.patch || die   mpatch ${PNAME}-2.7.0-gentoo_py_dontcompile.patch || die
62   mpatch ${PNAME}-2.4-disable_modules_and_ssl.patch || die   mpatch ${PNAME}-2.4-disable_modules_and_ssl.patch || die
63   mpatch ${PNAME}-2.5.0-mimetypes-apache.patch || die   mpatch ${PNAME}-2.5.0-mimetypes-apache.patch || die
64    
65   if [[ $(mlibdir) = lib64 ]]   if [[ $(mlibdir) = lib64 ]]
66   then   then
67   mpatch ${PNAME}-2.6.0-lib64-2.patch || die   mpatch ${PNAME}-2.7.0-lib64.patch || die
68   fi   fi
69  }  }
70    

Legend:
Removed from v.6069  
changed lines
  Added in v.6070