unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Alex Griffin" <a@ajgrf.com>
To: 36213@debbugs.gnu.org
Subject: [bug#36213] [PATCH 1/4] gnu: Add python-notify2, python2-notify2.
Date: Fri, 14 Jun 2019 19:22:59 +0000	[thread overview]
Message-ID: <4aa0f1f1-8953-4eb0-b8db-464ffe55aac6@www.fastmail.com> (raw)
In-Reply-To: <9f57b4cb-e4e9-4dfa-9308-9263b5edfe23@www.fastmail.com>

[-- Attachment #1: Type: text/plain, Size: 26 bytes --]

attached

-- 
Alex Griffin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-notify2-python2-notify2.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-python-notify2-python2-notify2.patch", Size: 2088 bytes --]

From d6b03487f9844f9836ac2cb877022ffaac9f53ee Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Thu, 13 Jun 2019 13:46:14 -0500
Subject: [PATCH 1/4] gnu: Add python-notify2, python2-notify2.

* gnu/packages/python-xyz.scm (python-notify2): New variable.
(python2-notify2): New variable.
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a7c88e9187..e07f9532ed 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -60,6 +60,7 @@
 ;;; Copyright © 2019 Brett Gilio <brettg@posteo.net>
 ;;; Copyright © 2019 Sam <smbaines8@gmail.com>
 ;;; Copyright © 2019 Jack Hill <jackhill@jackhill.us>
+;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5350,6 +5351,33 @@ implementation of D-Bus.")
     ;; "ValueError: unichr() arg not in range(0x10000) (narrow Python build)"
     (arguments `(#:tests? #f))))
 
+(define-public python-notify2
+  (package
+    (name "python-notify2")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "notify2" version))
+       (sha256
+        (base32
+         "0z8rrv9rsg1r2qgh2dxj3dfj5xnki98kgi3w839kqby4a26i1yik"))))
+    (build-system python-build-system)
+    (arguments `(#:tests? #f))                    ; tests depend on system state
+    (native-inputs
+     `(("python-dbus" ,python-dbus)))
+    (home-page "https://bitbucket.org/takluyver/pynotify2")
+    (synopsis "Python interface to D-Bus notifications")
+    (description
+     "notify provides a Python interface for sending D-Bus notifications.
+It is a reimplementation of pynotify in pure Python, and an alternative to
+the GObject Introspection bindings to libnotify for non-GTK applications.")
+    (license (list license:bsd-2
+                   license:lgpl2.1+))))
+
+(define-public python2-notify2
+  (package-with-python2 python-notify2))
+
 (define-public python-lxml
   (package
     (name "python-lxml")
-- 
2.22.0


  reply	other threads:[~2019-06-14 19:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 19:21 [bug#36213] [PATCH 0/4] Add pulseaudio-dlna Alex Griffin
2019-06-14 19:22 ` Alex Griffin [this message]
2019-06-14 19:23 ` [bug#36213] [PATCH 2/4] gnu: Add python-pyroute2, python2-pyroute2 Alex Griffin
2019-06-14 19:27 ` [bug#36213] [PATCH 3/4] gnu: Add python2-zeroconf Alex Griffin
2019-06-14 19:28 ` [bug#36213] [PATCH 4/4] gnu: Add pulseaudio-dlna Alex Griffin
2019-07-02 15:54   ` Ludovic Courtès
2019-07-02 16:01     ` Alex Griffin
2019-07-04 16:07       ` bug#36213: " Ludovic Courtès

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=4aa0f1f1-8953-4eb0-b8db-464ffe55aac6@www.fastmail.com \
    --to=a@ajgrf.com \
    --cc=36213@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).