summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7915d481bee287ad4753a8564dec41dcb782153c (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

_pipname=wdb.server
pkgbase=python-wdb.server
pkgname=('python2-wdb.server' 'python-wdb.server')
pkgver=3.0.7
pkgrel=1
pkgdesc="improbable web debugger through WebSockets (server)"
arch=('any')
url="http://github.com/Kozea/wdb"
license=('LGPL3')
makedepends=('python2-setuptools' 'python-setuptools')
source=("https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz")
md5sums=('816cebeca064e717d5a249d8993c5b47')

prepare() {
    cp -R $_pipname-$pkgver python2-$_pipname-$pkgver
}

package_python2-wdb.server() {
depends=('python2' 'python2-tornado' 'tornado_systemd' 'python2-psutil')

    cd python2-$_pipname-$pkgver
    python2 setup.py install --root="$pkgdir/" --optimize=1

}

package_python-wdb.server() {
depends=('python' 'python-tornado' 'tornado_systemd' 'python-psutil')

    cd $_pipname-$pkgver
    python setup.py install --root="$pkgdir/" --optimize=1

}