summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtakar Jašek2021-02-04 10:08:16 +0100
committerOtakar Jašek2021-02-04 10:08:16 +0100
commit8f3e0f187f45ebfc9419c1f17421b417e0fbea80 (patch)
tree0d21d3faa86adc40b0e9576aa6ddd317fb0a8d7d
parent422a6b624cfaa89c77a5b53d0e8905648a5bce8c (diff)
downloadaur-python-visdom-git.tar.gz
license change + change of structure of pkgbuild
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 342b5aa276b..2d0a2139d4d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,10 @@
pkgbase = python-visdom-git
pkgdesc = Visualization tool for Pytorch by Facebook
- pkgver = r288.bb0ab59
+ pkgver = r314.bc71e86
pkgrel = 1
url = https://github.com/facebookresearch/visdom
arch = any
- license = CCPL:by-nc
+ license = Apache
makedepends = git
makedepends = python-setuptools
depends = python-websocket-client
diff --git a/PKGBUILD b/PKGBUILD
index 117b0555a68..fcdad3d5bff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,12 +5,12 @@
_pkgbase="visdom"
pkgname=python-visdom-git
-pkgver=r288.bb0ab59
+pkgver=r314.bc71e86
pkgrel=1
arch=(any)
url='https://github.com/facebookresearch/visdom'
pkgdesc='Visualization tool for Pytorch by Facebook'
-license=(CCPL:by-nc)
+license=(Apache)
depends=('python-websocket-client' 'python-numpy' 'python-scipy' 'python-requests' 'python-tornado' 'python-pyzmq' 'python-six' 'python-jsonpatch' 'python-pillow')
makedepends=(
'git'
@@ -18,6 +18,9 @@ makedepends=(
)
options=(!emptydirs)
source=("git+https://github.com/facebookresearch/visdom.git" "visdom.conf" "visdom.group.conf")
+provides=('python-visdom')
+conflicts=('python-visdom')
+install='visdom.install'
sha256sums=('SKIP'
'3df45ac54962cac4425bcd6ff9f118d851e0fe2dbc9cfd54089d8ae46e9fecbf'
'd71fbfa6bb3feecfb1997a459da196f8a2f0f50b33428043921803d97db5562c')
@@ -27,10 +30,7 @@ pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
-package_python-visdom-git() {
-provides=('python-visdom')
-conflicts=('python-visdom')
-install='visdom.install'
+package() {
cd "${srcdir}/${_pkgbase}"
python setup.py install --root="${pkgdir}/" --optimize=1
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"