2020-05-12 08:52:05 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2020/05/12 06:52:05 adam Exp $
|
2012-08-15 11:27:34 +02:00
|
|
|
|
2020-05-12 08:52:05 +02:00
|
|
|
DISTNAME= markdown2-2.3.9
|
2012-08-15 11:27:34 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
2017-11-28 10:02:59 +01:00
|
|
|
CATEGORIES= textproc python
|
2016-06-08 19:43:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=m/markdown2/}
|
2012-08-15 11:27:34 +02:00
|
|
|
|
2014-09-28 05:05:47 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2012-08-15 11:27:34 +02:00
|
|
|
HOMEPAGE= https://github.com/trentm/python-markdown2
|
|
|
|
COMMENT= Fast and complete Python implementation of Markdown
|
|
|
|
LICENSE= mit
|
|
|
|
|
2018-12-06 21:30:31 +01:00
|
|
|
USE_LANGUAGES= # none
|
2012-08-15 11:27:34 +02:00
|
|
|
|
2018-12-06 21:30:31 +01:00
|
|
|
REPLACE_PYTHON= lib/markdown2.py
|
2014-01-22 14:18:19 +01:00
|
|
|
|
2017-07-06 09:43:33 +02:00
|
|
|
post-install:
|
2018-12-06 21:30:31 +01:00
|
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
2019-05-30 07:10:55 +02:00
|
|
|
${MV} markdown2 markdown2-${PYVERSSUFFIX} || ${TRUE}
|
2017-07-06 09:43:33 +02:00
|
|
|
|
2012-08-15 11:27:34 +02:00
|
|
|
do-test:
|
2018-10-03 12:24:41 +02:00
|
|
|
cd ${WRKSRC}/test && ${PYTHONBIN} test.py
|
2012-08-15 11:27:34 +02:00
|
|
|
|
2014-01-22 14:18:19 +01:00
|
|
|
.include "../../lang/python/application.mk"
|
2018-12-06 21:30:31 +01:00
|
|
|
.include "../../lang/python/egg.mk"
|
2012-08-15 11:27:34 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|