# Maintainer: Anthony25 # # Thanks to Jeremy "Ichimonji10" Audet for # his PKGBUILD that served as a base for this one pkgbase=python-django-debug-toolbar _pkgbase="${pkgbase#python-}" pkgname=python-django-debug-toolbar pkgver=3.2 pkgrel=1 pkgdesc='A configurable set of panels that display various debug information about the current request/response.' arch=(any) url='https://github.com/jazzband/django-debug-toolbar' license=(BSD-3) makedepends=( 'python-django>=2.0' python-setuptools ) depends=('python-django>=2.0' 'python-sqlparse') conflicts=('python-django-debug-toolbar-git') options=(!emptydirs) source=("https://github.com/jazzband/${_pkgbase}/archive/${pkgver}.tar.gz") sha256sums=('ffa8975f09e9acc18567bd11738a237002a6179ed0b9397e32faed70c5bd50b2') package_python-django-debug-toolbar() { cd "${srcdir}/${_pkgbase}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } # vim:set ts=2 sw=2 et: