Annotation of /trunk/extras/setuptools/setuptools-36.6.0-r4.smage2
Parent Directory | Revision Log
Revision 30184 -
(hide annotations)
(download)
Thu Nov 2 13:22:03 2017 UTC (6 years, 10 months ago) by niro
File size: 1069 byte(s)
Thu Nov 2 13:22:03 2017 UTC (6 years, 10 months ago) by niro
File size: 1069 byte(s)
-fixed dependencies
1 | niro | 30184 | # $Id$ |
2 | |||
3 | PNAME="setuptools" | ||
4 | PVER="36.6.0" | ||
5 | PBUILD="r4" | ||
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-16.8" | ||
12 | |||
13 | PYTHON3_DEPEND=">= dev-python/python3-appdirs-1.4 | ||
14 | >= dev-python/python3-packaging-16.8" | ||
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 | split_info_setuptools() | ||
27 | { | ||
28 | PVER="9999" | ||
29 | PKGTYPE="virtual" | ||
30 | |||
31 | DESCRIPTION="Transitional package for python2-${PNAME}." | ||
32 | HOMEPAGE="http://www.magellan-linux.de/" | ||
33 | |||
34 | DEPEND=">= dev-python/python2-${PNAME}-1" | ||
35 | } | ||
36 | |||
37 | src_compile() | ||
38 | { | ||
39 | local abi | ||
40 | for abi in ${MULTILIB_ABIS} | ||
41 | do | ||
42 | cd ${MAGE_PYTHON2_SRCSUBDIR}/$(basename ${SRCDIR})-${abi} | ||
43 | ${MAGE_PYTHON2_EXEC} bootstrap.py || die | ||
44 | |||
45 | cd ${MAGE_PYTHON3_SRCSUBDIR}/$(basename ${SRCDIR})-${abi} | ||
46 | ${MAGE_PYTHON3_EXEC} bootstrap.py || die | ||
47 | done | ||
48 | |||
49 | python2_multilib_src_compile || die | ||
50 | python3_multilib_src_compile || die | ||
51 | } |