bb579283d0
They now have a tool dependency on py-setuptools instead of a DEPENDS
28 lines
846 B
Makefile
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"
|