Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14001 - (hide annotations) (download)
Thu Jul 2 11:42:37 2020 UTC (3 years, 10 months ago) by niro
File size: 883 byte(s)
auto added: ver bump to 47.3.1-r1
1 niro 14000 # $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 niro 14001 # only python3 supported
10 niro 14000 PYPI_MULTIPLE_PYTHON_VERSIONS=0
11 niro 14001 sminclude multilib python3
12 niro 14000
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 niro 14001 src_prepare()
28     {
29     python3_multilib_src_prepare || die
30     }
31    
32 niro 14000 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 niro 14001
44     src_install()
45     {
46     python3_multilib_src_install || die
47     }