backports/py3-pathvalidate: upgrade to 3.2.1

This commit is contained in:
Antoine Martin 2024-11-01 10:11:31 -04:00 committed by Antoine Martin
parent 88d35e2b2a
commit 0f88617c94

View file

@ -1,8 +1,8 @@
# Contributor: lauren n. liberda <lauren@selfisekai.rocks> # Contributor: lauren n. liberda <lauren@selfisekai.rocks>
# Maintainer: lauren n. liberda <lauren@selfisekai.rocks> # Maintainer: lauren n. liberda <lauren@selfisekai.rocks>
pkgname=py3-pathvalidate pkgname=py3-pathvalidate
pkgver=3.2.0 pkgver=3.2.1
pkgrel=1 pkgrel=0
pkgdesc="Python library to sanitize/validate a string such as filenames/file-paths/etc" pkgdesc="Python library to sanitize/validate a string such as filenames/file-paths/etc"
url="https://github.com/thombashi/pathvalidate" url="https://github.com/thombashi/pathvalidate"
arch="noarch" arch="noarch"
@ -11,6 +11,7 @@ depends="python3"
makedepends=" makedepends="
py3-gpep517 py3-gpep517
py3-setuptools py3-setuptools
py3-setuptools_scm
py3-wheel py3-wheel
" "
checkdepends="py3-pytest py3-click py3-faker" checkdepends="py3-pytest py3-click py3-faker"
@ -20,6 +21,7 @@ source="https://github.com/thombashi/pathvalidate/archive/refs/tags/v$pkgver/pat
builddir="$srcdir/pathvalidate-$pkgver" builddir="$srcdir/pathvalidate-$pkgver"
build() { build() {
export SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver"
gpep517 build-wheel \ gpep517 build-wheel \
--wheel-dir .dist \ --wheel-dir .dist \
--output-fd 3 3>&1 >&2 --output-fd 3 3>&1 >&2
@ -31,5 +33,5 @@ package() {
} }
sha512sums=" sha512sums="
d1b0e49028bc5497558d9a0c15b4e3c301cacb439bebccffc467fc23001854877dbc81a214cc6eb34c5a905a88c4f9394f5865a4de42f354b2450a3bfe10bb9e pathvalidate-3.2.0.tar.gz 094bb442258ba58fff11691f5b60976513924443247e808effbc26b9dd6c336f5f84d8e4563643b7def19d9f82170eb9ec6cd89491f9115df8d1634d2aa12206 pathvalidate-3.2.1.tar.gz
" "