blob: a07285932f63fbd69e44c4a872ca72ac78101379 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
HASH="ab37d6fa21f25965d4ad059745c76f13ddfb92a2c06a842a42ad77961c24"
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/4a/f6/${HASH}/skia_pathops-${PV}.tar.gz"
S="${WORKDIR}/skia_pathops-${PV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="
app-alternatives/ninja
app-arch/unzip
dev-python/cython[${PYTHON_USEDEP}]
dev-build/gn
"
PATCHES=( "${FILESDIR}"/${P}-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
|