blob: fb0c524f1d310c3d78b424e6775973e3a9a37509 (
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
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=python-mlflow
pkgver=1.7.2
pkgrel=3
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<=1.4.1' 'python-click' 'python-cloudpickle'
'python-databricks-cli' 'python-requests' 'python-six' 'gunicorn'
'python-flask' 'python-numpy' 'python-pandas' 'python-dateutil'
'python-protobuf' 'python-gitpython' 'python-pyaml'
'python-querystring-parser' 'python-simplejson'
'python-docker' 'python-entrypoints' 'python-sqlparse'
'python-sqlalchemy<=1.3.13' 'python-gorilla'
'python-prometheus-flask-exporter')
optdepends=('python-scikit-learn' 'python-boto3' 'python-mleap'
'python-azure-storage' 'python-google-cloud-storage' 'python-mlflow-dbstore')
makedepends=('python' 'python-setuptools' 'npm')
source=("$pkgname-$pkgver::https://github.com/mlflow/mlflow/archive/v$pkgver.tar.gz")
sha256sums=('fe2db1fdb36637fb6dbdb787aa144f9a2e6cfa1eb365b8f9cc195a1d30c6cb43')
_pkgname=mlflow
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
cd mlflow/server/js
npm install
npm run build
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py install --root="$pkgdir"/ --optimize=1
}
|