mbox

[bug#37617,0/6] Add weasyprint and dependencies.

Message ID 20191004110641.15728-1-h.goebel@crazy-compilers.com
Headers show

Message

Hartmut Goebel Oct. 4, 2019, 11:06 a.m. UTC
weasyprint is a document factory for creating PDF files from HTML.

Tested along these lines:

./pre-inst-env guix environment --pure -C --ad-hoc \
    weasyprint python-pytest
cd /gnu/store/*-weasyprint-50/lib/python*/site-*/weasy*
export PYTHONPATH=$(echo /gnu/store/*-profile*/lib/python*/site-*/)
pytest tests/ -k 'not test_flex_column_wrap_reverse and not test_http'

test_flex_column_wrap_reverse is deselected in the package description,
test_http has to be deselected since network is missing in the container.


Hartmut Goebel (6):
  gnu: Add python-pytest-isort.
  gnu: Add python-tinycss2.
  gnu: Add python-cssselect2.
  gnu: Add python-cairosvg.
  gnu: Add python-pyphen.
  gnu: Add weasyprint.

 gnu/packages/pdf.scm          | 81 +++++++++++++++++++++++++++++++++++
 gnu/packages/python-check.scm | 31 ++++++++++++++
 gnu/packages/python-web.scm   | 69 ++++++++++++++++++++++++++++-
 gnu/packages/python-xyz.scm   | 54 +++++++++++++++++++++++
 4 files changed, 234 insertions(+), 1 deletion(-)

Comments

Hartmut Goebel Oct. 22, 2019, 3:02 p.m. UTC | #1
Commited as 73f0ed8dbfde97341716fd8b156907e4ef800873