summaryrefslogtreecommitdiff
path: root/dev-python/skia-pathops
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-12 21:03:09 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-12 21:03:09 +0000
commitd97953e6ff67978da9554e7b4601aedceb21e215 (patch)
tree674053c902db6972b9716c9ac3b1e960ee7a5358 /dev-python/skia-pathops
parent1d1fa5bb30df70070bbbbd2b777b839d31f09c41 (diff)
downloadbaldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.gz
baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.xz
baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.zip
Adding metadata
Diffstat (limited to 'dev-python/skia-pathops')
-rw-r--r--dev-python/skia-pathops/Manifest2
-rw-r--r--dev-python/skia-pathops/metadata.xml16
-rw-r--r--dev-python/skia-pathops/skia-pathops-0.6.0_p2.ebuild48
-rw-r--r--dev-python/skia-pathops/skia-pathops-0.7.2.ebuild41
4 files changed, 107 insertions, 0 deletions
diff --git a/dev-python/skia-pathops/Manifest b/dev-python/skia-pathops/Manifest
new file mode 100644
index 000000000000..5b4c87f540dd
--- /dev/null
+++ b/dev-python/skia-pathops/Manifest
@@ -0,0 +1,2 @@
+DIST skia-pathops-0.6.0.post2.zip 41471167 BLAKE2B b9da1ff7deade28e0b5ce4fa6590eb92b50976027fc9da805b50c9d1526a60c28661d5378ecdc4dc2de42f7d3d904dd2f768b49df716b345253ffe2475f1afe7 SHA512 3ebcf044d045a57531229841630dea6e656df434a4a9b994a9a1162c93f0c894ffb20cfb493159cefd1afbe40366e2f9742a4aeea1a693d917fa55841c887e86
+DIST skia-pathops-0.7.2.zip 61294134 BLAKE2B 7cd7d5b9c244ee108bbf9b6c086e210fa05f65a8d2e36e7036a9ad94a1ff9ad2f8777ce74e4227ddd15e6b197afa668fad1cf8d110e5ac87e496c85b6e97c8dd SHA512 bf4c02895d08ee174f700d83753e3d5ada1f1de018a07b2e1574f01bd3283edaf71b1859c732d27a45030fc070232c34098760b3144b2a91a7bee72ff220394d
diff --git a/dev-python/skia-pathops/metadata.xml b/dev-python/skia-pathops/metadata.xml
new file mode 100644
index 000000000000..a474f63ec9da
--- /dev/null
+++ b/dev-python/skia-pathops/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <description>co-maintainers welcome</description>
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">fonttools/skia-pathops</remote-id>
+ <remote-id type="pypi">skia-pathops</remote-id>
+ </upstream>
+ <longdescription lang="en">
+Python bindings for the Google Skia library's Path Ops module, performing boolean operations on paths (intersection, union, difference, xor).
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-python/skia-pathops/skia-pathops-0.6.0_p2.ebuild b/dev-python/skia-pathops/skia-pathops-0.6.0_p2.ebuild
new file mode 100644
index 000000000000..18d20fe8aac4
--- /dev/null
+++ b/dev-python/skia-pathops/skia-pathops-0.6.0_p2.ebuild
@@ -0,0 +1,48 @@
+# 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_{7,8,9,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}
+ test? (
+ dev-python/pytest-cython[${PYTHON_USEDEP}]
+ dev-python/pytest-randomly[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+"
+BDEPEND="
+ app-arch/unzip
+ dev-python/cython[${PYTHON_USEDEP}]
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+pkg_setup() {
+ export BUILD_SKIA_FROM_SOURCE=0
+}
+
+python_test() {
+ # assert <pathops.Path object at 0x7fe53e76cc00: 1 contours> == <pathops.Path object at 0x7fe53e76c2a0: 1 contours>
+ epytest --deselect tests/pathops_test.py::PathTest::test_transform
+}
diff --git a/dev-python/skia-pathops/skia-pathops-0.7.2.ebuild b/dev-python/skia-pathops/skia-pathops-0.7.2.ebuild
new file mode 100644
index 000000000000..88be24c9d929
--- /dev/null
+++ b/dev-python/skia-pathops/skia-pathops-0.7.2.ebuild
@@ -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_{7,8,9,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
+}