diff options
author | Michel Zou | 2018-10-31 18:29:19 +0100 |
---|---|---|
committer | Michel Zou | 2018-10-31 18:29:19 +0100 |
commit | e79ede5601e43489a971f9a8e337cb9670399f19 (patch) | |
tree | 7de356d46d57474644b1e340ab69e59599e79b35 | |
parent | 210e969d7fc49a83b63a3984098228b4aad061ef (diff) | |
download | aur-e79ede5601e43489a971f9a8e337cb9670399f19.tar.gz |
bpo-11566
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = mingw-w64-python27-bin pkgdesc = A high-level scripting language (native MSVC version) (mingw-w64) pkgver = 2.7.15 - pkgrel = 1 + pkgrel = 2 url = http://www.python.org/ arch = any license = PSF @@ -1,7 +1,7 @@ pkgname=mingw-w64-python27-bin pkgver=2.7.15 _pybasever=27 -pkgrel=1 +pkgrel=2 pkgdesc="A high-level scripting language (native MSVC version) (mingw-w64)" arch=('any') license=('PSF') @@ -29,6 +29,7 @@ build() { fi mkdir -p "build-${_arch}" && pushd "build-${_arch}" msiexec /i "${srcdir}"/python-${pkgver}${target}.msi /qb TARGETDIR=$PWD + sed -i "s|#define hypot _hypot|/*#define hypot _hypot*/|g" include/pyconfig.h gendef python${_pybasever}.dll ${_arch}-dlltool --dllname python${_pybasever}.dll --def python${_pybasever}.def --output-lib libs/libpython${_pybasever}.dll.a sed "s|@TRIPLE@|${_arch}|g;s|@PYVER@|${_pybasever}|g" "${srcdir}"/wine-python.sh > ${_arch}-python${_pybasever}-bin |