pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/py-notify2 py-notify2: add new package, versi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/11ef227f34b6
branches:  trunk
changeset: 375262:11ef227f34b6
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Thu Mar 10 23:48:02 2022 +0000

description:
py-notify2: add new package, version 0.3.1

A modern Python interface to DBus notifications, supporting Python 3.
This effectively replaces what was once called "py-notify" in pkgsrc,
and then became "py-notify-python". It is actually required by
print/hplip, if the qt5 option is enabled (which I am working on
fixing).

(There is also a completely unrelated package as sysutils/py-notify at
present, co-incidentally also at version 0.3.1, which apparently was
mistakenly imported overtop the original py-notify, but is not the same
package at all: it should have been placed in devel, not sysutils, as
it doesn't deal with notifications integration but rather with general
development abstractions.)

Originally packaged in wip by K.I.A. Derouiche. Minor adjustments for
pkgsrc and a correction (missing py-dbus dependency) by me.

diffstat:

 sysutils/py-notify2/DESCR    |   4 ++++
 sysutils/py-notify2/Makefile |  20 ++++++++++++++++++++
 sysutils/py-notify2/PLIST    |   8 ++++++++
 sysutils/py-notify2/distinfo |   5 +++++
 4 files changed, 37 insertions(+), 0 deletions(-)

diffs (53 lines):

diff -r c918f927122d -r 11ef227f34b6 sysutils/py-notify2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-notify2/DESCR Thu Mar 10 23:48:02 2022 +0000
@@ -0,0 +1,4 @@
+A modern Python interface to DBus notifications, supporting Python 3.
+
+NB this is not the same package as sysutils/py-notify, despite similar names
+and versioning.
diff -r c918f927122d -r 11ef227f34b6 sysutils/py-notify2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-notify2/Makefile      Thu Mar 10 23:48:02 2022 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2022/03/10 23:48:02 gutteridge Exp $
+
+DISTNAME=      notify2-0.3.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    sysutils python
+MASTER_SITES=  https://files.pythonhosted.org/packages/aa/e8/d4b335aa739dc299a77766ecc5f1972d1de1993524aa94acef3219bba315/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://bitbucket.org/takluyver/pynotify2
+COMMENT=       Python interface to DBus notifications
+LICENSE=       2-clause-bsd
+
+DEPENDS+=      ${PYPKGPREFIX}-dbus-[0-9]*:../../sysutils/py-dbus
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c918f927122d -r 11ef227f34b6 sysutils/py-notify2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-notify2/PLIST Thu Mar 10 23:48:02 2022 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2022/03/10 23:48:02 gutteridge Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/notify2.py
+${PYSITELIB}/notify2.pyc
+${PYSITELIB}/notify2.pyo
diff -r c918f927122d -r 11ef227f34b6 sysutils/py-notify2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-notify2/distinfo      Thu Mar 10 23:48:02 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/03/10 23:48:02 gutteridge Exp $
+
+BLAKE2s (notify2-0.3.1.tar.gz) = 10247e430aaade8ee1c9e05695473682858f26fc55bb46ca18a45fadcb70bdc0
+SHA512 (notify2-0.3.1.tar.gz) = 0b69a64e0a7e4955ee767c975db92c5c60d28c0e54f77498cfb98390771a8f536631fc34e42b5c46c138dfa1054b5516a0809b8e3b0cb9237a39825ddb827109
+Size (notify2-0.3.1.tar.gz) = 17792 bytes



Home | Main Index | Thread Index | Old Index