diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index d99708b12ba33..4f5b21914abb8 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -1,2 +1,4 @@ DIST weasyprint-69.0.tar.gz 1549834 BLAKE2B eef92c0fbf753ca225ce5d04904544faece8c4bd3d677d60174ec31779141c42c22ffc2d3fe9d42ee36aa427b592a704dad5493a57b9514e859b4e0771eed535 SHA512 fb56d7f6173f8a67f8ef4c31408c03625b0a774d0efde003f779e3da054737c88afe9f44ee40b6dda5fc92cfacfa5709d4d96bf1a112862d309eaf2d93881ef6 DIST weasyprint-69.0.tar.gz.provenance 9576 BLAKE2B 0aa230580b5cb7f2067c413fcb997edfa5c6d4b95fd8625525c23aa3caa449fa17286ff073c579180685f545aeb2a86a4fe72f9191c7b435e6b3176cb77c615f SHA512 c739fc257a8dc332559413b9767b21d5fc96372b90d6f3de22a3c10bd948574b91207c335f0a62653a802a99a07fa66cc099679ae39eb50d2bb7bea43249d9db +DIST weasyprint-70.0.tar.gz 1565482 BLAKE2B 0e3025a1f48b1fd8d523f5c9b678ee049c36073c5bb2ac6dfd3db2bd2495de51c04035fd3c493b773b55f7a5d232a80de39798212e01f4ef1ab16c033eeb5187 SHA512 52e93a808419f4af1de4382c814bfb12d04f0f33197ee945209cde6f98de81ea793072d3b44119ec687a0973a174164d03bb8ac06346da7dae171aa97ebbb9a1 +DIST weasyprint-70.0.tar.gz.provenance 9527 BLAKE2B 99ce0bdcebd857db99efb9f3bec24a46ae61004b66340224f4eaf2f625cb33dfc85c39263a34a8c178678f43fdcb74d5ea62e75f23adaa6d8967273031e3136e SHA512 52c661310b86aa447f76aee527561ff6342919f73a1c927e9af8a246b7dd42fd74aea2531bb49bf57bfb8b5e162cf5094fc330295e7d73a19671e16b43bc024a diff --git a/dev-python/weasyprint/weasyprint-70.0.ebuild b/dev-python/weasyprint/weasyprint-70.0.ebuild new file mode 100644 index 0000000000000..b13520dd32f79 --- /dev/null +++ b/dev-python/weasyprint/weasyprint-70.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYPI_VERIFY_REPO=https://github.com/Kozea/WeasyPrint +PYTHON_COMPAT=( python3_{12..15} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" +HOMEPAGE=" + https://weasyprint.org/ + https://github.com/Kozea/WeasyPrint/ + https://pypi.org/project/weasyprint/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] + >=dev-python/cssselect2-0.8.0[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.59.2[${PYTHON_USEDEP}] + >=dev-python/pillow-9.1.0[jpeg,jpeg2k,${PYTHON_USEDEP}] + >=dev-python/pydyf-0.11.0[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tinycss2-1.5.0[${PYTHON_USEDEP}] + >=dev-python/tinyhtml5-2.0.0[${PYTHON_USEDEP}] + media-fonts/dejavu + x11-libs/pango +" + +BDEPEND=" + test? ( + >=app-text/ghostscript-gpl-9.56.1-r3 + >=dev-python/pillow-12.1.0 + media-fonts/ahem + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # apparently requires some fancy fonts + tests/draw/svg/test_text.py::test_emoji_text_svg +)