Merge pull request #11819 from lazka/py-compile-part4
Python byte compile - part 4
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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})
|
||||
|
||||
@@ -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"*
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user