pkgname=python-pathspec pkgver=0.12.1 pkgrel=1 pkgdesc="Utility library for gitignore style pattern matching of file paths" arch=('x86_64') url="https://github.com/cpburnz/python-pathspec" license=('MPL2') depends=('python') makedepends=('python-build' 'python-flit-core' 'python-installer' 'python-wheel') source=(https://github.com/cpburnz/python-pathspec/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=(dd47a400b58c965c93e1ee6723b8ac562ade44ebfcc12421075ebc8dbe7030a7) build() { cd ${pkgname}-${pkgver} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${pkgname}-${pkgver} python3 -m installer --destdir="$pkgdir" dist/*.whl }