mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
dev-python/svgelements: drop 1.9.3
Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
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
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
# 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..11} )
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user