Magellan Linux

Diff of /trunk/include/pypi.sminc

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

revision 20738 by niro, Tue Feb 4 15:57:23 2014 UTC revision 21128 by niro, Wed Mar 12 10:05:14 2014 UTC
# Line 28  SRC_URI=( Line 28  SRC_URI=(
28   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
29  )  )
30    
31  # we cannot sort with C=M;O=A  UP2DATE="updatecmd_pypi ${PYPI_MODULE} ${PYPI_ARCHIVE}"
 UP2DATE="updatecmd -listonly https://pypi.python.org/packages/source/${PYPI_MODULE:0:1}/${PYPI_MODULE}/ | grep ${PYPI_MODULE} | sed 's:.*${PYPI_MODULE}-\(.*\):\1:' | sort -n | sed 's:^:-:g' | lasttarball ${PYPI_ARCHIVE}"  
32    
33  pypi_src_prepare()  pypi_src_prepare()
34  {  {
# Line 47  pypi_src_install() Line 46  pypi_src_install()
46   python_src_install || die   python_src_install || die
47  }  }
48    
49  export_inherits pypi src_prepare src_compile src_install  pypi_multilib_src_compile()
50    {
51     local configure_opts="$@"
52     python_multilib_src_compile ${configure_opts} || die
53    }
54    
55    pypi_multilib_src_install()
56    {
57     python_multilib_src_install || die
58    }
59    
60    export_inherits pypi src_prepare
61    if [[ ${MULTILIB_BUILD} = true ]]
62    then
63     export_inherits pypi_multilib src_compile src_install
64    else
65     export_inherits pypi src_compile src_install
66    fi

Legend:
Removed from v.20738  
changed lines
  Added in v.21128