Annotation of /smage/trunk/extras/setuptools/setuptools-47.3.1-r1.smage2
Parent Directory | Revision Log
Revision 13998 -
(hide annotations)
(download)
Thu Jul 2 11:21:33 2020 UTC (3 years, 10 months ago) by niro
File size: 1219 byte(s)
Thu Jul 2 11:21:33 2020 UTC (3 years, 10 months ago) by niro
File size: 1219 byte(s)
auto added: ver bump to 47.3.1-r1
1 | niro | 13998 | # $Id$ |
2 | |||
3 | PNAME="setuptools" | ||
4 | PVER="47.3.1" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | DESCRIPTION="A collection of extensions to Distutils." | ||
8 | sminclude multilib pypi | ||
9 | |||
10 | PYTHON2_DEPEND=">= dev-python/python2-appdirs-1.4 | ||
11 | >= dev-python/python2-packaging-20.4" | ||
12 | |||
13 | PYTHON3_DEPEND=">= dev-python/python3-appdirs-1.4 | ||
14 | >= dev-python/python3-packaging-20.4" | ||
15 | |||
16 | # generate a fake SPLIT_PACKAGE for transition | ||
17 | SPLIT_PACKAGES+=" ${PNAME}" | ||
18 | |||
19 | SRCFILE="v${PVER}.tar.gz" | ||
20 | |||
21 | SRC_URI=( | ||
22 | https://github.com/pypa/${PNAME}/archive/${SRCFILE} | ||
23 | mirror://${PNAME}/${SRCFILE} | ||
24 | ) | ||
25 | |||
26 | # use github, only zip files are provided by pypi | ||
27 | UP2SEPERATOR="v" | ||
28 | UP2DATE="updatecmd https://github.com/pypa/${PNAME}/releases | highesttarball gz" | ||
29 | |||
30 | split_info_setuptools() | ||
31 | { | ||
32 | PVER="9999" | ||
33 | PKGTYPE="virtual" | ||
34 | |||
35 | DESCRIPTION="Transitional package for python2-${PNAME}." | ||
36 | HOMEPAGE="http://www.magellan-linux.de/" | ||
37 | |||
38 | DEPEND=">= dev-python/python2-${PNAME}-1" | ||
39 | } | ||
40 | |||
41 | src_compile() | ||
42 | { | ||
43 | local abi | ||
44 | for abi in ${MULTILIB_ABIS} | ||
45 | do | ||
46 | cd ${MAGE_PYTHON2_SRCSUBDIR}/$(basename ${SRCDIR})-${abi} | ||
47 | ${MAGE_PYTHON2_EXEC} bootstrap.py || die | ||
48 | |||
49 | cd ${MAGE_PYTHON3_SRCSUBDIR}/$(basename ${SRCDIR})-${abi} | ||
50 | ${MAGE_PYTHON3_EXEC} bootstrap.py || die | ||
51 | done | ||
52 | |||
53 | python2_multilib_src_compile || die | ||
54 | python3_multilib_src_compile || die | ||
55 | } |