python-markdown2 2.3.6 * Add TOC depth option * Fix to add TOC html to output via CLI * Do not remove anchors in safe_mode * fixing cuddled-lists with a single list item * Fix Wrong rendering of last list element * link-patterns fix * Replace a deprecated method * DeprecationWarning: invalid escape sequence * Fix "make test" in Python 3 * Fix CVE-2018-5773
26 lines
709 B
Makefile
26 lines
709 B
Makefile
# $NetBSD: Makefile,v 1.14 2018/10/03 10:24:41 adam Exp $
|
|
|
|
DISTNAME= markdown2-2.3.6
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=m/markdown2/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
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/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|