blob: d4de0f15bc4c6c0789a3eae285f7618a618916af (
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
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=python-mlflow
pkgver=2.9.2
pkgrel=1
pkgdesc='An open source platform for the machine learning lifecycle'
arch=('x86_64')
url='https://mlflow.org'
license=('Apache-2.0')
depends=('python' 'python-alembic' 'python-docker' 'python-flask' 'python-numpy'
'python-scipy' 'python-pandas' 'python-prometheus-flask-exporter'
'python-querystring-parser' 'python-sqlalchemy' 'gunicorn'
'python-click' 'python-cloudpickle' 'python-databricks-cli'
'python-entrypoints' 'python-gitpython' 'python-pyaml'
'python-protobuf' 'python-pytz' 'python-requests' 'python-packaging'
'python-importlib-metadata' 'python-sqlparse')
optdepends=('python-scikit-learn: for mlflow[extras, pipelines]'
'python-pyarrow: for mlflow[extras, pipelines]'
'python-boto3: for mlflow[extras]'
'python-google-cloud-storage: for mlflow[extras]'
'python-azureml-core: for mlflow[extras]'
'python-pysftp: for mlflow[extras]'
'python-kubernetes: for mlflow[extras]'
'python-mlserver: for mlflow[extras]'
'python-mlserver-mlflow: for mlflow[extras]'
'python-virtualenv: for mlflow[extras]'
'python-shap: for mlflow[pipelines]'
'python-pandas-profiling: for mlflow[pipelines]'
'python-ipython: for mlflow[pipelines]'
'python-markdown: for mlflow[pipelines]'
'python-jinja: for mlflow[pipelines]'
'python-mlflow-dbstore: for mlflow[sqlserver]'
'python-aliyunstoreplugin: for mlflow[aliyun-oss]'
)
makedepends=('python' 'python-build' 'python-installer' 'python-wheel'
'python-setuptools' 'yarn')
source=("$pkgname-$pkgver.tar.gz::https://github.com/mlflow/mlflow/archive/v$pkgver.tar.gz")
sha256sums=('14f0239b2f0c29c9819bd3927bb5328386a77b0499ab0c91b78c145d1f4fbd70')
_pkgname=mlflow
build() {
export NODE_OPTIONS=--openssl-legacy-provider
cd "${srcdir}/${_pkgname}-${pkgver}"
cd mlflow/server/js
yarn install
yarn run build
cd "${srcdir}/${_pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|