# Maintainer: Caleb Maclennan # Contributor: Stefan Husmann # Contributor: Lex Black # Contributor: Mr. Outis pkgname=dvc pkgver=3.50.1 pkgrel=2 pkgdesc='Open-source version control system for data science projects' arch=(any) license=(Apache-2.0) url="https://github.com/iterative/$pkgname" _pydeps=(aiohttp-retry appdirs benedict colorama configobj dpath dictdiffer distro dvc-render dvc-data flatten-dict flufl-lock fsspec funcy gitdb gitpython grandalf humanize inflect ntfs packaging pathspec ply pydot pygtrie requests ruamel-yaml scmrepo shortuuid shtab tqdm treelib voluptuous yaml zc.lockfile) depends=(python "${_pydeps[@]/#/python-}") optdepends=('python-google-cloud-storage: support for Google Cloud' 'python-azure-storage: support for Azure remote' 'python-boto3: support for AWS S3 remote' 'python-fsspec: support for HDFS remote' 'python-google-api-python-client: support for GDrive' 'python-kerberos: support for webhfs' 'python-oss2: support for Aliyun Object Storage Service' 'python-paramiko: support for SSH remote' 'python-pyarrow: support for HDFS remote' 'python-pydrive: support for GDrive' 'python-s3fs: support for AWS S3 remote') 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=('97c92a530da38ea08f1cfad6ec7ad7ad1abf55887eb243d10b789123131616f9') prepare() { cd "$_archive" sed -i -E '/setuptools_scm/s/==1.1//' pyproject.toml setup.cfg } build() { cd "$_archive" python -m build -wn } package() { cd "$_archive" python -m installer -d "$pkgdir" dist/*.whl }