diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2019-05-20 13:59:01 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2019-05-20 13:59:01 +0000 |
commit | 63682ef7d4044e260f4c8d12379cc2c8a5839e95 (patch) | |
tree | b5e9b242f0ea6b5e6b73729919259fb2bbc20a85 /print/py-weasyprint | |
parent | e6ed632d3c5d9b5e4fd395f7a9f7672264d91319 (diff) | |
download | ports-63682ef7d4044e260f4c8d12379cc2c8a5839e95.tar.gz ports-63682ef7d4044e260f4c8d12379cc2c8a5839e95.zip |
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>
Notes
Notes:
svn path=/head/; revision=502116
Diffstat (limited to 'print/py-weasyprint')
-rw-r--r-- | print/py-weasyprint/Makefile | 29 | ||||
-rw-r--r-- | print/py-weasyprint/distinfo | 3 | ||||
-rw-r--r-- | print/py-weasyprint/pkg-descr | 4 |
3 files changed, 36 insertions, 0 deletions
diff --git a/print/py-weasyprint/Makefile b/print/py-weasyprint/Makefile new file mode 100644 index 000000000000..1ec41eb544ec --- /dev/null +++ b/print/py-weasyprint/Makefile @@ -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> diff --git a/print/py-weasyprint/distinfo b/print/py-weasyprint/distinfo new file mode 100644 index 000000000000..b9e912344c4f --- /dev/null +++ b/print/py-weasyprint/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1558358103 +SHA256 (WeasyPrint-47.tar.gz) = af8d39f45027ecd7fa47272b93558d851a49b3dad238a52478475a3733ffa141 +SIZE (WeasyPrint-47.tar.gz) = 300340 diff --git a/print/py-weasyprint/pkg-descr b/print/py-weasyprint/pkg-descr new file mode 100644 index 000000000000..0b18d7933c43 --- /dev/null +++ b/print/py-weasyprint/pkg-descr @@ -0,0 +1,4 @@ +WeasyPrint helps web developers to create PDF documents. It turns simple +HTML pages into gorgeous PDF. + +WWW: https://weasyprint.org/ |