diff --git a/mingw-w64-python-poetry/001-loosen-platformdirs-req.patch b/mingw-w64-python-poetry/001-loosen-platformdirs-req.patch deleted file mode 100644 index f85393209d..0000000000 --- a/mingw-w64-python-poetry/001-loosen-platformdirs-req.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/pyproject.toml b/pyproject.toml -index f1439527a53..c14c5d52edd 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -47,7 +47,7 @@ keyring = "^24.0.0" - packaging = ">=20.5" - pexpect = "^4.7.0" - pkginfo = "^1.9.4" --platformdirs = "^3.0.0" -+platformdirs = ">=3.0.0,<5" - pyproject-hooks = "^1.0.0" - requests = "^2.26" - requests-toolbelt = "^1.0.0" diff --git a/mingw-w64-python-poetry/PKGBUILD b/mingw-w64-python-poetry/PKGBUILD index 96d69d25d1..d431c8b973 100644 --- a/mingw-w64-python-poetry/PKGBUILD +++ b/mingw-w64-python-poetry/PKGBUILD @@ -3,16 +3,15 @@ _realname=poetry pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") -pkgver=1.7.1 -pkgrel=2 +pkgver=1.8.0 +pkgrel=1 pkgdesc="Python dependency management and packaging made easy (mingw-w64)" arch=('any') mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64') +url="https://github.com/python-poetry/poetry" msys2_references=( 'pypi: poetry' ) -url="https://github.com/python-poetry/poetry" -options=('!strip') license=('spdx:MIT') depends=( "${MINGW_PACKAGE_PREFIX}-python" @@ -38,17 +37,11 @@ depends=( "${MINGW_PACKAGE_PREFIX}-python-trove-classifiers" "${MINGW_PACKAGE_PREFIX}-python-virtualenv" ) -source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz" - "001-loosen-platformdirs-req.patch") -sha256sums=('b348a70e7d67ad9c0bd3d0ea255bc6df84c24cf4b16f8d104adb30b425d6ff32' - '0684749353d08eeb34f3d49c619b58d8923c93bd07df3bca1594cbb585e1de99') +options=('!strip') +source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz") +sha256sums=('27676b30e17c44b836cc002bf3cf8472f01fce886bddb4987caf14aeb4663165') prepare() { - cd "${_realname}-${pkgver}" - - # https://github.com/python-poetry/poetry/pull/8668 - patch -p1 -i "${srcdir}/001-loosen-platformdirs-req.patch" - cd "${srcdir}" rm -rf python-build-${MSYSTEM} | true cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}"