# Maintainer: Caleb Maclennan pkgname=python-dvc-data _pkgname=${pkgname#python-} pkgver=2.22.6 pkgrel=1 pkgdesc='DVC’s data management subsystem' arch=(any) license=(Apache) url="https://github.com/iterative/$_pkgname" _pydeps=(dictdiffer dvc-objects funcy pygtrie shortuuid) depends=(python "${_pydeps[@]/#/python-}") makedepends=(python-{build,installer,wheel} python-setuptools-scm) _archive=("$_pkgname-$pkgver") source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_archive.tar.gz") sha256sums=('8be52058a41acd18fe63f7fd431d1b868570292d1204086b9c44343ac053db24') build() { cd "$_archive" python -m build -wn } package() { cd "$_archive" python -m installer -d "$pkgdir" dist/*.whl }