From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KHZ9Fo4iZmI3CQEAbAwnHQ (envelope-from ) for ; Mon, 25 Apr 2022 06:24:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KPmCFY4iZmJNcwEAG6o9tA (envelope-from ) for ; Mon, 25 Apr 2022 06:24:46 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1407A8297 for ; Mon, 25 Apr 2022 06:24:46 +0200 (CEST) Received: from localhost ([::1]:48768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niqHE-0004JA-Vq for larch@yhetil.org; Mon, 25 Apr 2022 00:24:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nipvb-00080X-Iu for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:27 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nipvY-0001nM-UX for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:23 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nipvY-0008FF-Ry for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:20 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55104] [PATCH 081/232] gnu: Add python-skia-pathops. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 04:02:20 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55104 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55104@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 55104-submit@debbugs.gnu.org id=B55104.165085932931473 (code B ref 55104); Mon, 25 Apr 2022 04:02:20 +0000 Received: (at 55104) by debbugs.gnu.org; 25 Apr 2022 04:02:09 +0000 Received: from localhost ([127.0.0.1]:60888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipvN-0008BR-4S for submit@debbugs.gnu.org; Mon, 25 Apr 2022 00:02:09 -0400 Received: from mail-qt1-f179.google.com ([209.85.160.179]:41952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipu2-0007t6-T7 for 55104@debbugs.gnu.org; Mon, 25 Apr 2022 00:00:47 -0400 Received: by mail-qt1-f179.google.com with SMTP id fu34so9563438qtb.8 for <55104@debbugs.gnu.org>; Sun, 24 Apr 2022 21:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XhfGrFzdxf4SmJZWY0NL52/pdoCUH69REXuxhdh+bNc=; b=g8QEfTKQ9s4zaZ3oXLR2Es/QFSH5+pPSfpsFvZ9gl6+LT4ZtIiHe6GR38jLnyKXig1 L2YxipT1pjCVhVEYtAJ8yh8KAL9+9BG4EHoeEnH26LisWuNBj8sAaKYry+ay+lH7Y0sm HAzoq/Jz8ZS/oK+VAANKk/2zsZbQJ9/UMG2duXe8I94JGCJFXBZ7SwPB+LaDDIdTgV/g xJatHaBF9gZkPXuG+a8p4lCbQeIwfOQnAfoZZtZ7gNhDpSrTfKFeOohZtSD670NJO8uE G1B6eQekQvB+qBGXI7jRikdu2ss54vSJCRtZSvXNLcVKLMDRwKnx8f2Bwh2geK503Mhd DOoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XhfGrFzdxf4SmJZWY0NL52/pdoCUH69REXuxhdh+bNc=; b=RVbFQ4kUJzVdWwYfc5tjbHO9XPX5Pk4lTd5yBkaRL7f5K9VF26N9OTAu0BAX/gF/qL GY3g+JmzPiqXc0ju04Z2v3fXQHCu0EE1ZzVXXIoZCPKaPGIF857c+HESb9YVRAFqO/tv oKrmi3V6/bXxhp/UDKLnFRsl4z10Z3GnED2mY8KHg7wLm2O0OTUzfHCPtdpFoxKEqvdp 2m/NU363FGF2RqsWkmz2VRyR4mgAOT25+O4ugPC5VFoeG1wBOqBQtpjnH6SljxrtJJVU OPUqTBuKE+nbh42xnMORDGFUNyherdq461VE6ZUpUduzx4TLheFLTwt2qzcoywb6aKR2 6Arw== X-Gm-Message-State: AOAM533S2PdQ1mWrud6AbaZEwDfhy+rn4WAAvtAf5cjOwGjgimI4g9wI UFNmX+40vZWxx9ST24qJ+fHnYTt/WAGHuw== X-Google-Smtp-Source: ABdhPJwTrHPtjbJUzB7velOALipki13x++LRpyoveKWIZyQMdGhLZHZHfA8ygSjwfu9yGGaPsaJUlA== X-Received: by 2002:a05:622a:1a81:b0:2f3:647c:6f14 with SMTP id s1-20020a05622a1a8100b002f3647c6f14mr3722642qtc.269.1650859241098; Sun, 24 Apr 2022 21:00:41 -0700 (PDT) Received: from localhost.localdomain (dsl-150-232.b2b2c.ca. [66.158.150.232]) by smtp.gmail.com with ESMTPSA id w82-20020a376255000000b0069ee3f0ae63sm4478142qkb.45.2022.04.24.21.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 21:00:40 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 24 Apr 2022 23:56:47 -0400 Message-Id: <20220425035918.25683-81-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220425035918.25683-1-maxim.cournoyer@gmail.com> References: <20220425035918.25683-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650860686; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XhfGrFzdxf4SmJZWY0NL52/pdoCUH69REXuxhdh+bNc=; b=kshxvAu6WnMB+2FtaSfMqo7TKx+vVb9DfpoYk89AymQBGrziOL1/3xbFeLm9QxS+wzYLfe I1KNKPyIZXTRfRWkt6dY1KiDjOsHBuk5btEUUW8EW82Z5QUDIgenNAAEZ9mBDAu6V/zTh+ DUe5A9A8Zhp09GsS83/55L3oAFwD0M7ytPYaIgHVQaAtJ7jWikroAgdwQCYYZTDMDMYW1w j78M2xE0g9tvOw/ador3SdJM0Hq4P0anREgvvPziJcBTt9I1rbGf+pDNOQ14ZYjrygeLXT 8IwVUnRfzGAvWmgf9CUgimTAb+gDb8MAuSjneZd10V3f5duCU6USMjCQxR91dA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650860686; a=rsa-sha256; cv=none; b=Mzv+MAzMf8QBN0QTS9FEwhzKafAwRNRQlLezzYaucSrLy8TxXjRXKqnqhBR94TRY8HFcBh eUR+ClUTNz6AoUxOHtiCCMq2l9zVwUw0XWXhQwE1HTMGiAEizeAY5zfF8hokBHLsp381t6 bJQdrj0g32UvFpwJ4NN7O7qdfZfp8lLkoKG9UmZCFFA8mjgKDduUhkSiYR5/LSNktoplF+ eXvbQHRuYWftwm1BfzXkf7HOSlrO1B1deeAM7a2ABSCRd2eveq2ZHMU3SA3tN0s+1GZLz/ hdEM4VsGXeVa88/o2DlKbjB+1YsmtlozKkEjlwSLUTnX/eHggHCKlMFApfMp+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=g8QEfTKQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=g8QEfTKQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1407A8297 X-Spam-Score: 7.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: C5+zsoRCRwXE * gnu/packages/fontutils.scm (python-skia-pathops): New variable. --- gnu/packages/fontutils.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 9d170da953..f2a76b9492 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -573,6 +573,50 @@ (define-public psautohint can be used to hint PostScript fonts. A Python wrapper is also included.") (license license:asl2.0))) +(define-public python-skia-pathops + (package + (name "python-skia-pathops") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "skia-pathops" version ".zip")) + (modules '((guix build utils))) + (snippet '(delete-file-recursively "src/cpp")) ;140+ MiB of stuff + (sha256 + (base32 "1456rclfn6a01c2cchlgyn166zppcjcqij0k5gwmm8gvzsd5rn0r")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'configure-env + (lambda _ + (setenv "BUILD_SKIA_FROM_SOURCE" "0"))) + (add-after 'unpack 'adjust-c++-language + (lambda _ + ;; Our version of Skia requires c++17. + (substitute* "setup.py" + (("-std=c\\+\\+14") + "-std=c++17")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) + (native-inputs + (list pkg-config + python-cython + python-pytest + python-setuptools-scm + unzip)) + (inputs (list skia)) + (home-page "https://github.com/fonttools/skia-pathops") + (synopsis "Python bindings for the Skia library's Path Ops module") + (description "This package provides Python bindings for the Path Ops +module of the Skia library, performing boolean operations on +paths (intersection, union, difference, xor).") + (license license:bsd-3))) + (define-public python-ufoprocessor (package (name "python-ufoprocessor") -- 2.34.0