Magellan Linux

Diff of /smage/trunk/extras/python2-setuptools/python2-setuptools-44.1.1-r1.smage2

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

revision 14004 by niro, Thu Jul 2 11:32:45 2020 UTC revision 14005 by niro, Thu Jul 2 12:02:24 2020 UTC
# Line 5  PVER="44.1.1" Line 5  PVER="44.1.1"
5  PBUILD="r1"  PBUILD="r1"
6    
7  DESCRIPTION="A collection of extensions to Distutils for Python2."  DESCRIPTION="A collection of extensions to Distutils for Python2."
8    PCAT="dev-python"
9    
10  # only python2 supported  PYPI_MODULE="setuptools"
11  PYPI_MULTIPLE_PYTHON_VERSIONS=0  sminclude multilib python2
 sminclude multilib pypi python2  
12    
13  DEPEND=">= dev-python/python2-appdirs-1.4  DEPEND=">= dev-python/python2-appdirs-1.4
14   >= dev-python/python2-packaging-20.4"   >= dev-python/python2-packaging-20.4"
15    
16  SRCFILE="v${PVER}.tar.gz"  SRCFILE="v${PVER}.tar.gz"
17    SRCDIR="${BUILDDIR}/${PYPI_MODULE}-${PVER}"
18    
19  SRC_URI=(  SRC_URI=(
20   https://github.com/pypa/${PNAME}/archive/${SRCFILE}   https://github.com/pypa/${PYPI_MODULE}/archive/${SRCFILE}
21   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
22  )  )
23    
# Line 24  SRC_URI=( Line 25  SRC_URI=(
25  UP2SEPERATOR="v"  UP2SEPERATOR="v"
26  UP2DATE="updatecmd https://github.com/pypa/${PNAME}/releases | highesttarball gz"  UP2DATE="updatecmd https://github.com/pypa/${PNAME}/releases | highesttarball gz"
27    
28    src_prepare()
29    {
30     python2_multilib_src_prepare || die
31    }
32    
33  src_compile()  src_compile()
34  {  {
35   local abi   local abi
# Line 35  src_compile() Line 41  src_compile()
41    
42   python2_multilib_src_compile || die   python2_multilib_src_compile || die
43  }  }
44    
45    src_install()
46    {
47     python2_multilib_src_install || die
48    }

Legend:
Removed from v.14004  
changed lines
  Added in v.14005