mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
dev-python/skia-pathops: add 0.7.4, drop 0.7.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST skia-pathops-0.7.2.zip 61294134 BLAKE2B 7cd7d5b9c244ee108bbf9b6c086e210fa05f65a8d2e36e7036a9ad94a1ff9ad2f8777ce74e4227ddd15e6b197afa668fad1cf8d110e5ac87e496c85b6e97c8dd SHA512 bf4c02895d08ee174f700d83753e3d5ada1f1de018a07b2e1574f01bd3283edaf71b1859c732d27a45030fc070232c34098760b3144b2a91a7bee72ff220394d
|
||||
DIST skia-pathops-0.7.4.zip 61294605 BLAKE2B f68f19a9de6c8d3a7052b8b6e89cfdd789a3ca6932563b9af9e46a8dde50f3583e15c12bfa519b841cd0cb40e765ee29a63a8a330a6109458a1597727095ae94 SHA512 71df9b0b237a70af2246a30d53e201da493deb7a098dd969c346745c60997df1aeb1b20d4c94c2443b1c710c464272b44e9225d58ac3a9fd1074816839ae797b
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -252,7 +252,7 @@ def build_skia(build_base):
|
||||
build_cmd = [sys.executable, build_skia_py, build_dir]
|
||||
|
||||
if inside_sdist:
|
||||
- build_cmd.append("--no-sync-deps")
|
||||
+ build_cmd += ["--no-sync-deps", "--no-virtualenv", "--no-fetch-gn", "--gn-path", "/usr/bin/gn"]
|
||||
|
||||
env = os.environ
|
||||
target_cpu = None
|
||||
@@ -1,42 +1,42 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYPI_NO_NORMALIZE=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
MY_P="${P/_p/.post}"
|
||||
DESCRIPTION="Python bindings for the Skia Path Ops"
|
||||
HOMEPAGE="
|
||||
https://github.com/fonttools/skia-pathops
|
||||
https://skia.org/dev/present/pathops
|
||||
https://pypi.org/project/skia-pathops/
|
||||
https://github.com/fonttools/skia-pathops
|
||||
"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${PN}/${MY_P}.zip"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
SRC_URI="$(pypi_sdist_url --no-normalize ${PN} ${PV} .zip)"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="media-libs/skia"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest-cython[${PYTHON_USEDEP}] )
|
||||
dev-util/gn
|
||||
dev-util/ninja
|
||||
test? (
|
||||
dev-python/pytest-cython[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.7.4-no-net.patch )
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
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]"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
export BUILD_SKIA_FROM_SOURCE=0
|
||||
}
|
||||
distutils_enable_tests pytest
|
||||
Reference in New Issue
Block a user