blob: 1c2f575820f9d8186d1240205257220cd2b8fbc0 (
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
|
# Maintainer: Premysl Srubar <premysl.srubar[äT]gmail(.)com>
_pkgname=torchshow
pkgname=('python-torchshow-git')
pkgver=v0.5.0.r6.g08b215b
pkgrel=1
pkgdesc="Torchshow visualizes your data in one line of code. It is designed to help debugging Computer Vision project."
#certifi
depends=(
'python>=3.6'
'python-numpy'
'python-matplotlib'
)
provides=(python-torchshow)
conflicts=(python-torchshow)
arch=('x86_64')
url="https://github.com/xwying/torchshow"
license=("MIT")
makedepends=('python-setuptools' 'git')
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/${pkgname}"
python setup.py build
}
package() {
cd "$srcdir/${pkgname}"
python setup.py install --root="${pkgdir}" --optimize=1
}
|