diff options
-rw-r--r-- | dev-python/svglib/Manifest | 1 | ||||
-rw-r--r-- | dev-python/svglib/svglib-1.2.1.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/svglib/Manifest b/dev-python/svglib/Manifest index d34bd6f9627a..284f658fcf86 100644 --- a/dev-python/svglib/Manifest +++ b/dev-python/svglib/Manifest @@ -1,2 +1,3 @@ DIST svglib-1.1.0.gh.tar.gz 2403896 BLAKE2B f3f45c526897cb64c44ab3dfb314d61faf190d482e0ce7c255ca51a45c2944393ac7ed0f83c9721648885ae7e477b87bf40040a01641c54ca31dcf85f97bf0fd SHA512 cc4eed96f021e9399e1a25bc477bdc91c037393b492ecd1eabb31c1163c8374499bc50b63ca60b038c61c7a799f4131183464f6799077875dd73a4e97a1246cf DIST svglib-1.2.0.gh.tar.gz 1261904 BLAKE2B 5516699609904b680a60972eb6ef4d36fbc0404bf9a4f03ddedb3b20531eb55893f6b88fceb86c0304da71371661d8d46bcb94f9f71bbe67fb1f6007561f7501 SHA512 636a96ed3ec49273250c7476c989cf2b2c98f8918eb851f6f6c4d7a02d2f06cc952741f4ecaf419ce48b6085fc0dccc3b491ecca9119cb713e1dae726144b8fc +DIST svglib-1.2.1.gh.tar.gz 1261918 BLAKE2B d2c35dfbd45f3c509674e0aa49d015ddc554d1e9d2ccf584a5ada019d9af5e7ee2ccf8c983c30e9107cb83468db6521153fa8340f0dab3b4b1ae5a839628e186 SHA512 361dec376eec6ed9bc52e2217a28e09bcfaab8e302c4ee574a320a8f84963852cfc10d3f6890d379f624a5855122f869eb9698fab89d76018af7bbf70aa587bd diff --git a/dev-python/svglib/svglib-1.2.1.ebuild b/dev-python/svglib/svglib-1.2.1.ebuild new file mode 100644 index 000000000000..b14fdc7c368f --- /dev/null +++ b/dev-python/svglib/svglib-1.2.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Pure-Python library for reading and converting SVG" +HOMEPAGE="https://pypi.org/project/svglib/ https://github.com/deeplook/svglib" +SRC_URI=" + https://github.com/deeplook/svglib/archive/v.${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${PN}-v.${PV} + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cssselect2[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/reportlab[${PYTHON_USEDEP}] + dev-python/tinycss2[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Needs network access + tests/test_samples.py::TestWikipediaFlags::test_convert_pdf + tests/test_samples.py::TestW3CSVG::test_convert_pdf_png +) |