Magellan Linux

Diff of /trunk/extras/python3/python3-3.7.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31564 by niro, Fri Nov 30 12:51:50 2018 UTC revision 31565 by niro, Fri Nov 30 12:55:01 2018 UTC
# Line 48  SRC_URI=( Line 48  SRC_URI=(
48   http://www.python.org/ftp/python/${PVER%.*}/${SRCFILE}   http://www.python.org/ftp/python/${PVER%.*}/${SRCFILE}
49   http://www.python.org/ftp/python/${PVER}/${SRCFILE}   http://www.python.org/ftp/python/${PVER}/${SRCFILE}
50   mirror://python/${SRCFILE}   mirror://python/${SRCFILE}
51   mirror://python/python-3.3.2-disable_modules_and_ssl.patch   mirror://python/python-3.7.0-disable_modules_and_ssl.patch
52   mirror://python/python-2.5.0-mimetypes-apache.patch   mirror://python/python-2.5.0-mimetypes-apache.patch
53   mirror://python/python-3.6.5-lib64.patch   mirror://python/python-3.7.1-lib64.patch
54  )  )
55    
56  # sed line: on 2 digits add an zero: 2.6 -> 2.6.0  # sed line: on 2 digits add an zero: 2.6 -> 2.6.0
# Line 62  src_prepare() Line 62  src_prepare()
62  {  {
63   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
64    
65   mpatch python-3.3.2-disable_modules_and_ssl.patch || die   mpatch python-3.7.0-disable_modules_and_ssl.patch || die
66   mpatch python-2.5.0-mimetypes-apache.patch || die   mpatch python-2.5.0-mimetypes-apache.patch || die
67    
68   only-m64 mpatch python-3.6.5-lib64.patch || die   only-m64 mpatch python-3.7.1-lib64.patch || die
69    
70   # ensure to use system-wide copies of expat, zlib and libffi   # ensure to use system-wide copies of expat, libmpdec and libffi
71   # rather than copies shipped in the tarball   # rather than copies shipped in the tarball
72   all-abis 'rm -r Modules/expat || die'   all-abis 'rm -r Modules/expat || die'
  all-abis 'rm -r Modules/zlib || die'  
73   all-abis 'rm -r Modules/_ctypes/{darwin,libffi}* || die'   all-abis 'rm -r Modules/_ctypes/{darwin,libffi}* || die'
74     all-abis 'rm -r Modules/_decimal/libmpdec || die'
75  }  }
76    
77  src_compile()  src_compile()

Legend:
Removed from v.31564  
changed lines
  Added in v.31565