[arch-commits] Commit in python-django-debug-toolbar/repos (2 files)
Jelle van der Waa
jelle at archlinux.org
Sat Jul 3 19:59:36 UTC 2021
Date: Saturday, July 3, 2021 @ 19:59:35
Author: jelle
Revision: 971971
archrelease: copy trunk to community-any
Added:
python-django-debug-toolbar/repos/community-any/
python-django-debug-toolbar/repos/community-any/PKGBUILD
(from rev 971970, python-django-debug-toolbar/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: python-django-debug-toolbar/repos/community-any/PKGBUILD (from rev 971970, python-django-debug-toolbar/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2021-07-03 19:59:35 UTC (rev 971971)
@@ -0,0 +1,36 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Anthony25 <Anthony Ruhier>
+# Contributor Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com>
+
+_name=django-debug-toolbar
+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)
+makedepends=(python-setuptools)
+checkdepends=(python-jinja python-html5lib)
+depends=(python-django python-sqlparse)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/jazzband/${_name}/archive/${pkgver}.tar.gz)
+sha256sums=('ffa8975f09e9acc18567bd11738a237002a6179ed0b9397e32faed70c5bd50b2')
+
+build() {
+ cd "${_name}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${_name}-${pkgver}"
+ # Doesn't work due to warnings
+ #PYTHONPATH=. DB_BACKEND=sqlite3 DB_NAME=":memory:" DJANGO_SETTINGS_MODULE=tests.settings python -m django test tests
+}
+
+package() {
+ cd "${_name}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list