From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B9E7313835A for ; Wed, 3 Mar 2021 08:07:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1E62E0885; Wed, 3 Mar 2021 08:07:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B966CE0885 for ; Wed, 3 Mar 2021 08:07:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD60134102F for ; Wed, 3 Mar 2021 08:07:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3509C531 for ; Wed, 3 Mar 2021 08:07:21 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1614758834.79535aabf00d3e143778eb8440fea9d1cf0aed05.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/weasyprint/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/weasyprint/Manifest dev-python/weasyprint/weasyprint-52.3.ebuild X-VCS-Directories: dev-python/weasyprint/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 79535aabf00d3e143778eb8440fea9d1cf0aed05 X-VCS-Branch: master Date: Wed, 3 Mar 2021 08:07:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 177058de-4402-452f-ade2-601dfb220abc X-Archives-Hash: 1d5716e0b4d9cc668323f81a05cf3fb6 commit: 79535aabf00d3e143778eb8440fea9d1cf0aed05 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 3 07:39:32 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Mar 3 08:07:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79535aab dev-python/weasyprint: Bump to 52.3 Signed-off-by: Michał Górny gentoo.org> dev-python/weasyprint/Manifest | 1 + dev-python/weasyprint/weasyprint-52.3.ebuild | 51 ++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index 5b354afe8b6..c454743760c 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -1 +1,2 @@ DIST WeasyPrint-51.tar.gz 308411 BLAKE2B f88f9e1abc09986d51d92d8a153c71242cadc8ce6b8ac99a08d86746677d40a86affe3c56dd3e3e6a0eb2fc915f77036271f049f6ccc644d508be51d01d97b7c SHA512 631038bece7ac0c15c6a668a7d06137e4bccc049eb80484a153ca9c4a996256de8647428b21ed1d0c1607af3893c747a1956a3d3f012b30105ba4f8613a96fcd +DIST WeasyPrint-52.3.tar.gz 325076 BLAKE2B 2981a487938d4ceefe20da36262438a64c30beaff340be6bd48b0140f63ea3971ca80a36386dde2db270e1555b137a89480673c4fdc2fa49079efdf58e53029b SHA512 7db740dd8f7264f73efe6e2505c603cedb1f8e5c053447b03517bdb003b933e1ef58f15482d4ab316b04b6631f9102752670f8b56989983cab80f7bd110746c9 diff --git a/dev-python/weasyprint/weasyprint-52.3.ebuild b/dev-python/weasyprint/weasyprint-52.3.ebuild new file mode 100644 index 00000000000..db3c161e34a --- /dev/null +++ b/dev-python/weasyprint/weasyprint-52.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +MY_PN="WeasyPrint" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" +HOMEPAGE="https://weasyprint.org https://github.com/Kozea/WeasyPrint" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="jpeg tiff" + +# Note: specific subslot of pango since it inlines some of pango headers. +# >=dev-python/lxml-3.0[${PYTHON_USEDEP}] +RDEPEND=" + >=dev-python/cairocffi-0.9[${PYTHON_USEDEP}] + >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] + >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] + >=dev-python/html5lib-0.999999999[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tinycss2-1.0.0[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.4.0[${PYTHON_USEDEP}] + >=x11-libs/cairo-1.15.4 + x11-libs/gdk-pixbuf[jpeg?,tiff?] + x11-libs/pango:0/0 +" + +BDEPEND=" + test? ( + media-fonts/ahem + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/pytest-runner/d' \ + -e 's:--flake8 --isort::' \ + -i setup.cfg || die + distutils-r1_src_prepare +}