diff options
author | Otakar Jašek | 2019-11-13 10:38:45 +0100 |
---|---|---|
committer | Otakar Jašek | 2019-11-13 10:38:45 +0100 |
commit | 7712f2de6d81d91076ef4871dc7c3e4bc50135c1 (patch) | |
tree | 877adbecbcd408c2bb7c68fe37e1c42f4735a1b5 /PKGBUILD | |
parent | 56353a036fb7646f55e5126a1c839b664ef7abdc (diff) | |
download | aur-7712f2de6d81d91076ef4871dc7c3e4bc50135c1.tar.gz |
Drop Python 2 support. Less than 50 days till EOL for Python2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 3 insertions, 19 deletions
@@ -3,25 +3,23 @@ # Thanks to Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com> for # his PKGBUILD that served as a base for this one -pkgbase=python-visdom-git _pkgbase="visdom" -pkgname=(python-visdom-git python2-visdom-git) +pkgname=python-visdom-git pkgver=r288.bb0ab59 pkgrel=1 arch=(any) url='https://github.com/facebookresearch/visdom' pkgdesc='Visualization tool for Pytorch by Facebook' license=(CCPL:by-nc) +depends=('python-websocket-client' 'python-numpy' 'python-scipy' 'python-requests' 'python-tornado' 'python-pyzmq' 'python-six' 'python-jsonpatch' 'python-pillow') makedepends=( 'git' 'python-setuptools' - 'python2-setuptools' ) options=(!emptydirs) -source=("git+https://github.com/facebookresearch/visdom.git" "visdom.conf" "visdom2.conf" "visdom.group.conf") +source=("git+https://github.com/facebookresearch/visdom.git" "visdom.conf" "visdom.group.conf") sha256sums=('SKIP' 'f795c8a3185282b366e7942b07b5ac74b9c293d1eb0f15727cf26905c1d7934e' - 'f795c8a3185282b366e7942b07b5ac74b9c293d1eb0f15727cf26905c1d7934e' 'd71fbfa6bb3feecfb1997a459da196f8a2f0f50b33428043921803d97db5562c') pkgver() { @@ -30,7 +28,6 @@ pkgver() { } package_python-visdom-git() { -depends=('python-websocket-client' 'python-numpy' 'python-scipy' 'python-requests' 'python-tornado' 'python-pyzmq' 'python-six' 'python-jsonpatch') provides=('python-visdom') conflicts=('python-visdom') install='visdom.install' @@ -40,16 +37,3 @@ install='visdom.install' install -Dm 644 "${srcdir}/${_pkgbase}.group.conf" "${pkgdir}/usr/lib/sysusers.d/${_pkgbase}.group.conf" install -Dm 644 "${srcdir}/${_pkgbase}.conf" "${pkgdir}/usr/lib/tmpfiles.d/${_pkgbase}.conf" } - -package_python2-visdom-git() { -depends=('python2-websocket-client' 'python2-numpy' 'python2-scipy' 'python2-requests' 'python2-tornado' 'python2-pyzmq' 'python2-six' 'python2-jsonpatch') -provides=('python2-visdom') -conflicts=('python2-visdom') -install='visdom.install' - cd "${srcdir}/${_pkgbase}" - python2 setup.py install --root="${pkgdir}/" --optimize=1 - mv "${pkgdir}/usr/bin/visdom" "${pkgdir}/usr/bin/visdom2" - install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm 644 "${srcdir}/${_pkgbase}.group.conf" "${pkgdir}/usr/lib/sysusers.d/${_pkgbase}.group.conf" - install -Dm 644 "${srcdir}/${_pkgbase}2.conf" "${pkgdir}/usr/lib/tmpfiles.d/${_pkgbase}.conf" -} |