summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtakar Jašek2019-03-14 12:13:09 +0100
committerOtakar Jašek2019-03-14 12:13:09 +0100
commit77d0486e1b8ad76ae431ac6fca68cc9710b89b53 (patch)
tree8f6ae8fff643a47b36574a749970285aaebf0c1b
parent74e8cb8f8565d94c7cb6d9db41d89523df2c41a4 (diff)
downloadaur-77d0486e1b8ad76ae431ac6fca68cc9710b89b53.tar.gz
provides and conflicts
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2000400afd3..187165c0da7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -20,8 +20,9 @@ pkgname = python-visdom-git
depends = python-tornado
depends = python-pyzmq
depends = python-six
- depends = python-torchfile-git
+ depends = python-torchfile
provides = python-visdom
+ conflicts = python-visdom
pkgname = python2-visdom-git
install = visdom2.install
@@ -32,6 +33,7 @@ pkgname = python2-visdom-git
depends = python2-tornado
depends = python2-pyzmq
depends = python2-six
- depends = python2-torchfile-git
+ depends = python2-torchfile
provides = python2-visdom
+ conflicts = python2-visdom
diff --git a/PKGBUILD b/PKGBUILD
index bf8c2ce605c..7c192eec313 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,8 +26,9 @@ pkgver() {
}
package_python-visdom-git() {
-depends=('python-websocket-client' 'python-numpy' 'python-scipy' 'python-requests' 'python-tornado' 'python-pyzmq' 'python-six' 'python-torchfile-git')
+depends=('python-websocket-client' 'python-numpy' 'python-scipy' 'python-requests' 'python-tornado' 'python-pyzmq' 'python-six' 'python-torchfile')
provides=('python-visdom')
+conflicts=('python-visdom')
install='visdom.install'
cd "${srcdir}/visdom"
python setup.py install --root="${pkgdir}/" --optimize=1
@@ -36,8 +37,9 @@ install='visdom.install'
}
package_python2-visdom-git() {
-depends=('python2-websocket-client' 'python2-numpy' 'python2-scipy' 'python2-requests' 'python2-tornado' 'python2-pyzmq' 'python2-six' 'python2-torchfile-git')
+depends=('python2-websocket-client' 'python2-numpy' 'python2-scipy' 'python2-requests' 'python2-tornado' 'python2-pyzmq' 'python2-six' 'python2-torchfile')
provides=('python2-visdom')
+conflicts=('python2-visdom')
install='visdom2.install'
cd "${srcdir}/visdom"
python2 setup.py install --root="${pkgdir}/" --optimize=1