mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
dev-python/skia-pathops: add 0.7.4, drop 0.7.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
42
dev-python/skia-pathops/skia-pathops-0.7.4.ebuild
Normal file
42
dev-python/skia-pathops/skia-pathops-0.7.4.ebuild
Normal 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_{9..11} )
|
||||
PYPI_NO_NORMALIZE=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
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="$(pypi_sdist_url --no-normalize ${PN} ${PV} .zip)"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
dev-util/gn
|
||||
dev-util/ninja
|
||||
test? (
|
||||
dev-python/pytest-cython[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user