From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D46AD138350 for ; Sat, 25 Apr 2020 00:37:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B702E0BFE; Sat, 25 Apr 2020 00:37:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E4545E0BFE for ; Sat, 25 Apr 2020 00:37:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4581734F1FB for ; Sat, 25 Apr 2020 00:37:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9D5721E for ; Sat, 25 Apr 2020 00:37:25 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1587775038.f89a4bbb7b88b1515a08c33a5da725fc285550ef.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/skia-pathops/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/skia-pathops/Manifest dev-python/skia-pathops/metadata.xml dev-python/skia-pathops/skia-pathops-0.4.0.ebuild X-VCS-Directories: dev-python/skia-pathops/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: f89a4bbb7b88b1515a08c33a5da725fc285550ef X-VCS-Branch: dev Date: Sat, 25 Apr 2020 00:37:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 37e6d2da-0fe7-4474-bc9a-bbf9b1aa7ec5 X-Archives-Hash: 574ee9e5728cb7ad7365cd01cda7b69e commit: f89a4bbb7b88b1515a08c33a5da725fc285550ef Author: Alessandro Barbieri gmail com> AuthorDate: Sat Apr 25 00:35:56 2020 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Sat Apr 25 00:37:18 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f89a4bbb dev-python/skia-pathops: new package Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> 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(+) diff --git a/dev-python/skia-pathops/Manifest b/dev-python/skia-pathops/Manifest new file mode 100644 index 0000000..67aaadb --- /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 0000000..25c671f --- /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 0000000..96d1bc9 --- /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 +}