diff --git a/mingw-w64-python-pathlib2/PKGBUILD b/mingw-w64-python-pathlib2/PKGBUILD index cfa73a516c..b516f4e7c4 100644 --- a/mingw-w64-python-pathlib2/PKGBUILD +++ b/mingw-w64-python-pathlib2/PKGBUILD @@ -6,8 +6,8 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -pkgver=2.3.5 -pkgrel=2 +pkgver=2.3.6 +pkgrel=1 pkgdesc="This module offers a set of classes featuring all the common operations on paths in an easy, object-oriented way (mingw-w64)" url="https://pypi.org/project/pathlib2/" arch=('any') @@ -17,22 +17,21 @@ depends=("${MINGW_PACKAGE_PREFIX}-python" "${MINGW_PACKAGE_PREFIX}-python-scandir") makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools") source=("https://pypi.io/packages/source/p/${_realname}/${_realname}-${pkgver}.tar.gz") -sha256sums=('6cd9a47b597b37cc57de1c05e56fb1a1c9cc9fab04fe78c29acd090418529868') +sha256sums=('7d8bcb5555003cdf4a8d2872c538faa3a0f5d20630cb360e518ca3b981795e5f') 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