bb579283d0
They now have a tool dependency on py-setuptools instead of a DEPENDS
29 lines
889 B
Makefile
29 lines
889 B
Makefile
# $NetBSD: Makefile,v 1.4 2022/01/04 20:55:20 wiz Exp $
|
|
|
|
DISTNAME= django-modelcluster-5.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=wagtail/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/wagtail/django-modelcluster
|
|
COMMENT= Django extension for offline model instances
|
|
LICENSE= modified-bsd
|
|
|
|
GITHUB_PROJECT= django-modelcluster
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE+= 27
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pytz>=2015.2:../../time/py-pytz
|
|
DEPENDS+= ${PYPKGPREFIX}-django-taggit>=0.20:../../www/py-django-taggit
|
|
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"
|