From a797e566dc890261908b92199d0bd4b7be99caa9 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 10 Jun 2022 08:21:47 +0200 Subject: [PATCH 1/7] python-mistune: byte compile --- mingw-w64-python-mistune/PKGBUILD | 1 - 1 file changed, 1 deletion(-) diff --git a/mingw-w64-python-mistune/PKGBUILD b/mingw-w64-python-mistune/PKGBUILD index 94f1a47dba..7caace31e7 100644 --- a/mingw-w64-python-mistune/PKGBUILD +++ b/mingw-w64-python-mistune/PKGBUILD @@ -36,7 +36,6 @@ package() { ${MINGW_PREFIX}/bin/python setup.py install \ --prefix=${MINGW_PREFIX} --root=${pkgdir} --optimize=1 --skip-build - find "${pkgdir}/" -name "*.pyc" -delete find "${pkgdir}/" -type d -empty -delete install -Dm644 LICENSE "${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/LICENSE" From ffdeff2b0a3e4696b6ee309f3afd788889ee8280 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 10 Jun 2022 08:26:57 +0200 Subject: [PATCH 2/7] bullet: python byte compile --- mingw-w64-bullet/PKGBUILD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mingw-w64-bullet/PKGBUILD b/mingw-w64-bullet/PKGBUILD index e62c62e7de..55ba8cb858 100644 --- a/mingw-w64-bullet/PKGBUILD +++ b/mingw-w64-bullet/PKGBUILD @@ -100,6 +100,9 @@ package_python-pybullet() { cd "${srcdir}/build-${MSYSTEM}" DESTDIR="${pkgdir}" cmake --install . --component pybullet + + MSYS2_ARG_CONV_EXCL="-p" python -m compileall \ + -o 0 -o 1 -q -s"${pkgdir}" -p"/" "${pkgdir}${MINGW_PREFIX}/lib/python"* } # template start; name=mingw-w64-splitpkg-wrappers; version=1.0; From dfeaf14a6730223a926e76380305405527177a84 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 10 Jun 2022 08:29:41 +0200 Subject: [PATCH 3/7] python-pyzmq: byte compile --- mingw-w64-python-pyzmq/PKGBUILD | 1 - 1 file changed, 1 deletion(-) diff --git a/mingw-w64-python-pyzmq/PKGBUILD b/mingw-w64-python-pyzmq/PKGBUILD index a8bdff855f..cd4e3ff401 100644 --- a/mingw-w64-python-pyzmq/PKGBUILD +++ b/mingw-w64-python-pyzmq/PKGBUILD @@ -51,7 +51,6 @@ package() { ${MINGW_PREFIX}/bin/python setup.py install \ --prefix=${MINGW_PREFIX} --root=${pkgdir} --optimize=1 --skip-build - find "${pkgdir}/" -name "*.pyc" -delete find "${pkgdir}/" -type d -empty -delete rm -rf build From 4cb1c6dc86315bd9d9ea927821a87a5a55c8eda4 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 10 Jun 2022 08:31:20 +0200 Subject: [PATCH 4/7] python-qtconsole: byte compile --- mingw-w64-python-qtconsole/PKGBUILD | 1 - 1 file changed, 1 deletion(-) diff --git a/mingw-w64-python-qtconsole/PKGBUILD b/mingw-w64-python-qtconsole/PKGBUILD index 7a259679aa..4b4487c7ff 100644 --- a/mingw-w64-python-qtconsole/PKGBUILD +++ b/mingw-w64-python-qtconsole/PKGBUILD @@ -39,7 +39,6 @@ package() { ${MINGW_PREFIX}/bin/python setup.py install --prefix=${MINGW_PREFIX} \ --root=${pkgdir} --optimize=1 --skip-build - find "${pkgdir}/" -name "*.pyc" -delete find "${pkgdir}/" -type d -empty -delete local PREFIX_WIN=$(cygpath -wm ${MINGW_PREFIX}) From 41d27de7e6219462eee5119b3cf3efdfce6e5cfb Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 10 Jun 2022 08:33:33 +0200 Subject: [PATCH 5/7] python-testpath: bytecompile --- mingw-w64-python-testpath/PKGBUILD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mingw-w64-python-testpath/PKGBUILD b/mingw-w64-python-testpath/PKGBUILD index 1bf77c644f..bdc9baa97e 100644 --- a/mingw-w64-python-testpath/PKGBUILD +++ b/mingw-w64-python-testpath/PKGBUILD @@ -43,4 +43,7 @@ package() { cd "${srcdir}/${_realname}-${pkgver}" install -Dm644 LICENSE "${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/LICENSE" + + MSYS2_ARG_CONV_EXCL="-p" python -m compileall \ + -o 0 -o 1 -q -s"${pkgdir}" -p"/" "${pkgdir}${MINGW_PREFIX}/lib/python"* } From c06c53ecac6165f70310aef6f8b1f31cd3e29940 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 10 Jun 2022 08:46:51 +0200 Subject: [PATCH 6/7] z3: python bytecompile --- mingw-w64-z3/PKGBUILD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mingw-w64-z3/PKGBUILD b/mingw-w64-z3/PKGBUILD index 79ec5367e4..515f0af887 100644 --- a/mingw-w64-z3/PKGBUILD +++ b/mingw-w64-z3/PKGBUILD @@ -98,5 +98,8 @@ package() { cd "${srcdir}"/build-${MSYSTEM}-shared DESTDIR="${pkgdir}" ${MINGW_PREFIX}/bin/cmake.exe --install . + MSYS2_ARG_CONV_EXCL="-p" python -m compileall \ + -o 0 -o 1 -q -s"${pkgdir}" -p"/" "${pkgdir}${MINGW_PREFIX}/lib/python"* + install -Dm644 ${srcdir}/${_realname}-${_realname}-${pkgver}/LICENSE.txt ${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE.txt } From 9c27c0802f9810d8c673f8c45f70a41d4946aa78 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sat, 11 Jun 2022 07:33:04 +0200 Subject: [PATCH 7/7] bump pkgrels --- mingw-w64-bullet/PKGBUILD | 2 +- mingw-w64-python-mistune/PKGBUILD | 2 +- mingw-w64-python-pyzmq/PKGBUILD | 2 +- mingw-w64-python-qtconsole/PKGBUILD | 2 +- mingw-w64-python-testpath/PKGBUILD | 2 +- mingw-w64-z3/PKGBUILD | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mingw-w64-bullet/PKGBUILD b/mingw-w64-bullet/PKGBUILD index 55ba8cb858..7324a14132 100644 --- a/mingw-w64-bullet/PKGBUILD +++ b/mingw-w64-bullet/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}" "${MINGW_PACKAGE_PREFIX}-python-pybullet") conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}-debug") pkgver=2.87 -pkgrel=5 +pkgrel=6 pkgdesc="A 3D Collision Detection and Rigid Body Dynamics Library for games and animation (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang32' 'clang64') diff --git a/mingw-w64-python-mistune/PKGBUILD b/mingw-w64-python-mistune/PKGBUILD index 7caace31e7..812f5884ca 100644 --- a/mingw-w64-python-mistune/PKGBUILD +++ b/mingw-w64-python-mistune/PKGBUILD @@ -7,7 +7,7 @@ provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgver=0.8.4 -pkgrel=3 +pkgrel=4 pkgdesc="The fastest markdown parser in pure Python with renderer feature (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') diff --git a/mingw-w64-python-pyzmq/PKGBUILD b/mingw-w64-python-pyzmq/PKGBUILD index cd4e3ff401..b8a0c978bd 100644 --- a/mingw-w64-python-pyzmq/PKGBUILD +++ b/mingw-w64-python-pyzmq/PKGBUILD @@ -7,7 +7,7 @@ provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgver=23.0.0 -pkgrel=2 +pkgrel=3 pkgdesc="Python bindings for zeromq, written in Cython (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') diff --git a/mingw-w64-python-qtconsole/PKGBUILD b/mingw-w64-python-qtconsole/PKGBUILD index 4b4487c7ff..fb14bf27b1 100644 --- a/mingw-w64-python-qtconsole/PKGBUILD +++ b/mingw-w64-python-qtconsole/PKGBUILD @@ -7,7 +7,7 @@ provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgver=5.3.0 -pkgrel=2 +pkgrel=3 pkgdesc="A rich Qt-based console for working with Jupyter kernels, supporting rich media output, session export, and more (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') diff --git a/mingw-w64-python-testpath/PKGBUILD b/mingw-w64-python-testpath/PKGBUILD index bdc9baa97e..684b6018db 100644 --- a/mingw-w64-python-testpath/PKGBUILD +++ b/mingw-w64-python-testpath/PKGBUILD @@ -7,7 +7,7 @@ provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgver=0.4.4 -pkgrel=3 +pkgrel=4 pkgdesc="Test utilities for code working with files and commands (mingw-w64)" url="https://pypi.python.org/pypi/testpath" arch=('any') diff --git a/mingw-w64-z3/PKGBUILD b/mingw-w64-z3/PKGBUILD index 515f0af887..56d31ffd48 100644 --- a/mingw-w64-z3/PKGBUILD +++ b/mingw-w64-z3/PKGBUILD @@ -4,7 +4,7 @@ _realname=z3 pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") pkgver=4.8.15 -pkgrel=3 +pkgrel=4 pkgdesc="Z3 is a high-performance theorem prover being developed at Microsoft Research (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')