pkgsrc/textproc/py-markdown2/Makefile

27 lines
685 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2020/05/12 06:52:05 adam Exp $
DISTNAME= markdown2-2.3.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
2016-06-08 19:43:20 +02:00
MASTER_SITES= ${MASTER_SITE_PYPI:=m/markdown2/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/trentm/python-markdown2
COMMENT= Fast and complete Python implementation of Markdown
LICENSE= mit
USE_LANGUAGES= # none
REPLACE_PYTHON= lib/markdown2.py
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} markdown2 markdown2-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC}/test && ${PYTHONBIN} test.py
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"