[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] 4 commits: Adjust etc/ltspfs/mounter.d/edu-notify for using notity2 instead of pynotify.

WolfgangSchweer gitlab at salsa.debian.org
Sun Oct 27 14:03:14 GMT 2019



WolfgangSchweer pushed to branch master at Debian Edu / debian-edu-config


Commits:
9fe5efe1 by Wolfgang Schweer at 2019-10-27T13:36:06Z
Adjust etc/ltspfs/mounter.d/edu-notify for using notity2 instead of pynotify.

Signed-off-by: Wolfgang Schweer <wschweer at arcor.de>

- - - - -
e87e1b68 by Wolfgang Schweer at 2019-10-27T13:40:23Z
debian/control: Replace python-notify with python3-notify2. Closes: #943573

Thanks to Jeremy Bicha.

Signed-off-by: Wolfgang Schweer <wschweer at arcor.de>

- - - - -
7612ab15 by Wolfgang Schweer at 2019-10-27T13:47:11Z
Add changelog entries for last commits.

Signed-off-by: Wolfgang Schweer <wschweer at arcor.de>

- - - - -
4068c5c0 by Wolfgang Schweer at 2019-10-27T14:01:49Z
debian/control: Add Depends on python3, thanks Lintian.

Signed-off-by: Wolfgang Schweer <wschweer at arcor.de>

- - - - -


3 changed files:

- debian/changelog
- debian/control
- etc/ltspfs/mounter.d/edu-notify


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+debian-edu-config (2.11.7) UNRELEASED; urgency=medium
+
+  * etc/ltspfs/mounter.d/edu-notify:
+    Adjust for using notity2 instead of pynotify.
+  * debian/control: Replace python-notify with python3-notify2. Closes: #943573
+    Thanks to Jeremy Bicha.
+  * debian/control: Add Depends on python3, thanks Lintian.
+
+ -- Wolfgang Schweer <wschweer at arcor.de>  Sun, 27 Oct 2019 14:27:59 +0100
+
 debian-edu-config (2.11.6) unstable; urgency=medium
 
   [ Wolfgang Schweer ]


=====================================
debian/control
=====================================
@@ -57,7 +57,8 @@ Depends: ${misc:Depends},
          openssl,
          patch,
          python,
-         python-notify,
+         python3,
+         python3-notify2,
          ssl-cert,
          swaks,
          tftp-hpa | tftp,


=====================================
etc/ltspfs/mounter.d/edu-notify
=====================================
@@ -1,6 +1,6 @@
-#!/usr/bin/python
-# requires python-notify
-import pynotify
+#!/usr/bin/python3
+# requires python3-notify2
+import notify2
 import sys
 import string
 import os
@@ -8,8 +8,8 @@ import os
 xdgdirs = os.environ.get('XDG_DATA_DIRS')
 if xdgdirs and -1 != xdgdirs.find("/usr/share/gnome"):
   sys.exit(0)
-if not pynotify.init("edu-notify"):
+if not notify2.init("edu-notify"):
   sys.exit(1)
-n = pynotify.Notification("ltspfs","%s" % sys.argv[1]+' '+sys.argv[2])
+n = notify2.Notification("ltspfs","%s" % sys.argv[1]+' '+sys.argv[2])
 n.set_timeout(5000) # show notification for 5 seconds
 n.show()



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/compare/adebf409c9bab35a2ccb033ee408e16787d5ae0a...4068c5c036f6e89dd3ce17ffae85af0c363b3220

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/compare/adebf409c9bab35a2ccb033ee408e16787d5ae0a...4068c5c036f6e89dd3ce17ffae85af0c363b3220
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20191027/a26cf9a5/attachment-0001.html>


More information about the debian-edu-commits mailing list