pkgsrc/www/py-django-debug-toolbar/Makefile
wiz bb579283d0 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:53:26 +00:00

28 lines
846 B
Makefile

# $NetBSD: Makefile,v 1.2 2022/01/04 20:55:19 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
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC} && ${PREFIX}/bin/coverage-${PYVERSSUFFIX} \
run -m django test --settings=tests.settings
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"