blob: 4db76495a985ce90a4ad2353f386901782124ade (
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
|
# Maintainer: Kevin Maeder <kmaeder[AT]kevin-maeder[dot]de>
pkgname=python-django-debug-toolbar-git
_gitname=django-debug-toolbar
pkgver=1.6.r9.gcef000a
pkgrel=1
pkgdesc="A configurable set of panels that display various debug information about the current request/response."
arch=('any')
url="https://django-debug-toolbar.readthedocs.io/"
license=('BSD')
depends=('python' 'python-django' 'python-sqlparse')
conflicts=('python-django-debug-toolbar')
provides=('python-django-debug-toolbar')
makedepends=('git')
source=('git://github.com/django-debug-toolbar/django-debug-toolbar.git')
md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${_gitname}
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd ${srcdir}/${_gitname}
python setup.py install --root=${pkgdir} && \
install -D -m0644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|