Annotation of /smage/trunk/extras/python3-setuptools/python3-setuptools-47.3.1-r1.smage2
Parent Directory | Revision Log
Revision 14000 -
(hide annotations)
(download)
Thu Jul 2 11:33:24 2020 UTC (3 years, 10 months ago) by niro
File size: 776 byte(s)
Thu Jul 2 11:33:24 2020 UTC (3 years, 10 months ago) by niro
File size: 776 byte(s)
auto added: ver bump to 47.3.1-r1
1 | niro | 14000 | # $Id$ |
2 | |||
3 | PNAME="setuptools" | ||
4 | PVER="47.3.1" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | DESCRIPTION="A collection of extensions to Distutils for Python3." | ||
8 | |||
9 | # only python2 supported | ||
10 | PYPI_MULTIPLE_PYTHON_VERSIONS=0 | ||
11 | sminclude multilib pypi python3 | ||
12 | |||
13 | DEPEND=">= dev-python/python3-appdirs-1.4 | ||
14 | >= dev-python/python3-packaging-20.4" | ||
15 | |||
16 | SRCFILE="v${PVER}.tar.gz" | ||
17 | |||
18 | SRC_URI=( | ||
19 | https://github.com/pypa/${PNAME}/archive/${SRCFILE} | ||
20 | mirror://${PNAME}/${SRCFILE} | ||
21 | ) | ||
22 | |||
23 | # use github, only zip files are provided by pypi | ||
24 | UP2SEPERATOR="v" | ||
25 | UP2DATE="updatecmd https://github.com/pypa/${PNAME}/releases | highesttarball gz" | ||
26 | |||
27 | src_compile() | ||
28 | { | ||
29 | local abi | ||
30 | for abi in ${MULTILIB_ABIS} | ||
31 | do | ||
32 | cd ${MAGE_PYTHON3_SRCSUBDIR}/$(basename ${SRCDIR})-${abi} | ||
33 | ${MAGE_PYTHON3_EXEC} bootstrap.py || die | ||
34 | done | ||
35 | |||
36 | python3_multilib_src_compile || die | ||
37 | } |