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>
This commit is contained in:
Kurt Jaeger 2019-05-20 13:59:01 +00:00
parent e6ed632d3c
commit 63682ef7d4
4 changed files with 37 additions and 0 deletions

View file

@ -196,6 +196,7 @@
SUBDIR += py-rtf
SUBDIR += py-stapler
SUBDIR += py-trml2pdf
SUBDIR += py-weasyprint
SUBDIR += qpdf
SUBDIR += qpdfview
SUBDIR += qt5-printsupport

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1558358103
SHA256 (WeasyPrint-47.tar.gz) = af8d39f45027ecd7fa47272b93558d851a49b3dad238a52478475a3733ffa141
SIZE (WeasyPrint-47.tar.gz) = 300340

View file

@ -0,0 +1,4 @@
WeasyPrint helps web developers to create PDF documents. It turns simple
HTML pages into gorgeous PDF.
WWW: https://weasyprint.org/