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 81140158089 for ; Thu, 16 Nov 2023 14:14:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA6C82BC015; Thu, 16 Nov 2023 14:14:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE31A2BC015 for ; Thu, 16 Nov 2023 14:14:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ED24E335D0A for ; Thu, 16 Nov 2023 14:14:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A1EDF1A for ; Thu, 16 Nov 2023 14:14:35 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1700144070.456b786c05ded214c0451dd46b7684859bb123c6.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/svgelements/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/svgelements/Manifest dev-python/svgelements/svgelements-1.9.6.ebuild X-VCS-Directories: dev-python/svgelements/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 456b786c05ded214c0451dd46b7684859bb123c6 X-VCS-Branch: dev Date: Thu, 16 Nov 2023 14:14:35 +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: bc6af055-7bf3-4602-9c59-0b889e7c2f59 X-Archives-Hash: 53b1e48eed336cd19bbfa87095abf386 Message-ID: <20231116141435.GTRuLL99dVd_f4eU_aDsfmpMEF5Yp7158N-Iw_im5h8@z> commit: 456b786c05ded214c0451dd46b7684859bb123c6 Author: David Roman gmail com> AuthorDate: Thu Nov 16 14:14:30 2023 +0000 Commit: David Roman gmail com> CommitDate: Thu Nov 16 14:14:30 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=456b786c dev-python/svgelements: add 1.9.6 Signed-off-by: David Roman gmail.com> dev-python/svgelements/Manifest | 1 + dev-python/svgelements/svgelements-1.9.6.ebuild | 43 +++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/svgelements/Manifest b/dev-python/svgelements/Manifest index 00eb6f4e0e..d6f172c7eb 100644 --- a/dev-python/svgelements/Manifest +++ b/dev-python/svgelements/Manifest @@ -1 +1,2 @@ DIST svgelements-1.9.3.gh.tar.gz 132345 BLAKE2B 63e433f99fd0adc3f9512fd1457ace8c12d7f922960ae4cbc1b84ffda27ba1bf00e3dd12e88dabb70235227969298e4e6bedad450f29dda20afcaf9a342f0441 SHA512 9a3bc3c665566662859996ba06ac4c5bb5ee425b008b9312a44d07aaca64fb7bd6e3f7d614cdfd709944efdf74fb7da3cc0ab8ecd0c812dff3dcf16305ae8f22 +DIST svgelements-1.9.6.gh.tar.gz 134884 BLAKE2B c6b5c3e3b7a27b0972c78e8ad290c2880b7418d11cded3769d3c591ddcefa85d5e4ddcd5df186e181178cc6ca2054d1a48ea4a715f3506fcd16d53d5baed206f SHA512 c92004a103cb0073f91e0d4f2710a841855ba5079924d106db33df8994c482656a7c3358336c3fcae3127f2b6e668595b2339913e7c8f8364277fedbe0b854c3 diff --git a/dev-python/svgelements/svgelements-1.9.6.ebuild b/dev-python/svgelements/svgelements-1.9.6.ebuild new file mode 100644 index 0000000000..458b00fb4e --- /dev/null +++ b/dev-python/svgelements/svgelements-1.9.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="SVG Parsing for Elements, Paths, and other SVG Objects." +HOMEPAGE="https://github.com/meerk40t/svgelements https://pypi.org/project/svgelements" +SRC_URI="https://github.com/meerk40t/svgelements/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" +DEPEND="${BDEPEND}" + +distutils_enable_tests pytest + +src_prepare() { + default + mv "${S}/test" "${S}_tests" +} + +python_test() { + cd "${T}" || die + epytest "${S}_tests" +} + +pkg_postinst() { + optfeature "getting exact value for arc lenght computation" dev-python/scipy + optfeature "loading images" dev-python/pillow + optfeature "speeding up linearization for Shapes" dev-python/numpy +}