blob: ecdb1e3775e5926f46a3a4679f230baeaed3b11c (
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
|
# Maintainer: Gerard Ribugent <ribugent <at> gmail <dot> com>
pkgname=python-dbx
_name=dbx
pkgver=0.8.4
pkgrel=2
pkgdesc="DataBricks CLI eXtensions - aka dbx is a CLI tool for advanced Databricks jobs management."
arch=(any)
url="https://docs.databricks.com/dev-tools/dbx.html"
license=('CUSTOM')
depends=(
'python>=3.8'
"python-databricks-cli>=0.17" "python-databricks-cli<0.18"
"python-click>=8.1.0" "python-click<9.0.0"
"python-rich<12.8.0" # Upstream requires 12.5.1, but 12.7.x looks compatible
"python-typer>=0.6.1" "python-typer<1.0.0"
"python-retry>=0.9.2" "python-retry<1.0.0"
"python-requests>=2.24.0" "python-requests<3.0.0"
"python-mlflow>=1.28.0" "python-mlflow<2.0.0" # Upstream requires "python-mlflow-skinny==1.28.0" but it's not available in Arch/AUR
"python-yaml>=6.0"
"python-pydantic>=1.9.1" "python-pydantic<=2.0.0"
"python-cryptography>=3.3.1" "python-cryptography<39.0.0" # Upstream sets 38 as max, but it's backward compatible, so we set 39
"python-cookiecutter>=1.7.2" "python-cookiecutter<3.0.0"
"python-jinja>=2.11.2"
"python-aiohttp>=3.8.1"
"python-pathspec>=0.9.0"
"python-watchdog-git>=2.1.0" # The community package is stuck at 0.10.7-3
)
makedepends=(python-build python-installer)
source=($pkgname-$pkgver.tar.gz::https://github.com/databrickslabs/dbx/archive/refs/tags/v$pkgver.tar.gz)
sha512sums=('5df32036eac9687281fad4bf466703a43e39599eabd11b765664dc642280f399d6f2eff525c800a04906174b4fd003edda813bd539fe354f95dbfc1acbf66eac')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|