From: Michał Górny Date: Wed, 11 Mar 2020 07:29:24 +0000 (+0100) Subject: media-gfx/cairosvg: Bump to 2.4.2, py3.{7,8}, tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=06a1b261ffbd5255b7adf3b7f27e8ac1c8976e3a;p=gentoo.git media-gfx/cairosvg: Bump to 2.4.2, py3.{7,8}, tests Closes: https://bugs.gentoo.org/637276 Signed-off-by: Michał Górny --- diff --git a/media-gfx/cairosvg/Manifest b/media-gfx/cairosvg/Manifest index 2e8b5c3667fc..95381d2ce0ff 100644 --- a/media-gfx/cairosvg/Manifest +++ b/media-gfx/cairosvg/Manifest @@ -1,2 +1,3 @@ DIST CairoSVG-1.0.22.tar.gz 30896 BLAKE2B b1a4950a67159663bbc72189e57ce36bf2506733b4ff63319178540d242aafd29eb7f5c3993119a5034d3eb77df1dfdd8fed9c53966df13510fe910cbcbb8c43 SHA512 5f4ea7b80947092620827e454182af7332082a8c84fddc035f75ed19c09b4a9027d6bfd5c96e5f388150833788a71ab8fb77a1ffdd963b8106f07b1908a0c8f6 DIST CairoSVG-2.0.3.tar.gz 39371 BLAKE2B a04e3e3d311167cef84063fd3eabc4ffa7c206c5c6fc8016283874411c344c686c441a3149631eccb38b610bb86a2ec3c193eec869b8802ddba1dac92c612215 SHA512 b7ad7be9bd06059392f2004e7cd5c1df1667dbae78482c68d681990a8b3a4141a9c4b72aa4af5075a87ac6a1a4ddf8311d991512be98128b21b87d4355c1bd3d +DIST CairoSVG-2.4.2.tar.gz 38715 BLAKE2B 3c8f77561e13e0fdec371a601f09f0d107f972955c8e8fbc34f5092a7ff5f65b24338c20ae8e21b428eea083925a36b3e5635a9b0010c569d013169d919b7a35 SHA512 0d6dd22d9569fd3849cf7f6594c86bed719169dac1f0f3219e88d82f9d245bf29d51715159085cb26c0340c8f0dcb88412d141ec0ee3710b1477626f5a578441 diff --git a/media-gfx/cairosvg/cairosvg-2.4.2.ebuild b/media-gfx/cairosvg/cairosvg-2.4.2.ebuild new file mode 100644 index 000000000000..bd671f1a2cb2 --- /dev/null +++ b/media-gfx/cairosvg/cairosvg-2.4.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8} ) + +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 + distutils-r1_src_prepare +}