summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 585a7d996414c484384f43dadc25e33b393c36a1 (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
pkgname=python-pdbpp-git
_realname=pdbpp
pkgver=0.10.2.r206.gb326f14
pkgrel=1
pkgdesc="pdb++, a drop-in replacement for pdb"
arch=(any)
url="https://github.com/pdbpp/pdbpp"
license=('BSD')
depends=('python' 'python-fancycompleter' 'python-pygments')
optdepends=('python-pyrepl-git')
options=(!emptydirs)
conflicts=('python-pdbpp')
provides=('python-pdbpp')
source=("git+https://github.com/pdbpp/pdbpp.git")
sha256sums=('SKIP')

pkgver() {
  cd "$_realname"
  git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}

package() {
  cd "$srcdir/$_realname"
  python setup.py install --root="$pkgdir/" --optimize=1
}

# vim:set ts=2 sw=2 et: