summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fd24ab04af7a9782b044f8a9d5790f01fde3cdc5 (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
# Contributor: piernov <piernov@piernov.org>

pkgname=python-neptune-client
pkgver=1.14.0rc0
pkgrel=2
pkgdesc="Neptune Client"
arch=('x86_64')
url="https://github.com/neptune-ai/neptune-client"
license=('APACHE')
depends=(
'python'
'python-bravado'
'python-bravado-core'
'python-click'
'python-oauthlib'
'python-packaging'
'python-pandas'
'python-protobuf'
'python-psutil'
'python-pyjwt'
'python-requests'
'python-requests-oauthlib'
'python-setuptools'
'python-simplejson'
'python-typing_extensions'
'python-urllib3'
'python-websocket-client'
)
makedepends=('python-build' 'python-installer' 'python-poetry-dynamic-versioning')
source=("$pkgname-$pkgver.tar.gz::https://github.com/neptune-ai/neptune-client/archive/refs/tags/$pkgver.tar.gz")
md5sums=('76e6f38756b5fccf230a43f2eff4104b')

build() {
  cd "$srcdir"/neptune-client-$pkgver
  export POETRY_DYNAMIC_VERSIONING_BYPASS=$pkgver
  python -m build --wheel --no-isolation
}

package() {
  cd "$srcdir"/neptune-client-$pkgver
  python -m installer --destdir="$pkgdir" dist/*.whl
}