Contents of /smage/trunk/extras/python2-setuptools/python2-setuptools-44.1.1-r1.smage2
Parent Directory | Revision Log
Revision 13999 -
(show annotations)
(download)
Thu Jul 2 11:32:45 2020 UTC (3 years, 10 months ago) by niro
File size: 784 byte(s)
Thu Jul 2 11:32:45 2020 UTC (3 years, 10 months ago) by niro
File size: 784 byte(s)
auto added: ver bump to 44.1.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="python2-setuptools" |
4 | PVER="44.1.1" |
5 | PBUILD="r1" |
6 | |
7 | DESCRIPTION="A collection of extensions to Distutils for Python2." |
8 | |
9 | # only python2 supported |
10 | PYPI_MULTIPLE_PYTHON_VERSIONS=0 |
11 | sminclude multilib pypi python2 |
12 | |
13 | DEPEND=">= dev-python/python2-appdirs-1.4 |
14 | >= dev-python/python2-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_PYTHON2_SRCSUBDIR}/$(basename ${SRCDIR})-${abi} |
33 | ${MAGE_PYTHON2_EXEC} bootstrap.py || die |
34 | done |
35 | |
36 | python2_multilib_src_compile || die |
37 | } |