svn commit: r503900 - in head/devel: . py-prettyprinter

Kai Knoblich kai at FreeBSD.org
Mon Jun 10 15:28:59 UTC 2019


Author: kai
Date: Mon Jun 10 15:28:57 2019
New Revision: 503900
URL: https://svnweb.freebsd.org/changeset/ports/503900

Log:
  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 at gentoo.org>

Added:
  head/devel/py-prettyprinter/
  head/devel/py-prettyprinter/Makefile   (contents, props changed)
  head/devel/py-prettyprinter/distinfo   (contents, props changed)
  head/devel/py-prettyprinter/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Jun 10 14:12:43 2019	(r503899)
+++ head/devel/Makefile	Mon Jun 10 15:28:57 2019	(r503900)
@@ -4717,6 +4717,7 @@
     SUBDIR += py-pqueue
     SUBDIR += py-pre-commit
     SUBDIR += py-pretend
+    SUBDIR += py-prettyprinter
     SUBDIR += py-prettytable
     SUBDIR += py-prioritized_methods
     SUBDIR += py-proglog

Added: head/devel/py-prettyprinter/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-prettyprinter/Makefile	Mon Jun 10 15:28:57 2019	(r503900)
@@ -0,0 +1,25 @@
+# Created by: Patrice Clement <monsieurp at gentoo.org>
+# $FreeBSD$
+
+PORTNAME=	prettyprinter
+PORTVERSION=	0.13.2
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	monsieurp at 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>

Added: head/devel/py-prettyprinter/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-prettyprinter/distinfo	Mon Jun 10 15:28:57 2019	(r503900)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1530027144
+SHA256 (prettyprinter-0.13.2.tar.gz) = 31f4f04014138212be6520f89f2659785f01a40f133a65e8c74982526838b8bb
+SIZE (prettyprinter-0.13.2.tar.gz) = 644753

Added: head/devel/py-prettyprinter/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-prettyprinter/pkg-descr	Mon Jun 10 15:28:57 2019	(r503900)
@@ -0,0 +1,12 @@
+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/


More information about the svn-ports-all mailing list