Search Criteria
Package Details: python-weasyprint 51-1
Git Clone URL: | https://aur.archlinux.org/python-weasyprint.git (read-only, click to copy) |
---|---|
Package Base: | python-weasyprint |
Description: | Converts web documents (HTML, CSS, SVG, ...) to PDF. |
Upstream URL: | http://weasyprint.org/ |
Licenses: | |
Submitter: | SimonSapin |
Maintainer: | cinatic |
Last Packager: | cinatic |
Votes: | 11 |
Popularity: | 0.000007 |
First Submitted: | 2012-03-01 16:12 |
Last Updated: | 2020-02-07 14:25 |
Dependencies (15)
- python (python-dbg)
- python-cairo (python-cairo-git)
- python-cairocffi
- python-cairosvg
- python-cffi
- python-html5lib (python-html5lib-git)
- python-pyphen
- python-tinycss2
- python-xcffib
- python-cssselect2>=0.1
- cairo>=1.15.4 (cairo-infinality, cairo-infinality-remix, cairo-ubuntu, cairo-minimal, cairo-dfb, cairo-glesv2-bin, cairo-glesv3-bin, cairo-git)
- pango>=1.29.3 (pango-ubuntu, pango-minimal-git, pango-git)
- gdk-pixbuf2>=2.25 (gdk-pixbuf2-git)
- python (python-dbg) (make)
- python-distribute (python-setuptools) (make)
Required by (7)
- cmarked (optional)
- kraft (optional)
- nodejs-hackmyresume (optional)
- pyspellbook (optional)
- python-django-weasyprint-git
- ruby-textplay-git (optional)
- stoq
Latest Comments
1 2 Next › Last »
frabjous commented on 2019-11-22 21:00
@cinatic Thanks. I had already tried reinstalling the package, but I guess it wasn't enough just to `yay -S python-weasyprint`. I had to do `yay -S python-weasyprint --rebuild`. Mentioning that here in case it helps anyone else.
cinatic commented on 2019-11-22 20:25
@frabjous you need to rebuild python packages as they won't automagically appear into new python3.8/site-packages
frabjous commented on 2019-11-22 18:17
Not sure if it's just me, but this is no longer working since the recent python rebuild. I get the following error:
Traceback (most recent call last): File "/usr/bin/weasyprint", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3251, in <module> def _initialize_master_working_set(): File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3234, in _call_aside f(args, *kwargs) File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3263, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 583, in _build_master ws.require(requires) File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'WeasyPrint==50' distribution was not found and is required by the application
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
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.