diff --git a/mingw-w64-python-patsy/PKGBUILD b/mingw-w64-python-patsy/PKGBUILD index bdc550b2fb..df2d6c3fbd 100644 --- a/mingw-w64-python-patsy/PKGBUILD +++ b/mingw-w64-python-patsy/PKGBUILD @@ -7,15 +7,15 @@ provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgver=0.5.2 -pkgrel=2 +pkgrel=3 pkgdesc="A Python package for describing statistical models and for building design matrices (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') url="https://github.com/pydata/patsy" license=('BSD') -depends=("${MINGW_PACKAGE_PREFIX}-python-numpy") -optdepends=("${MINGW_PACKAGE_PREFIX}-python-nose: needed for integrated test suite" - "${MINGW_PACKAGE_PREFIX}-python-scipy: needed for spline-related functions") +depends=("${MINGW_PACKAGE_PREFIX}-python-numpy" + "${MINGW_PACKAGE_PREFIX}-python-six") +optdepends=("${MINGW_PACKAGE_PREFIX}-python-scipy: needed for spline-related functions") makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools") source=("https://pypi.python.org/packages/source/p/patsy/${_realname}-${pkgver}.tar.gz") sha256sums=('5053de7804676aba62783dbb0f23a2b3d74e35e5bfa238b88b7cbf148a38b69d') diff --git a/mingw-w64-python-pyamg/PKGBUILD b/mingw-w64-python-pyamg/PKGBUILD index 2e3e45741b..ab749229ad 100644 --- a/mingw-w64-python-pyamg/PKGBUILD +++ b/mingw-w64-python-pyamg/PKGBUILD @@ -7,7 +7,7 @@ provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") pkgver=4.2.3 -pkgrel=2 +pkgrel=3 pkgdesc="PyAMG: Algebraic Multigrid Solvers in Python (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64') @@ -15,8 +15,7 @@ license=('MIT') url="https://github.com/pyamg/pyamg" depends=("${MINGW_PACKAGE_PREFIX}-python" "${MINGW_PACKAGE_PREFIX}-python-scipy" - "${MINGW_PACKAGE_PREFIX}-python-numpy" - "${MINGW_PACKAGE_PREFIX}-python-pytest") + "${MINGW_PACKAGE_PREFIX}-python-numpy") makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools" "${MINGW_PACKAGE_PREFIX}-python-setuptools-scm" "${MINGW_PACKAGE_PREFIX}-pybind11" diff --git a/mingw-w64-python-pyqtgraph/PKGBUILD b/mingw-w64-python-pyqtgraph/PKGBUILD index 14f15accf9..d530ef6050 100644 --- a/mingw-w64-python-pyqtgraph/PKGBUILD +++ b/mingw-w64-python-pyqtgraph/PKGBUILD @@ -4,24 +4,32 @@ _realname=pyqtgraph pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") pkgver=0.12.4 -pkgrel=2 +pkgrel=3 pkgdesc='Scientific Graphics and GUI Library for Python.' arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') url="https://www.pyqtgraph.org/" license=('MIT') -depends=("${MINGW_PACKAGE_PREFIX}-python-pyqt5" "${MINGW_PACKAGE_PREFIX}-python" "${MINGW_PACKAGE_PREFIX}-python-numpy" "${MINGW_PACKAGE_PREFIX}-python-pyopengl" -$([[ "$_enable_scipy" == "yes" ]] && echo "${MINGW_PACKAGE_PREFIX}-python-scipy")) -# "${MINGW_PACKAGE_PREFIX}-python-scipy" is optional +depends=("${MINGW_PACKAGE_PREFIX}-python" + "${MINGW_PACKAGE_PREFIX}-python-numpy") makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools") +optdepends=("${MINGW_PACKAGE_PREFIX}-python-pyqt5" + "${MINGW_PACKAGE_PREFIX}-python-pyqt6" + "${MINGW_PACKAGE_PREFIX}-python-pyside2-qt5" + "${MINGW_PACKAGE_PREFIX}-python-pyside6" + "${MINGW_PACKAGE_PREFIX}-python-scipy: Image processing & Data array filtering" + "${MINGW_PACKAGE_PREFIX}-python-pyopengl: 3D graphics & Faster image processing" + "${MINGW_PACKAGE_PREFIX}-python-h5py: Export in hdf5 format" + "${MINGW_PACKAGE_PREFIX}-python-matplotlib: Export of PlotItem in matplotlib figure & Add matplotlib collection of colormaps" + "${MINGW_PACKAGE_PREFIX}-python-numba: Faster image processing") source=("https://github.com/pyqtgraph/pyqtgraph/archive/refs/tags/pyqtgraph-${pkgver}.tar.gz") sha256sums=('5b3140b0f2efc4e821fe101baf72279e277b3d216cbd65ba0195c7ffb4029394') prepare() { cd "${srcdir}" - rm -rf python-build-${CARCH} | true - cp -r "${_realname}-${_realname}-${pkgver}" "python-build-${CARCH}" + rm -rf python-build-${MSYSTEM} | true + cp -r "${_realname}-${_realname}-${pkgver}" "python-build-${MSYSTEM}" # Set version for setuptools_scm export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver} @@ -32,19 +40,19 @@ prepare() { # but sometimes, you want to do a check before install which would # also trigger the build. build() { - msg "Python build for ${CARCH}" - cd "${srcdir}/python-build-${CARCH}" + msg "Python build for ${MSYSTEM}" + cd "${srcdir}/python-build-${MSYSTEM}" ${MINGW_PREFIX}/bin/python setup.py build } #check() { -# msg "Python test for ${CARCH}" -# cd "${srcdir}/python-build-${CARCH}" +# msg "Python test for ${MSYSTEM}" +# cd "${srcdir}/python-build-${MSYSTEM}" # PYTHONPATH=. ${MINGW_PREFIX}/bin/pytest . #} package() { - cd "${srcdir}/python-build-${CARCH}" + cd "${srcdir}/python-build-${MSYSTEM}" MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ ${MINGW_PREFIX}/bin/python setup.py install --prefix=${MINGW_PREFIX} \ --root="${pkgdir}" --optimize=1 --skip-build diff --git a/mingw-w64-python-resampy/PKGBUILD b/mingw-w64-python-resampy/PKGBUILD index c15f09166e..e5a087364a 100644 --- a/mingw-w64-python-resampy/PKGBUILD +++ b/mingw-w64-python-resampy/PKGBUILD @@ -4,31 +4,33 @@ _realname=resampy pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") pkgver=0.4.2 -pkgrel=1 +pkgrel=2 pkgdesc='Efficient sample rate conversion in python (mingw-w64)' arch=('any') -mingw_arch=('mingw32' 'mingw64' 'ucrt64') +mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64') url="https://github.com/bmcfee/resampy" license=('ISC') -depends=("${MINGW_PACKAGE_PREFIX}-python-numba" "${MINGW_PACKAGE_PREFIX}-python-scipy" "${MINGW_PACKAGE_PREFIX}-python-six") +depends=("${MINGW_PACKAGE_PREFIX}-python" + "${MINGW_PACKAGE_PREFIX}-python-numba" + "${MINGW_PACKAGE_PREFIX}-python-numpy") makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools" "${MINGW_PACKAGE_PREFIX}-cython") source=("${_realname}-$pkgver.tar.gz::https://github.com/bmcfee/resampy/archive/$pkgver.tar.gz") sha256sums=('8b881f282924528abeb6b58f5aaf958b4288d17e03a5ace4079a01e580446ca0') -prepare() { +prepare() { cd "$srcdir" - rm -rf python-build-${CARCH} | true - cp -r "${_realname}-${pkgver}" "python-build-${CARCH}" + rm -rf python-build-${MSYSTEM} | true + cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" } build() { - msg "Python build for ${CARCH}" - cd "${srcdir}/python-build-${CARCH}" + msg "Python build for ${MSYSTEM}" + cd "${srcdir}/python-build-${MSYSTEM}" ${MINGW_PREFIX}/bin/python setup.py build } package() { - cd "${srcdir}/python-build-${CARCH}" + cd "${srcdir}/python-build-${MSYSTEM}" MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ ${MINGW_PREFIX}/bin/python setup.py install --prefix=${MINGW_PREFIX} \ --root="${pkgdir}" --optimize=1 --skip-build