diff options
Diffstat (limited to 'media-gfx/cairosvg')
-rw-r--r-- | media-gfx/cairosvg/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/cairosvg/cairosvg-2.5.0.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/media-gfx/cairosvg/Manifest b/media-gfx/cairosvg/Manifest index da9457bcdc45..6c31df9f7c6c 100644 --- a/media-gfx/cairosvg/Manifest +++ b/media-gfx/cairosvg/Manifest @@ -1,3 +1,5 @@ DIST CairoSVG-2.4.2.tar.gz 38715 BLAKE2B 3c8f77561e13e0fdec371a601f09f0d107f972955c8e8fbc34f5092a7ff5f65b24338c20ae8e21b428eea083925a36b3e5635a9b0010c569d013169d919b7a35 SHA512 0d6dd22d9569fd3849cf7f6594c86bed719169dac1f0f3219e88d82f9d245bf29d51715159085cb26c0340c8f0dcb88412d141ec0ee3710b1477626f5a578441 +DIST CairoSVG-2.5.0.tar.gz 40481 BLAKE2B d177570710f54a7d64446de81a700a6ebe5dd475ab75e268575ee2d3a45cb1da14a349d6a5516ef965191093f12ba916a1919fe115fa4b6e4dc0f9a22657946b SHA512 9387273a5531f2e055871d3ccc3b770a46e549dceb443d9d7dbf3635f44da4a752f06ece2f86582f57eac08d59d78f833e1ed2e7badea340d5a0f1eb31beb24c EBUILD cairosvg-2.4.2.ebuild 872 BLAKE2B 4f326bdcaa5571e152cd438654fa0ffe4f9aa9465f0e88dce89f00c683506e932fd58fcd075d75f94f634e33d152c8b14a8dbdd8b467e087a6eb2c38d654a0fd SHA512 8bb35201de54b9f633516fa768925ac9b77245a8f8a89ddfea5ed12f01cf0ce57bb39deb24d3b3c11d8c0a59ace7fee30292b2ea175c29f88476e777b43935cf +EBUILD cairosvg-2.5.0.ebuild 873 BLAKE2B 14c9f7bc21c36ccfa7c8af5dfc202a8c224022f6c1fa8e9097776ceb5a04cbf9039d80fffbf614d45fd220beec61b0dd9a3bf704454ce5a69ad0061bfb75d18a SHA512 2f97dcf15a076d968296625cd1af14d0781f7f9bd18197aeb9910e88572dd5d6ea5f74d9f3c94180a6fe40b93c1a1b9d846c439c08131f737fc9c50659bf9c63 MISC metadata.xml 328 BLAKE2B 168e60e4dbd12e2b99ba4ad8a6f8f42ef5a4de12f8f1edc68ba4d1d4252b24995da5d0e4ef9e1db09b3934ba42b042685db625439425a6e98cde2f52050c4af1 SHA512 ebb7d9d27e014fd083d0abe9508040730f980ba8a0bc89670ee5418af2c3af036d0ec16b5607a8805944d3b7eeb835e8806ab059fed68c52268df1cd10d7bbb0 diff --git a/media-gfx/cairosvg/cairosvg-2.5.0.ebuild b/media-gfx/cairosvg/cairosvg-2.5.0.ebuild new file mode 100644 index 000000000000..a0513821d46b --- /dev/null +++ b/media-gfx/cairosvg/cairosvg-2.5.0.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..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 + distutils-r1_src_prepare +} |