GNU bug report logs - #46675
[PATCH] gnu: Add python-sane

Previous Next

Package: guix-patches;

Reported by: Andy Tai <lichengtai <at> gmail.com>

Date: Sun, 21 Feb 2021 06:32:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#46675: closed ([PATCH] gnu: Add python-sane)
Date: Mon, 22 Feb 2021 11:13:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 22 Feb 2021 12:11:53 +0100
with message-id <87v9akbbly.fsf <at> gnu.org>
and subject line Re: bug#46675: [PATCH] gnu: Add python-sane
has caused the debbugs.gnu.org bug report #46675,
regarding [PATCH] gnu: Add python-sane
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
46675: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46675
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andy Tai <lichengtai <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add python-sane
Date: Sat, 20 Feb 2021 22:30:22 -0800
* 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


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Andy Tai <lichengtai <at> gmail.com>
Cc: 46675-done <at> debbugs.gnu.org
Subject: Re: bug#46675: [PATCH] gnu: Add python-sane
Date: Mon, 22 Feb 2021 12:11:53 +0100
Hi Andy,

Andy Tai <lichengtai <at> gmail.com> skribis:

> * gnu/packages/python-xyz.scm (python-sane): New variable

Applied, thanks!

Ludo’.


This bug report was last modified 4 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.