python-pdm-pep517: update to 1.0.4

This commit is contained in:
Mehdi Chinoune
2022-08-18 13:04:05 +00:00
committed by مهدي شينون (Mehdi Chinoune)
parent fa631b88b8
commit 120e334be2

View File

@@ -3,7 +3,7 @@
_realname=pdm-pep517
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=1.0.3
pkgver=1.0.4
pkgrel=1
pkgdesc="A PEP 517 backend for PDM that supports PEP 621 metadata (mingw-w64)"
arch=('any')
@@ -21,7 +21,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest")
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz"
"python-pdm-pep517-1.0.3-devendor.patch")
sha256sums=('0212afdd968c1da0ce5249e61b754c5bebb6778c9fd94f70a48711606c45207f'
sha256sums=('392f8c2b47c6ec20550cb8e19e24b9dbd27373413f067b56ecd75f9767f93015'
'fd7c8b1cccb23b8928327410f1bc32dffa693ff627bccbc79d9252c7ae99cad6')
noextract=("${_realname}-${pkgver}.tar.gz")
@@ -52,5 +52,8 @@ package() {
${MINGW_PREFIX}/bin/python -m installer --prefix=${MINGW_PREFIX} \
--destdir="${pkgdir}" dist/*.whl
# Remove *.orig files
find "${pkgdir}${MINGW_PREFIX}" -type f -name "*.orig" -exec rm -f {} \;
install -Dm644 LICENSE "${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/LICENSE"
}