commit: 58e5941191e760441212811ce64f903b3ecbc5b5 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Sun Dec 12 10:57:48 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Tue Dec 14 07:12:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58e59411
dev-python/skia-pathops: add 0.7.2 Closes: https://bugs.gentoo.org/818061 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> dev-python/skia-pathops/Manifest | 1 + dev-python/skia-pathops/skia-pathops-0.7.2.ebuild | 41 +++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/skia-pathops/Manifest b/dev-python/skia-pathops/Manifest index badb54668..5b4c87f54 100644 --- a/dev-python/skia-pathops/Manifest +++ b/dev-python/skia-pathops/Manifest @@ -1 +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/skia-pathops-0.7.2.ebuild b/dev-python/skia-pathops/skia-pathops-0.7.2.ebuild new file mode 100644 index 000000000..661fa5e18 --- /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_{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 +}
