Magellan Linux

Contents of /smage/trunk/extras/python3-setuptools/python3-setuptools-47.3.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14001 - (show annotations) (download)
Thu Jul 2 11:42:37 2020 UTC (3 years, 9 months ago) by niro
File size: 883 byte(s)
auto added: ver bump to 47.3.1-r1
1 # $Id$
2
3 PNAME="setuptools"
4 PVER="47.3.1"
5 PBUILD="r1"
6
7 DESCRIPTION="A collection of extensions to Distutils for Python3."
8
9 # only python3 supported
10 PYPI_MULTIPLE_PYTHON_VERSIONS=0
11 sminclude multilib python3
12
13 DEPEND=">= dev-python/python3-appdirs-1.4
14 >= dev-python/python3-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_prepare()
28 {
29 python3_multilib_src_prepare || die
30 }
31
32 src_compile()
33 {
34 local abi
35 for abi in ${MULTILIB_ABIS}
36 do
37 cd ${MAGE_PYTHON3_SRCSUBDIR}/$(basename ${SRCDIR})-${abi}
38 ${MAGE_PYTHON3_EXEC} bootstrap.py || die
39 done
40
41 python3_multilib_src_compile || die
42 }
43
44 src_install()
45 {
46 python3_multilib_src_install || die
47 }