pkgsrc/www/py-django-debug-toolbar/Makefile

30 lines
878 B
Makefile

# $NetBSD: Makefile,v 1.3 2022/08/24 09:25:57 wiz Exp $
DISTNAME= django-debug-toolbar-2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_GITHUB:=jazzband/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/jazzband/django-debug-toolbar
COMMENT= Debugging toolbar for Django
LICENSE= modified-bsd
GITHUB_PROJECT= django-debug-toolbar
GITHUB_TAG= ${PKGVERSION_NOREV}
DEPENDS+= ${PYPKGPREFIX}-sqlparse>=0.2.0:../../databases/py-sqlparse
DEPENDS+= ${PYPKGPREFIX}-django>=1.11:../../www/py-django
USE_LANGUAGES= # none
PYTHON_VERSIONED_DEPENDENCIES+= coverage:test
do-test:
cd ${WRKSRC} && ${PREFIX}/bin/coverage-${PYVERSSUFFIX} \
run -m django test --settings=tests.settings
.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"