pkgsrc/textproc/py-creole/Makefile
adam cbcd38e3a9 py-creole: updated to 1.3.2
1.3.2:
Adding optional img size to creole2html and html2creole
run tests also with python 3.5 and 3.6
2018-03-01 08:10:35 +00:00

29 lines
843 B
Makefile

# $NetBSD: Makefile,v 1.11 2018/03/01 08:10:35 adam Exp $
DISTNAME= python-creole-1.3.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
CATEGORIES= textproc www python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-creole/}
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= https://github.com/jedie/python-creole
COMMENT= Markup converter in pure Python
LICENSE= gnu-gpl-v3
DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
DEPENDS+= ${PYPKGPREFIX}-textile-[0-9]*:../../textproc/py-textile
BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
USE_LANGUAGES= # none
REPLACE_PYTHON+= creole/*.py
REPLACE_PYTHON+= creole/*/*.py
PYTHON_SELF_CONFLICT= yes
do-test:
cd ${WRKSRC} && ${PYTHONBIN} setup.py nosetests
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"