Index: head/devel/Makefile =================================================================== --- head/devel/Makefile +++ head/devel/Makefile @@ -4633,6 +4633,7 @@ SUBDIR += py-noseofyeti SUBDIR += py-notifier SUBDIR += py-notify + SUBDIR += py-notify2 SUBDIR += py-numba SUBDIR += py-ocempgui SUBDIR += py-odfpy Index: head/devel/py-notify2/Makefile =================================================================== --- head/devel/py-notify2/Makefile +++ head/devel/py-notify2/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= notify2 +DISTVERSION= 0.3.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python interface to DBus notifications + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist +NO_ARCH= yes + +.include Index: head/devel/py-notify2/distinfo =================================================================== --- head/devel/py-notify2/distinfo +++ head/devel/py-notify2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1518630067 +SHA256 (notify2-0.3.1.tar.gz) = 33fa108d50c42f3cd3407cc437518ad3f6225d1bb237011f16393c9dd3ce197d +SIZE (notify2-0.3.1.tar.gz) = 17792 Index: head/devel/py-notify2/pkg-descr =================================================================== --- head/devel/py-notify2/pkg-descr +++ head/devel/py-notify2/pkg-descr @@ -0,0 +1,5 @@ +notify2 is a pure-python replacement for notify-python, using python-dbus +to communicate with the notifications server directly. It's compatible with +Python 2 and 3, and its callbacks can work with Gtk 3 or Qt 4 applications. + +WWW: https://bitbucket.org/takluyver/pynotify2