Package Details: python-weasyprint 50-1

Git Clone URL: https://aur.archlinux.org/python-weasyprint.git (read-only)
Package Base: python-weasyprint
Description: Converts web documents (HTML, CSS, SVG, ...) to PDF.
Upstream URL: http://weasyprint.org/
Licenses: BSD
Submitter: SimonSapin
Maintainer: cinatic
Last Packager: cinatic
Votes: 12
Popularity: 0.036408
First Submitted: 2012-03-01 16:12
Last Updated: 2019-09-23 20:02

Latest Comments

1 2 Next › Last »

ezacaria commented on 2019-08-23 06:47

I managed to build it today withouth problems, but then it seems to get stuck at runtime.

Perhaps the html page being converted has something which is not well supported by weasyprint. In any case, I found that the community package wkhtmltopdf worked on the same page. Site note: wkhtmltopdf did much better than the Firefox integrated pdf writer.

ymermoud commented on 2019-02-03 16:03

I'm getting and error message when installing

==> Validating source files with md5sums...
    v43.tar.gz ... Passed
==> Extracting sources...
-> Extracting v43.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
Traceback (most recent call last):
File "setup.py", line 23, in <module>
    setup()
File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 121, in setup
    dist.parse_config_files()
File "/usr/lib/python3.7/site-packages/setuptools/dist.py", line 705, in parse_config_files
    ignore_option_errors=ignore_option_errors)
File "/usr/lib/python3.7/site-packages/setuptools/config.py", line 120, in parse_configuration
    meta.parse()
File "/usr/lib/python3.7/site-packages/setuptools/config.py", line 425, in parse
    section_parser_method(section_options)
File "/usr/lib/python3.7/site-packages/setuptools/config.py", line 398, in parse_section
    self[name] = value
File "/usr/lib/python3.7/site-packages/setuptools/config.py", line 183, in __setitem__
    value = parser(value)
File "/usr/lib/python3.7/site-packages/setuptools/config.py", line 265, in parser
    'files are not accepted'.format(key))
ValueError: Only strings are accepted for the license field, files are not accepted
==> ERROR: A failure occurred in package().
    Aborting...
The build failed.

cinatic commented on 2018-09-19 13:24

@yan12125 thanks for the hint, i removed the version check as an temporary workaround as it was quiet old anyhow

yan12125 commented on 2018-09-19 13:11

@alan1world: That's a bug of community/cairosvg. I've submitted https://bugs.archlinux.org/task/60125.

alan1world commented on 2018-09-17 18:03

Dependency needs to be updated as cairosvg has been moved to the community:

Replace python-cairosvg with community/cairosvg? [Y/n] :: removing python-cairosvg breaks dependency 'python-cairosvg>=0.4.1' required by python-weasyprint

mpnordland commented on 2018-03-30 15:16

python-tinycss is now python-tinycss2 in [community].

positron commented on 2017-12-20 07:53

Hi, pdfrw is in community and weasyprint needs it. Please add it to the dependencies.

cinatic commented on 2017-12-14 13:36

bumped to new version, i did not found pdfrw in aur

xanc commented on 2017-12-14 13:25

It depends to pdfrw?

xanc commented on 2017-12-14 13:22

Latest version is 0.41. Can you upgrade the package? Thx