pkgsrc/www/py-landslide/Makefile
2021-04-06 15:22:38 +00:00

31 lines
963 B
Makefile

# $NetBSD: Makefile,v 1.6 2021/04/06 15:22:38 adam Exp $
DISTNAME= landslide-1.1.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/landslide/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/adamzap/landslide
COMMENT= Generate HTML5 slideshows from markdown, ReST, or textile
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-docutils>=0.14:../../textproc/py-docutils
DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.10.1:../../textproc/py-jinja2
DEPENDS+= ${PYPKGPREFIX}-markdown>=2.6.11:../../textproc/py-markdown
DEPENDS+= ${PYPKGPREFIX}-six>=1.11.0:../../lang/py-six
USE_LANGUAGES= # none
PYTHON_VERSIONED_DEPENDENCIES= pygments
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} landslide landslide-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC} && ${PYTHONBIN} tests.py
.include "../../lang/python/distutils.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"