From f89a4bbb7b88b1515a08c33a5da725fc285550ef Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Sat, 25 Apr 2020 02:35:56 +0200 Subject: dev-python/skia-pathops: new package Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri --- dev-python/skia-pathops/Manifest | 1 + dev-python/skia-pathops/metadata.xml | 12 ++++++ dev-python/skia-pathops/skia-pathops-0.4.0.ebuild | 49 +++++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 dev-python/skia-pathops/Manifest create mode 100644 dev-python/skia-pathops/metadata.xml create mode 100644 dev-python/skia-pathops/skia-pathops-0.4.0.ebuild (limited to 'dev-python/skia-pathops') diff --git a/dev-python/skia-pathops/Manifest b/dev-python/skia-pathops/Manifest new file mode 100644 index 000000000..67aaadb1e --- /dev/null +++ b/dev-python/skia-pathops/Manifest @@ -0,0 +1 @@ +DIST skia-pathops-0.4.0.zip 41254656 BLAKE2B 000829370de58d75cd56211c564c9d58ccf530b638ec0314a8e91fb1a9bb2e3f7e38618f88f3f78f5c404eb9a5d2e182419be7ec411418459e47ad1400bfd615 SHA512 23162a491cbabc1915ef8263c3d49672fb6a2cd4165707fa2e42a43d8e2d4b6ec0ea2e9c2aa377de8e1cbcc1ad6ff7dc8c03b9bd9f6844b97a8a6e538e35075e diff --git a/dev-python/skia-pathops/metadata.xml b/dev-python/skia-pathops/metadata.xml new file mode 100644 index 000000000..25c671f4e --- /dev/null +++ b/dev-python/skia-pathops/metadata.xml @@ -0,0 +1,12 @@ + + + + + + fonttools/skia-pathops + skia-pathops + + +Python bindings for the Google Skia library's Path Ops module, performing boolean operations on paths (intersection, union, difference, xor). + + diff --git a/dev-python/skia-pathops/skia-pathops-0.4.0.ebuild b/dev-python/skia-pathops/skia-pathops-0.4.0.ebuild new file mode 100644 index 000000000..96d1bc924 --- /dev/null +++ b/dev-python/skia-pathops/skia-pathops-0.4.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip" +KEYWORDS="~amd64" +DESCRIPTION="Python bindings for the Skia Path Ops" +HOMEPAGE=" + https://github.com/fonttools/skia-pathops + https://skia.org/dev/present/pathops +" +LICENSE="BSD" +SLOT="0" + +RDEPEND=" + ~media-libs/skia-80:= +" +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}] +" +# dev-python/setuptools_git_ls_files[${PYTHON_USEDEP}] + +#S="${WORKDIR}/${PN}-${MY_PV#v}" + +distutils_enable_tests pytest + +pkg_setup() { + export BUILD_SKIA_FROM_SOURCE=0 +} + +python_prepare_all() { + sed -e '/doctest-cython/d' -i tox.ini + distutils-r1_python_prepare_all +} -- cgit v1.2.3-65-gdbad