commit: 21c2bfa70690fdbaa672e10e03719cc20bb7a365
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Mon Dec 4 15:40:20 2023 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Wed Dec 6 07:57:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=21c2bfa7
dev-python/skia-pathops: add 0.8.0
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
dev-python/skia-pathops/Manifest | 1 +
dev-python/skia-pathops/skia-pathops-0.8.0.ebuild | 42 +++++++++++++++++++++++
2 files changed, 43 insertions(+)
diff --git a/dev-python/skia-pathops/Manifest b/dev-python/skia-pathops/Manifest
index 4a1c7521cf..580da5d6f6 100644
--- a/dev-python/skia-pathops/Manifest
+++ b/dev-python/skia-pathops/Manifest
@@ -1 +1,2 @@
DIST skia-pathops-0.7.4.zip 61294605 BLAKE2B
f68f19a9de6c8d3a7052b8b6e89cfdd789a3ca6932563b9af9e46a8dde50f3583e15c12bfa519b841cd0cb40e765ee29a63a8a330a6109458a1597727095ae94
SHA512
71df9b0b237a70af2246a30d53e201da493deb7a098dd969c346745c60997df1aeb1b20d4c94c2443b1c710c464272b44e9225d58ac3a9fd1074816839ae797b
+DIST skia-pathops-0.8.0.post1.zip 66955898 BLAKE2B
d1ad24e7dd350b44deec8aaffb17110f048fc0d4584f192eb97b52b9f98604a6fbdd35d37cc5317da14dd33225904eaf8beb0bda761017a9267b7e9f62ca0d2d
SHA512
8828a8d3f070d8c4503abc144f3c5566d23812a1646b8c07e61b2b93bc43343ddee8b0c603bf47d029cfbc193c336a2a0d55251230626eb391caaa4654537342
diff --git a/dev-python/skia-pathops/skia-pathops-0.8.0.ebuild
b/dev-python/skia-pathops/skia-pathops-0.8.0.ebuild
new file mode 100644
index 0000000000..a4b2904383
--- /dev/null
+++ b/dev-python/skia-pathops/skia-pathops-0.8.0.ebuild
@@ -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