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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B1530158086 for ; Thu, 4 Nov 2021 06:03:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 844A3E0928; Thu, 4 Nov 2021 06:03:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 63F85E0928 for ; Thu, 4 Nov 2021 06:03:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3183B342D7E for ; Thu, 4 Nov 2021 06:03:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 872D3197 for ; Thu, 4 Nov 2021 06:03:48 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1636005815.d88b542562009ef90a5a213d7962ac501eb32c5b.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/svglib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/svglib/Manifest dev-python/svglib/metadata.xml dev-python/svglib/svglib-1.1.0.ebuild X-VCS-Directories: dev-python/svglib/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: d88b542562009ef90a5a213d7962ac501eb32c5b X-VCS-Branch: master Date: Thu, 4 Nov 2021 06:03:48 +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: 73d1239f-5e14-4ee8-bb12-b16a634e4565 X-Archives-Hash: 42a936fd1163efdafa5ca59189b6cd3f commit: d88b542562009ef90a5a213d7962ac501eb32c5b Author: Arthur Zamarin gentoo org> AuthorDate: Thu Nov 4 05:53:57 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu Nov 4 06:03:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d88b5425 dev-python/svglib: new dep for dev-python/easy-thumbnails Signed-off-by: Arthur Zamarin gentoo.org> dev-python/svglib/Manifest | 1 + dev-python/svglib/metadata.xml | 13 +++++++++++++ dev-python/svglib/svglib-1.1.0.ebuild | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/dev-python/svglib/Manifest b/dev-python/svglib/Manifest new file mode 100644 index 00000000000..dc36967f9a9 --- /dev/null +++ b/dev-python/svglib/Manifest @@ -0,0 +1 @@ +DIST svglib-1.1.0.gh.tar.gz 2403896 BLAKE2B f3f45c526897cb64c44ab3dfb314d61faf190d482e0ce7c255ca51a45c2944393ac7ed0f83c9721648885ae7e477b87bf40040a01641c54ca31dcf85f97bf0fd SHA512 cc4eed96f021e9399e1a25bc477bdc91c037393b492ecd1eabb31c1163c8374499bc50b63ca60b038c61c7a799f4131183464f6799077875dd73a4e97a1246cf diff --git a/dev-python/svglib/metadata.xml b/dev-python/svglib/metadata.xml new file mode 100644 index 00000000000..c4da9c1eef1 --- /dev/null +++ b/dev-python/svglib/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + + svglib + deeplook/svglib + + diff --git a/dev-python/svglib/svglib-1.1.0.ebuild b/dev-python/svglib/svglib-1.1.0.ebuild new file mode 100644 index 00000000000..fbcf162cb4c --- /dev/null +++ b/dev-python/svglib/svglib-1.1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 +" + +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 +)