aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenri Gasc <gasc@eurecom.fr>2023-12-04 16:40:20 +0100
committerHenri Gasc <gasc@eurecom.fr>2023-12-06 08:57:13 +0100
commit21c2bfa70690fdbaa672e10e03719cc20bb7a365 (patch)
tree53e829bbebd7c89c39c8500c312992f5314f09f7 /dev-python/skia-pathops
parentdev-python/isosurfaces: enable py3.12 (diff)
downloadguru-21c2bfa70690fdbaa672e10e03719cc20bb7a365.tar.gz
guru-21c2bfa70690fdbaa672e10e03719cc20bb7a365.tar.bz2
guru-21c2bfa70690fdbaa672e10e03719cc20bb7a365.zip
dev-python/skia-pathops: add 0.8.0
Signed-off-by: Henri Gasc <gasc@eurecom.fr>
Diffstat (limited to 'dev-python/skia-pathops')
-rw-r--r--dev-python/skia-pathops/Manifest1
-rw-r--r--dev-python/skia-pathops/skia-pathops-0.8.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/skia-pathops/Manifest b/dev-python/skia-pathops/Manifest
index 4a1c7521c..580da5d6f 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 000000000..a4b290438
--- /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