blob: e1fecde498bbc4b5c23e5e9d1f37925814b45c03 (
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
|
# Maintainer of this PKGBUILD file: Martino Pilia <martino.pilia@gmail.com>
_name=tensorboardX
pkgname=python-tensorboardx
pkgver=2.4.1
pkgrel=1
pkgdesc="Tensorboard for PyTorch"
arch=('any')
url="https://github.com/lanpa/tensorboardX"
license=('MIT')
depends=(
'python-numpy'
'python-protobuf'
)
makedepends=('python-setuptools' 'git')
optdepends=(
'python-crc32c: speed up'
'python-soundfile: 200x speed up the add_audio() function'
)
checkdepends=(
'python-future'
'python-pytest'
'python-matplotlib'
'python-crc32c'
)
conflicts=('python-tensorboard-git')
source+=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('5beb5c23f604c7df9a10adcf19b8e4b39fcf35576587d1621dcf9efa7b215460')
package() {
cd "${srcdir}/${_name}-${pkgver}"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
python setup.py install --optimize=1 --root="${pkgdir}"
}
|