summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartino Pilia2019-08-04 15:11:44 +0200
committerMartino Pilia2019-08-04 15:11:44 +0200
commit35ff50e846514fc050be0337ad36677ff56c7696 (patch)
tree2cc83a278ffb96dabc4bf2535c16f9d3d1abe52a
parentc76e8305c7d6cbca5c449d48d445f5266c27508d (diff)
downloadaur-35ff50e846514fc050be0337ad36677ff56c7696.tar.gz
Version 1.8
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a4a43d2530d..5c5a797f1aa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-tensorboardx
pkgdesc = Tensorboard for PyTorch
- pkgver = 1.7
+ pkgver = 1.8
pkgrel = 1
url = https://github.com/lanpa/tensorboardX
arch = any
@@ -10,7 +10,7 @@ pkgbase = python-tensorboardx
depends = python-protobuf
depends = python-six
conflicts = python-tensorboard-git
- source = git+https://github.com/lanpa/tensorboardX.git
+ source = git+https://github.com/lanpa/tensorboardX.git#tag=v1.8
sha256sums = SKIP
pkgname = python-tensorboardx
diff --git a/PKGBUILD b/PKGBUILD
index 37dc778fd0b..e4510e7d6fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer of this PKGBUILD file: Martino Pilia <martino.pilia@gmail.com>
_name=tensorboardX
pkgname=python-tensorboardx
-pkgver=1.7
+pkgver=1.8
pkgrel=1
pkgdesc="Tensorboard for PyTorch"
arch=('any')
@@ -10,14 +10,11 @@ license=('MIT')
depends=('python-protobuf' 'python-six')
makedepends=('python-setuptools' 'git')
conflicts=('python-tensorboard-git')
-source+=("git+https://github.com/lanpa/tensorboardX.git")
+source+=("git+https://github.com/lanpa/tensorboardX.git#tag=v${pkgver}")
sha256sums=('SKIP')
-_release_commit=3a4c848ca850015ef5b2c7184dbe65da4eb674f4
-
package() {
cd "$srcdir/$_name"
- git checkout $_release_commit
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
python setup.py install --optimize=1 --root="$pkgdir"
}