unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 34240@debbugs.gnu.org
Subject: [bug#34240] [PATCH 3/5] gnu: Add python-pycups.
Date: Tue, 29 Jan 2019 11:42:40 +0000	[thread overview]
Message-ID: <20190129114242.32481-3-mail@cbaines.net> (raw)
In-Reply-To: <20190129114242.32481-1-mail@cbaines.net>

* gnu/packages/cups.scm (python-pycups): New variable.
---
 gnu/packages/cups.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 138a1fc3ed..3b42f9e27e 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -46,6 +46,7 @@
   #:use-module (gnu packages scanner)
   #:use-module (gnu packages tls)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system python)
   #:use-module (guix download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
@@ -708,3 +709,27 @@ printers.  It can only be used with printers that support the Epson ESC/P-R
 language.")
     (home-page "http://download.ebz.epson.net/dsc/search/01/search")
     (license license:gpl2+)))
+
+(define-public python-pycups
+  (package
+    (name "python-pycups")
+    (version "1.9.74")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pycups" version ".tar.bz2"))
+       (sha256
+        (base32
+         "1ffp7sswhdsfpy88zg0cc8kl04wygkjs01rlm9f0spbwk8jhy2c6"))))
+    (build-system python-build-system)
+    (arguments
+     '(;; Tests require CUPS to be running
+       #:tests? #f))
+    (inputs
+     `(("cups" ,cups)))
+    (home-page "https://github.com/zdohnal/pycups")
+    (synopsis "Python bindings for libcups")
+    (description
+     "This package provides Python bindings for libcups, wrapping the CUPS
+API.")
+    (license license:gpl2+)))
-- 
2.20.1

  parent reply	other threads:[~2019-01-29 11:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-29 11:37 [bug#34240] [PATCH 0/5] Gnome printing improvements Christopher Baines
2019-01-29 11:42 ` [bug#34240] [PATCH 1/5] gnu: Add cups-pk-helper Christopher Baines
2019-01-29 11:42   ` [bug#34240] [PATCH 2/5] services: " Christopher Baines
2019-01-29 16:44     ` Ricardo Wurmus
2019-01-29 16:56       ` Christopher Baines
2019-01-29 11:42   ` Christopher Baines [this message]
2019-01-29 16:44     ` [bug#34240] [PATCH 3/5] gnu: Add python-pycups Ricardo Wurmus
2019-01-29 11:42   ` [bug#34240] [PATCH 4/5] gnu: Add system-config-printer Christopher Baines
2019-01-29 16:49     ` Ricardo Wurmus
2019-02-13  8:21       ` bug#34240: " Christopher Baines
2019-01-29 11:42   ` [bug#34240] [PATCH 5/5] gnu: gnome: Include system-config-printer Christopher Baines
2019-01-29 16:50     ` Ricardo Wurmus
2019-01-29 16:42   ` [bug#34240] [PATCH 1/5] gnu: Add cups-pk-helper Ricardo Wurmus
2019-01-29 17:03     ` Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190129114242.32481-3-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=34240@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).