pkgsrc/textproc/py-pyaml/Makefile

22 lines
603 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.2 2017/10/12 12:53:36 adam Exp $
DISTNAME= pyaml-17.10.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyaml/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/mk-fg/pretty-yaml
COMMENT= YAML pretty printer for human readable output
# Strictly speaking, WTFPL
LICENSE= public-domain
# Tests
BUILD_DEPENDS+= ${PYPKGPREFIX}-Unidecode-[0-9]*:../../textproc/py-Unidecode
do-test:
cd ${WRKSRC}/pyaml/tests && py.test-${PYVERSSUFFIX} dump.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"