Ticket #34939 (new submission)
New port py-weasyprint
| Reported by: | charlie.clark@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.1 |
| Keywords: | Cc: | contact@… | |
| Port: |
Description
WeasyPrint converts HTML/CSS documents to PDF
Port requires pango with introspection (https://trac.macports.org/attachment/ticket/33877/pango-enable-introspection.patch)
Python 3 is technically already supported but I couldn't get the subport to build. Python 2.6 will work but I'd generally avoid providing support for 2.6 for any new ports.
Attachments
Change History
comment:1 Changed 11 months ago by contact@…
Wow, I just googled for "WeasyPrint Mac OS X" and this came up from 19 minutes ago. If anyone can get it installed please email me.
comment:3 Changed 11 months ago by charlie.clark@…
Nick, it should work fine if you use this Portfile - download it somewhere and enter port -s -F py-weasyprint.Portfile install -- subport=py27-weasyprint
Assuming this installs without problems, then you will need to reinstall Pango patching the Portfile as per the linked ticket and you should be good to go.

