blob: 0a5c37e55d5a622ea66cd33264a2ea0496621f53 (
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
|
# Maintainer: Butui Hu <hot123tea123@gmail.com>
pkgname=python-mxboard
_pkgname=mxboard
pkgver=0.1.0
pkgrel=4
pkgdesc='Logging MXNet Data for Visualization in TensorBoard'
arch=(any)
url='https://github.com/awslabs/mxboard'
license=('Apache')
depends=(
'mxnet'
'python-matplotlib'
'python-numpy'
'python-protobuf'
'python-six'
'python-scipy'
)
optdepends=('tensorboard')
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/awslabs/mxboard/archive/v${pkgver}.tar.gz")
sha512sums=('eeefde4ec65ecf803f0aa79c629d7b1a027e2503901736965e850dd5d6da76bf7794c05ca0dc60486bd219078df2781e061cc5797e1e9d987bbe02861065041c')
build() {
cd "${_pkgname}-${pkgver}/python"
python setup.py build
}
package() {
cd "${_pkgname}-${pkgver}/python"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:set ts=2 sw=2 et:
|