0a1d472d7f
python-markdown2 2.3.9 - Added header support for wiki tables - Reset _toc when convert is run - XSS fix - XSS fix
26 lines
685 B
Makefile
26 lines
685 B
Makefile
# $NetBSD: Makefile,v 1.17 2020/05/12 06:52:05 adam Exp $
|
|
|
|
DISTNAME= markdown2-2.3.9
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= textproc python
|
|
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"
|