Magellan Linux

Diff of /trunk/include/pypi.sminc

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

revision 20740 by niro, Tue Feb 4 16:02:29 2014 UTC revision 21032 by niro, Thu Mar 6 08:49:48 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}"
 : ${UP2TARBALL="${PYPI_MODULE}"}  
 : ${UP2SEPERATOR="-"}  
 UP2DATE="updatecmd -listonly https://pypi.python.org/packages/source/${PYPI_MODULE:0:1}/${PYPI_MODULE}/ | grep ${PYPI_MODULE} | sed 's:.*${UP2TARBALL}${UP2SEPERATOR}\(.*\):\1:' | sort -n | sed 's:^:-:g' | lasttarball ${PYPI_ARCHIVE}"  
32    
33  pypi_src_prepare()  pypi_src_prepare()
34  {  {
# Line 44  pypi_src_compile() Line 41  pypi_src_compile()
41   python_src_compile ${configure_opts} || die   python_src_compile ${configure_opts} || die
42  }  }
43    
44  pypi_src_install()  pypi_multilib_src_compile()
45  {  {
46   python_src_install || die   local configure_opts="$@"
47     python_multilib_src_compile ${configure_opts} || die
48    }
49    
50    pypi_multilib_src_install()
51    {
52     python_multilib_src_install || die
53  }  }
54    
55  export_inherits pypi src_prepare src_compile src_install  export_inherits pypi src_prepare
56    if [[ ${MULTILIB_BUILD} = true ]]
57    then
58     export_inherits pypi_multilib src_compile src_install
59    else
60     export_inherits pypi src_compile src_install
61    fi

Legend:
Removed from v.20740  
changed lines
  Added in v.21032