From patchwork Thu Oct 28 05:01:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 34122 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3AE7227BBE3; Thu, 28 Oct 2021 06:04:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0134827BBE1 for ; Thu, 28 Oct 2021 06:04:13 +0100 (BST) Received: from localhost ([::1]:54160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfxaF-0007c5-4A for patchwork@mira.cbaines.net; Thu, 28 Oct 2021 01:04:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfxa7-0007YJ-19 for guix-patches@gnu.org; Thu, 28 Oct 2021 01:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfxa6-0007HQ-Oy for guix-patches@gnu.org; Thu, 28 Oct 2021 01:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfxa6-0006Du-Js for guix-patches@gnu.org; Thu, 28 Oct 2021 01:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51453] [PATCH] gnu: Add python-wand. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Oct 2021 05:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51453 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51453@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163539738523834 (code B ref -1); Thu, 28 Oct 2021 05:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Oct 2021 05:03:05 +0000 Received: from localhost ([127.0.0.1]:51073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfxZB-0006CM-30 for submit@debbugs.gnu.org; Thu, 28 Oct 2021 01:03:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:55490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfxZ5-0006Bq-6G for submit@debbugs.gnu.org; Thu, 28 Oct 2021 01:03:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfxZ4-0006Ei-Ve for guix-patches@gnu.org; Thu, 28 Oct 2021 01:02:58 -0400 Received: from mout02.posteo.de ([185.67.36.66]:55289) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfxZ1-0007CG-VE for guix-patches@gnu.org; Thu, 28 Oct 2021 01:02:58 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id D9334240101 for ; Thu, 28 Oct 2021 07:02:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1635397371; bh=+M8opAn9asOrEfEIOZwHj6YN/77UmOth3MSqMcnid1I=; h=From:To:Cc:Subject:Date:From; b=YqTrutq9Gh+zUd2aoQYiGwHrveuRG7r7ZCz7hoHVkvAK9vApXbIvChFTcBHjayAZK Y063T5Ah1TkGjT+QDbXLjQ/LQZ32YClpCYdwAnhoaq9qfqAqIUR2ya9X8/NC9eiL5j svUdQzLqf4AQa0mwltJMbrY62r3OwcNdLxTYsU2OtLm2XKc+0EsfCW1UGVFk5uaZxb AwcyiaIuYbDEvuog09NeysmmAvIe2zima6MsO0T2AFnYMN58n+fN6FgXozz5aszu6U gIGjbOI1izCBhXbpWUs2pLkCp0poCVAKs4zTCYIMnNbDxrtU1LYCnv6WsYVCsv1N+u tCFwUl7bb7tRw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HftjQ5V96z9rxL; Thu, 28 Oct 2021 07:02:50 +0200 (CEST) From: Vinicius Monego Date: Thu, 28 Oct 2021 05:01:56 +0000 Message-Id: <20211028050156.38397-1-monego@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-wand): New variable. --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index eb9fcc310d..18f64a1060 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1552,6 +1552,35 @@ and simplified. It supports SPDX license expressions as well as other naming conventions and aliases in the same expression.") (license license:gpl2+))) +(define-public python-wand + (package + (name "python-wand") + (version "0.6.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Wand" version)) + (sha256 + (base32 "1nxn7zvbnfgk4kkxajbzglcjpbgr84ilhnxm990nifjxqb61ph7b")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-magickwand + (lambda* (#:key inputs #:allow-other-keys) + (setenv "MAGICK_HOME" (assoc-ref inputs "imagemagick")) + (setenv "WAND_MAGICK_LIBRARY_SUFFIX" ".Q16")))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (inputs + `(("imagemagick" ,imagemagick))) + (home-page "https://docs.wand-py.org/") + (synopsis "MagickWand API binding for Python") + (description + "Wand is a ctypes-based binding for the C API of ImageMagick's MagickWand +library.") + (license license:expat))) + (define-public python-lockfile (package (name "python-lockfile")