29 lines
847 B
Makefile
29 lines
847 B
Makefile
# $NetBSD: Makefile,v 1.2 2020/08/05 04:16:56 tnn Exp $
|
|
|
|
DISTNAME= wagtailmenus-3.0.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=rkhleics/}
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= https://github.com/rkhleics/wagtailmenus
|
|
COMMENT= Menu system for the Wagtail CMS
|
|
LICENSE= mit
|
|
|
|
GITHUB_PROJECT= wagtailmenus
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-wagtail>=2.9:../../www/py-wagtail
|
|
DEPENDS+= ${PYPKGPREFIX}-django-cogwheels>=0.3:../../www/py-django-cogwheels
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-wagtail
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PREFIX}/bin/coverage-${PYVERSSUFFIX} \
|
|
run --source=wagtailmenus runtests.py
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|