freebsd-ports/devel/py-prettyprinter/Makefile
Kai Knoblich 47b968883c New port: devel/py-prettyprinter
PrettyPrinter is a Syntax-highlighting, declarative and composable pretty
printer.

Key Features:

* Drop in replacement for the standard library pprint: just rename pprint to
  prettyprinter in your imports.
* Uses a modified Wadler-Leijen layout algorithm for optimal formatting.
* Write pretty printers for your own types with a dead simple, declarative
  interface.

WWW: https://pypi.org/project/prettyprinter/

PR:		229349
Submitted by:	Patrice Clement <monsieurp@gentoo.org>
2019-06-10 15:28:57 +00:00

25 lines
692 B
Makefile

# Created by: Patrice Clement <monsieurp@gentoo.org>
# $FreeBSD$
PORTNAME= prettyprinter
PORTVERSION= 0.13.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= monsieurp@gentoo.org
COMMENT= Syntax-highlighting, declarative and composable pretty printer
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorful>=0.4.0:devel/py-colorful@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>=2.2.0:textproc/py-pygments@${PY_FLAVOR}
USES= python:3.5+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>