Magellan Linux

Diff of /trunk/include/pypi.sminc

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

revision 20741 by niro, Tue Feb 4 16:02:29 2014 UTC revision 20742 by niro, Tue Feb 4 16:37:50 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  {  {

Legend:
Removed from v.20741  
changed lines
  Added in v.20742