mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
35 lines
970 B
Plaintext
35 lines
970 B
Plaintext
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=py3-pathspec
|
|
_pyname=pathspec
|
|
pkgver=0.11.1
|
|
pkgrel=1
|
|
pkgdesc="Utility library for gitignore style pattern matching of file paths"
|
|
url="https://github.com/cpburnz/python-path-specification"
|
|
license="MPL-2.0"
|
|
arch="noarch"
|
|
depends="python3"
|
|
makedepends="py3-flit-core py3-gpep517"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/pathspec/pathspec-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m unittest discover tests
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/pathspec-$pkgver-py3-none-any.whl
|
|
}
|
|
|
|
sha512sums="
|
|
8d9d080a796c13da1bd203aa8ce8b2fae5d7d46c7fdd7706c04567eb9c7b06f643ef310119252b5ef13ebd6368b30dca0e75e96e1471aeca8d6131bc0948b04a py3-pathspec-0.11.1.tar.gz
|
|
"
|