mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 11:33:15 -04:00
dev-python/skia-pathops: add 0.7.2
Closes: https://bugs.gentoo.org/818061 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
41
dev-python/skia-pathops/skia-pathops-0.7.2.ebuild
Normal file
41
dev-python/skia-pathops/skia-pathops-0.7.2.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
MYP="${P/_p/.post}"
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings for the Skia Path Ops"
|
||||
HOMEPAGE="
|
||||
https://github.com/fonttools/skia-pathops
|
||||
https://skia.org/dev/present/pathops
|
||||
"
|
||||
SRC_URI="mirror://pypi/${MYP:0:1}/${PN}/${MYP}.zip"
|
||||
S="${WORKDIR}/${MYP}"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="media-libs/skia"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest-cython[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_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]"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
export BUILD_SKIA_FROM_SOURCE=0
|
||||
}
|
||||
Reference in New Issue
Block a user