diff options
author | Andrew Sun | 2018-08-27 09:49:00 -0400 |
---|---|---|
committer | Andrew Sun | 2018-08-27 09:49:00 -0400 |
commit | f91edcf113ecc832f0e38082c865fa14bc520f8f (patch) | |
tree | 2650610b3459e8dfd2866e4b5df214eeebd8df09 | |
parent | 507a881e5ea1816ef51218904255878b722bf7b9 (diff) | |
download | aur-f91edcf113ecc832f0e38082c865fa14bc520f8f.tar.gz |
fixes, stripped debug symbols, cosmetics
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | patches.tar.gz | bin | 52857 -> 52909 bytes |
3 files changed, 11 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = mingw-w64-python pkgdesc = Next generation of the python high-level scripting language (mingw-w64) pkgver = 3.7.0 - pkgrel = 1 + pkgrel = 2 url = http://www.python.org/ arch = any license = PSF @@ -29,7 +29,7 @@ pkgbase = mingw-w64-python source = patches.tar.gz source = wine-python.sh sha1sums = 653cffa5b9f2a28150afe4705600d2e55d89b564 - sha1sums = a16075f44a5222b7b32471aacd6444b60528a620 + sha1sums = 62f705a61edc4d212053485db7c357d292e53f49 sha1sums = a024e7fd7eea7984a0d050164a4a015dea762da7 pkgname = mingw-w64-python @@ -6,7 +6,7 @@ pkgname=mingw-w64-python pkgver=3.7.0 _pybasever=3.7 -pkgrel=1 +pkgrel=2 pkgdesc="Next generation of the python high-level scripting language (mingw-w64)" arch=('any') license=('PSF') @@ -32,7 +32,7 @@ source=("http://www.python.org/ftp/python/${pkgver}/Python-${pkgver}.tar.xz" 'patches.tar.gz' "wine-python.sh") sha1sums=('653cffa5b9f2a28150afe4705600d2e55d89b564' - 'a16075f44a5222b7b32471aacd6444b60528a620' + '62f705a61edc4d212053485db7c357d292e53f49' 'a024e7fd7eea7984a0d050164a4a015dea762da7') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" @@ -335,10 +335,16 @@ package() { -e "s/'\/share'/sys.prefix + '\/share'/g" \ -i "${pkgdir}/usr/${_arch}"/lib/python${_pybasever}/_sysconfigdata*.py - # Correct name of _sysconfigdata_m_win32_.py and copy it to lib-dynload + # Correct name of _sysconfigdata_m_win32_.py and copy both to lib-dynload cp -f "${pkgdir}/usr/${_arch}"/lib/python${_pybasever}/_sysconfigdata_m_win_.py "${pkgdir}/usr/${_arch}"/lib/python${_pybasever}/_sysconfigdata_m_win32_.py + cp -f "${pkgdir}/usr/${_arch}"/lib/python${_pybasever}/_sysconfigdata_m_win_.py "${pkgdir}/usr/${_arch}"/lib/python${_pybasever}/lib-dynload/_sysconfigdata_m_win_.py cp -f "${pkgdir}/usr/${_arch}"/lib/python${_pybasever}/_sysconfigdata_m_win32_.py "${pkgdir}/usr/${_arch}"/lib/python${_pybasever}/lib-dynload/_sysconfigdata_m_win32_.py + # strip executables and libraries + ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.exe + ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll + ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a + # install wrappers mkdir -p ${pkgdir}/usr/bin install -m755 ${_arch}-python${_pybasever} "${pkgdir}"/usr/bin/${_arch}-python${_pybasever} diff --git a/patches.tar.gz b/patches.tar.gz Binary files differindex afc5ec8eee8e..e26f53acca83 100644 --- a/patches.tar.gz +++ b/patches.tar.gz |