diff --git a/mingw-w64-python-findpython/PKGBUILD b/mingw-w64-python-findpython/PKGBUILD index 648fe96e34..b0099bcba6 100644 --- a/mingw-w64-python-findpython/PKGBUILD +++ b/mingw-w64-python-findpython/PKGBUILD @@ -3,28 +3,26 @@ _realname=findpython pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") -pkgver=0.2.5 -pkgrel=2 +pkgver=0.3.0 +pkgrel=1 pkgdesc='A utility to find python versions on your system (mingw-w64)' arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') url='https://github.com/frostming/findpython' -license=('MIT') +license=('spdx:MIT') depends=("${MINGW_PACKAGE_PREFIX}-python" "${MINGW_PACKAGE_PREFIX}-python-packaging") makedepends=("${MINGW_PACKAGE_PREFIX}-python-build" "${MINGW_PACKAGE_PREFIX}-python-installer" - "${MINGW_PACKAGE_PREFIX}-python-pdm-pep517" + "${MINGW_PACKAGE_PREFIX}-python-pdm-backend" "${MINGW_PACKAGE_PREFIX}-python-wheel") options=('!strip') -source=("${_realname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('be1b3833fb6ee53086a5ffc1f0203f7289313f7dcf15060f47bef38a490e1c54') +source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz") +sha256sums=('e6c6d6c48ce7cfd6959ccdce12d6121d576cff395f493fd46667e7d5a9aa2474') build() { cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}" - export PDM_PEP517_SCM_VERSION=${pkgver} - ${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation }