diff --git a/mingw-w64-bullet/PKGBUILD b/mingw-w64-bullet/PKGBUILD index e62c62e7de..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') @@ -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; diff --git a/mingw-w64-python-mistune/PKGBUILD b/mingw-w64-python-mistune/PKGBUILD index 94f1a47dba..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') @@ -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" diff --git a/mingw-w64-python-pyzmq/PKGBUILD b/mingw-w64-python-pyzmq/PKGBUILD index a8bdff855f..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') @@ -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 diff --git a/mingw-w64-python-qtconsole/PKGBUILD b/mingw-w64-python-qtconsole/PKGBUILD index 7a259679aa..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') @@ -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}) diff --git a/mingw-w64-python-testpath/PKGBUILD b/mingw-w64-python-testpath/PKGBUILD index 1bf77c644f..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') @@ -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"* } diff --git a/mingw-w64-z3/PKGBUILD b/mingw-w64-z3/PKGBUILD index 79ec5367e4..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') @@ -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 }