Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2019 16:28:45 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        Kurt Jaeger <pi@freebsd.org>
Cc:        "D'Arcy Cain" <darcy@druid.net>, freebsd-ports@freebsd.org
Subject:   Re: Looking to port weasyprint
Message-ID:  <20190520142845.GF89353@e.0x20.net>
In-Reply-To: <20190520140000.GD72200@home.opsec.eu>
References:  <5d970249-2113-8e65-bd21-bf661c9653d3@druid.net> <20190520133717.GC72200@home.opsec.eu> <20190520140000.GD72200@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 20, 2019 at 04:00:00PM +0200, Kurt Jaeger wrote:
> Hi!
> 
> > A simple testbuild in poudriere after some cleanup seems to work.
> > I'm testbuilding right now.
> 
> Committed as r502116, print/py-weasyprint, with the following
> description:
> 
> WeasyPrint helps web developers to create PDF documents. It turns simple
> HTML pages into gorgeous PDF.
> 
> WWW: https://weasyprint.org/
> 

Thanks, but it does not work, yet:

$ weasyprint http://weasyprint.org /tmp/weasyprint-website.pdf

Traceback (most recent call last):
  File "/usr/local/bin/weasyprint", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3241, in <module>
    @_call_aside
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3225, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3254, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'CairoSVG>=1.0.20' distribution was not found and is required by WeasyPrint




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