From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aACBFpD+MWBpOQAA0tVLHw (envelope-from ) for ; Sun, 21 Feb 2021 06:32:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MDZaEpD+MWDVFwAA1q6Kng (envelope-from ) for ; Sun, 21 Feb 2021 06:32:48 +0000 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 B982A2660A for ; Sun, 21 Feb 2021 07:32:47 +0100 (CET) Received: from localhost ([::1]:49980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDiIQ-000325-Tl for larch@yhetil.org; Sun, 21 Feb 2021 01:32:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDiHi-00031G-Pp for guix-patches@gnu.org; Sun, 21 Feb 2021 01:32:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41874) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDiHh-0004Zv-RG for guix-patches@gnu.org; Sun, 21 Feb 2021 01:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDiHh-00039q-OU for guix-patches@gnu.org; Sun, 21 Feb 2021 01:32:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46675] [PATCH] gnu: Add python-sane Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Feb 2021 06:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46675@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161388907212075 (code B ref -1); Sun, 21 Feb 2021 06:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2021 06:31:12 +0000 Received: from localhost ([127.0.0.1]:53420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDiGu-00038h-2J for submit@debbugs.gnu.org; Sun, 21 Feb 2021 01:31:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:50956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDiGo-00038W-Qf for submit@debbugs.gnu.org; Sun, 21 Feb 2021 01:31:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDiGo-0002e4-JV for guix-patches@gnu.org; Sun, 21 Feb 2021 01:31:06 -0500 Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]:40594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDiGh-0003zw-I4 for guix-patches@gnu.org; Sun, 21 Feb 2021 01:31:06 -0500 Received: by mail-io1-xd2d.google.com with SMTP id i8so9998249iog.7 for ; Sat, 20 Feb 2021 22:30:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=kpum8TPuEIjtRTEW0/qVBZUqGeAInl92anHZMIL7pmg=; b=FgGYD/ScbykohpqLY3BJrej3pPtQV8QlMebdusPRYeB5H8xm8aKs2lGIa9xGFeP3aO f81kBlw2ZAzQUBSLwZoVDnA4kclq8od1pGl9ShNlNFajGi4Jq+F+LVMdiKM70UNw/CfB 8dSLCAx5xdUweAYnjWvFS9QTzrxmD+irav4cremL0ui9SAU/6VpO3E8yX2BFlftahXk5 ETED7miBkD3hvE7wtGcrF1FOGG2S2/eSpmzaxaYdJJaJrxMMz97w67nurLyszghJl4J5 lhG0bMtrf6735Hl/GVQNtnRi3pDQsoVZRLsjmDCaJoVXbgwoH1HhWKKx/7xiTwO4oWBl nuGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kpum8TPuEIjtRTEW0/qVBZUqGeAInl92anHZMIL7pmg=; b=M+ZUa4z0pKZhDtIwNuAZM/1a3IblT+JvR4Ogjn3rbQxn+VhHvf55RsTAKaA8ZjS/5m ZChVdOLc3Avr4L7TW0SSnYl7jIxehnbR8LOwpsJVaBiqR3C4gN9iAONHIl2bA3jgjESb L+kJuEgNAebWJGonZunlyDCOGm5qqJhDU7njE2z3HiNRHeDqboN/tWIF+ZEk3+sTp0ji 1ygjOuNBWmmxGR0DoM5QRYsjoYXpHItDwMZS0g5UONi9s2BE6ZSi/alJUY3HdTldLaom vpowtl1iRALIsWwQxNzBzk9d9BIFmC8iYAHG8O20kHXsDnTjogwmJhvlG6vyef8/Cz9+ kk/g== X-Gm-Message-State: AOAM533oUzxwpm/PcPXHH747VofRRi6CjyMveWFvdrMb+bbbyBkXpG8+ IQvJS9edam/dxyOSD0r/TABiMoGSzMnZImbe3h55NJLCrO16jg== X-Google-Smtp-Source: ABdhPJxGMRiwHfG3OlpJXgjx8S0shAmShLbkqkTneeYTMpCHVDR39pzKNIKWUqdEHUDn3RNIp0U3zZOmMUTS1l9RKSc= X-Received: by 2002:a02:2b2a:: with SMTP id h42mr17035663jaa.44.1613889057977; Sat, 20 Feb 2021 22:30:57 -0800 (PST) MIME-Version: 1.0 From: Andy Tai Date: Sat, 20 Feb 2021 22:30:22 -0800 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::d2d; envelope-from=lichengtai@gmail.com; helo=mail-io1-xd2d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.27 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="FgGYD/Sc"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: B982A2660A X-Spam-Score: -1.27 X-Migadu-Scanner: scn0.migadu.com X-TUID: qcqogwvL9IM9 * gnu/packages/python-xyz.scm (python-sane): New variable --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b26fce72a9..1fb9ff60b4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -180,6 +180,7 @@ #:use-module (gnu packages readline) #:use-module (gnu packages sdl) #:use-module (gnu packages search) + #:use-module (gnu packages scanner) #:use-module (gnu packages shells) #:use-module (gnu packages sphinx) #:use-module (gnu packages ssh) @@ -23906,3 +23907,26 @@ Application Programming Interface based on the Open Inventor 2.1 API.") Crayons automatically wraps a given string in the foreground color and restores the original state after the string is printed.") (license license:expat))) + +(define-public python-sane + (package + (name "python-sane") + (version "2.9.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri name version)) + (sha256 + (base32 + "1pi597z94n2mkd821ln52fq0g727n2jxfskf280ip3kf7jw8w294")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (inputs + `(("sane-backends" ,sane-backends))) + (home-page "https://github.com/python-pillow/Sane") + (synopsis "Python interface to the SANE scanner") + (description "This package provides Python interface to the SANE scanner and +frame grabber interface for Linux.") + ;; MIT license; FSF directory refers to this as expat licene + (license license:expat))) -- 2.30.0