dev-python/skia-pathops: add 0.8.0

Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
Henri Gasc
2023-12-04 16:40:20 +01:00
parent 5426109ead
commit 21c2bfa706
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
inherit distutils-r1 pypi
hash="fa6de52d9cb3a44158431d4cce870e7c2a56cdccedc8fa1262cbf61d4e1e"
DESCRIPTION="Python bindings for the Skia Path Ops"
HOMEPAGE="
https://skia.org/dev/present/pathops
https://pypi.org/project/skia-pathops/
https://github.com/fonttools/skia-pathops
"
SRC_URI="https://files.pythonhosted.org/packages/37/15/${hash}/${P}.post1.zip"
S="${WORKDIR}/${P}.post1"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
# Until cpdef is removed from skia-pathops, we need cython < 3.0.0
BDEPEND="
app-arch/unzip
dev-python/cython[${PYTHON_USEDEP}]
dev-util/gn
dev-util/ninja
"
PATCHES=( "${FILESDIR}"/${PN}-0.7.4-no-net.patch )
REPYTEST_DESELECT=(
tests/pathops_test.py::PathTest::test_transform
"tests/pathops_test.py::test_path_operation[conic_2_quad-operations3-expected3]"
"tests/pathops_test.py::test_path_operation[arc_to_quads-operations4-expected4]"
)
distutils_enable_tests pytest