blob: a605e92170bf46f8539c83ae728fbbe1cf67a3f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Lex Black <autumn-wind@web.de>
# Contributor: Mr. Outis <mroutis@protonmail.com>
pkgname=dvc
pkgver=3.59.0
pkgrel=1
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=('d991221eec54a146050f90b948e5a9c0541c81565356bf034e3faf54a6bfb847')
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
}
|