mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
33 lines
820 B
Text
33 lines
820 B
Text
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
|
pkgname=py3-wcmatch
|
|
_pkgname=wcmatch
|
|
pkgver=8.4.1
|
|
pkgrel=0
|
|
pkgdesc="wilcard file name matching library"
|
|
url="https://facelessuser.github.io/wcmatch/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="py3-bracex"
|
|
makedepends="py3-hatchling py3-gpep517 py3-installer"
|
|
checkdepends="py3-pytest"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
pytest -v
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/wcmatch*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
2ce84ebde2f6fcb7470eb35abda7c3cd7bc3a317694c4fe276bce8ff77d0e53373ad8c0744495c97e9aee63ce6ef2503c584980942c9e1de3ea862c4203b5ccf wcmatch-8.4.1.tar.gz
|
|
"
|