Contents of /trunk/extras/setuptools/setuptools-36.6.0-r3.smage2
Parent Directory
|
Revision Log
Revision 29870 -
(show annotations)
(download)
Mon Oct 16 12:17:40 2017 UTC (6 years, 8 months ago) by niro
File size: 1044 byte(s)
Mon Oct 16 12:17:40 2017 UTC (6 years, 8 months ago) by niro
File size: 1044 byte(s)
-multilib rebuild
1 | # $Id$ |
2 | |
3 | PNAME="setuptools" |
4 | PVER="36.6.0" |
5 | PBUILD="r3" |
6 | |
7 | DESCRIPTION="A collection of extensions to Distutils." |
8 | sminclude multilib pypi |
9 | |
10 | DEPEND=">= dev-python/python2-appdirs-1.4 |
11 | >= dev-python/python3-appdirs-1.4 |
12 | >= dev-python/python2-packaging-16.8 |
13 | >= dev-python/python3-packaging-16.8" |
14 | |
15 | # generate a fake SPLIT_PACKAGE for transition |
16 | SPLIT_PACKAGES+=" ${PNAME}" |
17 | |
18 | SRCFILE="v${PVER}.tar.gz" |
19 | |
20 | SRC_URI=( |
21 | https://github.com/pypa/${PNAME}/archive/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | split_info_setuptools() |
26 | { |
27 | PVER="9999" |
28 | PKGTYPE="virtual" |
29 | |
30 | DESCRIPTION="Transitional package for python2-${PNAME}." |
31 | HOMEPAGE="http://www.magellan-linux.de/" |
32 | |
33 | DEPEND=">= dev-python/python2-${PNAME}-1" |
34 | } |
35 | |
36 | src_compile() |
37 | { |
38 | local abi |
39 | for abi in ${MULTILIB_ABIS} |
40 | do |
41 | cd ${MAGE_PYTHON2_SRCSUBDIR}/$(basename ${SRCDIR})-${abi} |
42 | ${MAGE_PYTHON2_EXEC} bootstrap.py || die |
43 | |
44 | cd ${MAGE_PYTHON3_SRCSUBDIR}/$(basename ${SRCDIR})-${abi} |
45 | ${MAGE_PYTHON3_EXEC} bootstrap.py || die |
46 | done |
47 | |
48 | python2_multilib_src_compile || die |
49 | python3_multilib_src_compile || die |
50 | } |