Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2019 13:59:01 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502116 - in head/print: . py-weasyprint
Message-ID:  <201905201359.x4KDx1f4040956@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Mon May 20 13:59:01 2019
New Revision: 502116
URL: https://svnweb.freebsd.org/changeset/ports/502116

Log:
  New port: print/py-weasyprint
  
  WeasyPrint helps web developers to create PDF documents. It turns simple
  HTML pages into gorgeous PDF.
  
  WWW: https://weasyprint.org/
  
  Submitted by:	D'Arcy Cain <darcy@druid.net>

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

Modified: head/print/Makefile
==============================================================================
--- head/print/Makefile	Mon May 20 13:39:10 2019	(r502115)
+++ head/print/Makefile	Mon May 20 13:59:01 2019	(r502116)
@@ -196,6 +196,7 @@
     SUBDIR += py-rtf
     SUBDIR += py-stapler
     SUBDIR += py-trml2pdf
+    SUBDIR += py-weasyprint
     SUBDIR += qpdf
     SUBDIR += qpdfview
     SUBDIR += qt5-printsupport

Added: head/print/py-weasyprint/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/py-weasyprint/Makefile	Mon May 20 13:59:01 2019	(r502116)
@@ -0,0 +1,29 @@
+# Created by: D'Arcy Cain <darcy@druid.net>
+# $FreeBSD$
+
+PORTNAME=	weasyprint
+PORTVERSION=	47
+CATEGORIES=	print python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	WeasyPrint-${PORTVERSION}
+
+MAINTAINER=	darcy@druid.net
+COMMENT=	Converts HTML/CSS documents to PDF
+
+LICENSE=	BSD3CLAUSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>=0.1:devel/py-pytest-runner@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cssselect>=0.1:www/py-cssselect@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}html5lib>=0.999999999:www/py-html5lib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pdfrw>=0.4:textproc/py-pdfrw@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyphen>=0.8:textproc/py-pyphen@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tinycss>=0.4:textproc/py-tinycss@${PY_FLAVOR}
+
+USES=		gnome python:3.6+
+USE_PYTHON=	distutils autoplist
+USE_GNOME=	pango
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/print/py-weasyprint/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/py-weasyprint/distinfo	Mon May 20 13:59:01 2019	(r502116)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1558358103
+SHA256 (WeasyPrint-47.tar.gz) = af8d39f45027ecd7fa47272b93558d851a49b3dad238a52478475a3733ffa141
+SIZE (WeasyPrint-47.tar.gz) = 300340

Added: head/print/py-weasyprint/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/py-weasyprint/pkg-descr	Mon May 20 13:59:01 2019	(r502116)
@@ -0,0 +1,4 @@
+WeasyPrint helps web developers to create PDF documents. It turns simple
+HTML pages into gorgeous PDF.
+
+WWW: https://weasyprint.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905201359.x4KDx1f4040956>