diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-03-06 17:20:19 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-03-06 17:38:37 +0100 |
commit | cff610fa852a57826da6cf4b2c863bad667804d7 (patch) | |
tree | f352c6f90cd7da1f59b3a98e74135cf2f83e8b5e /media-gfx/cairosvg | |
parent | dev-python/rich: Bump to 9.13.0 (diff) | |
download | gentoo-cff610fa852a57826da6cf4b2c863bad667804d7.tar.gz gentoo-cff610fa852a57826da6cf4b2c863bad667804d7.tar.bz2 gentoo-cff610fa852a57826da6cf4b2c863bad667804d7.zip |
media-gfx/cairosvg: Bump to 2.5.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-gfx/cairosvg')
-rw-r--r-- | media-gfx/cairosvg/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/cairosvg/cairosvg-2.5.2.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/media-gfx/cairosvg/Manifest b/media-gfx/cairosvg/Manifest index 0447e6919c63..f8073dbaf4e2 100644 --- a/media-gfx/cairosvg/Manifest +++ b/media-gfx/cairosvg/Manifest @@ -1 +1,2 @@ DIST CairoSVG-2.5.1.tar.gz 8397716 BLAKE2B f5d307f3019df3b8e19a86c4f185bb6c95ff5f450705a06506f03447f7a4e97091fed4dbbdad7220da0b04c6bed3eb252f3f3e8d91bff55ab6432d0df7f62d70 SHA512 5f6732758ed8024b58173bc920a44fcafa65a2daf301ee07e088d542f1e82d0093bd853e58da2484c392d1b625fd27c0634d07ad58cf00e674741aa413013605 +DIST CairoSVG-2.5.2.tar.gz 8397659 BLAKE2B f2f45aa01015f5ccebe3dede303b6a701c0183b7b53f0d69c8756d5f0e6c0898826939f0b5bcc9e00e4185c83ff507d6fa886a020ad0b63c80a565a181807f58 SHA512 070fbb549614401a7d8290497b0eb7702330ee264c5f625cd1e7aac4aea7d71ee7d2d8899297212e1a3c11c93903b191c0c699336d9000796318b11f4e075576 diff --git a/media-gfx/cairosvg/cairosvg-2.5.2.ebuild b/media-gfx/cairosvg/cairosvg-2.5.2.ebuild new file mode 100644 index 000000000000..0ca94523db8b --- /dev/null +++ b/media-gfx/cairosvg/cairosvg-2.5.2.ebuild @@ -0,0 +1,46 @@ +# 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="CairoSVG" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="CLI and library to export SVG to PDF, PostScript, and PNG" +HOMEPAGE="https://cairosvg.org/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cairocffi[${PYTHON_USEDEP}] + dev-python/cssselect2[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/tinycss2[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # junk deps + sed -e '/pytest-runner/d' \ + -e '/--flake8/d' \ + -e '/--isort/d' \ + -i setup.cfg || die + + # this test compares output against old version; this makes little + # sense for us and requires both distfiles around + rm test_non_regression/test_non_regression.py || die + eapply "${FILESDIR}"/cairosvg-2.5.1-no-ref.patch + + distutils-r1_src_prepare +} |