Opened 12 years ago

Last modified 10 years ago

#34939 new submission

New port py-weasyprint

Reported by: Themanwithoutaplan Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: contact@…, petrrr
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 (1)

py-weasyprint.Portfile (2.0 KB) - added by Themanwithoutaplan 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by Themanwithoutaplan

Attachment: py-weasyprint.Portfile added

comment:1 Changed 12 years 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 12 years ago by contact@…

Cc: contact@… added

Cc Me!

comment:3 Changed 12 years ago by Themanwithoutaplan

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.

comment:4 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

Note: See TracTickets for help on using tickets.