/[alx-svn]/smage/branches/alx07x-stable/extras/python2-setuptools/python2-setuptools-44.1.1-r1.smage2 |
Annotation of /smage/branches/alx07x-stable/extras/python2-setuptools/python2-setuptools-44.1.1-r1.smage2
Parent Directory | Revision Log
Revision 14005 -
(hide annotations)
(download)
Thu Jul 2 12:02:24 2020 UTC (3 years, 11 months ago) by niro
Original Path: smage/trunk/extras/python2-setuptools/python2-setuptools-44.1.1-r1.smage2
File size: 927 byte(s)
Thu Jul 2 12:02:24 2020 UTC (3 years, 11 months ago) by niro
Original Path: smage/trunk/extras/python2-setuptools/python2-setuptools-44.1.1-r1.smage2
File size: 927 byte(s)
auto added: ver bump to 44.1.1-r1
1 | niro | 13999 | # $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 | niro | 14005 | PCAT="dev-python" |
9 | niro | 13999 | |
10 | niro | 14005 | PYPI_MODULE="setuptools" |
11 | sminclude multilib python2 | ||
12 | niro | 13999 | |
13 | DEPEND=">= dev-python/python2-appdirs-1.4 | ||
14 | >= dev-python/python2-packaging-20.4" | ||
15 | |||
16 | SRCFILE="v${PVER}.tar.gz" | ||
17 | niro | 14005 | SRCDIR="${BUILDDIR}/${PYPI_MODULE}-${PVER}" |
18 | niro | 13999 | |
19 | SRC_URI=( | ||
20 | niro | 14005 | https://github.com/pypa/${PYPI_MODULE}/archive/${SRCFILE} |
21 | niro | 13999 | mirror://${PNAME}/${SRCFILE} |
22 | ) | ||
23 | |||
24 | # use github, only zip files are provided by pypi | ||
25 | UP2SEPERATOR="v" | ||
26 | UP2DATE="updatecmd https://github.com/pypa/${PNAME}/releases | highesttarball gz" | ||
27 | |||
28 | niro | 14005 | src_prepare() |
29 | { | ||
30 | python2_multilib_src_prepare || die | ||
31 | } | ||
32 | |||
33 | niro | 13999 | src_compile() |
34 | { | ||
35 | local abi | ||
36 | for abi in ${MULTILIB_ABIS} | ||
37 | do | ||
38 | cd ${MAGE_PYTHON2_SRCSUBDIR}/$(basename ${SRCDIR})-${abi} | ||
39 | ${MAGE_PYTHON2_EXEC} bootstrap.py || die | ||
40 | done | ||
41 | |||
42 | python2_multilib_src_compile || die | ||
43 | } | ||
44 | niro | 14005 | |
45 | src_install() | ||
46 | { | ||
47 | python2_multilib_src_install || die | ||
48 | } |