New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34939 (new submission)

Opened 11 months ago

Last modified 11 months ago

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

py-weasyprint.Portfile (2.0 KB) - added by charlie.clark@… 11 months ago.

Change History

Changed 11 months ago by charlie.clark@…

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:2 Changed 11 months ago by contact@…

  • Cc contact@… added

Cc 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.

Note: See TracTickets for help on using tickets.