mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-20 17:55:15 +03:00
33 lines
943 B
Text
33 lines
943 B
Text
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=py3-pathspec
|
|
_pyname=pathspec
|
|
pkgver=0.11.0
|
|
pkgrel=0
|
|
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"
|
|
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="
|
|
accce445ff5257baf9a3c055d337d8668f1c8db2b9f9641f174ae9d2307dc15810a1f45947d2b2a3838b85dd03ee04f54660d6d5590e24861021532515f6dff4 py3-pathspec-0.11.0.tar.gz
|
|
"
|