aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-01-01 08:01:27 +0800
committermiwi <miwi@FreeBSD.org>2007-01-01 08:01:27 +0800
commitf416f0e7e55be889f3adc97723516ac11bc55def (patch)
tree94db87b5f7414da77a7de880646ab5affe860404 /devel
parent65d739d7396aeba4807bc9ab82a1fafca7f590c5 (diff)
downloadfreebsd-ports-gnome-f416f0e7e55be889f3adc97723516ac11bc55def.tar.gz
freebsd-ports-gnome-f416f0e7e55be889f3adc97723516ac11bc55def.tar.zst
freebsd-ports-gnome-f416f0e7e55be889f3adc97723516ac11bc55def.zip
pyNotifier is a notifier/event scheduler abstraction written in python.
It implements notification mechanisms for socket events (read or write) and timers. Additionally external event dispatchers may be called during an idle period. WWW: http://www.bitkipper.net/Package/pynotifier PR: ports/107377 Submitted by: Li-Wen Hsu <lwhsu at lwhsu.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-notifier/Makefile38
-rw-r--r--devel/py-notifier/distinfo3
-rw-r--r--devel/py-notifier/pkg-descr7
-rw-r--r--devel/py-notifier/pkg-plist44
5 files changed, 93 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index dec12761083a..4e1fa3460ba4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1748,6 +1748,7 @@
SUBDIR += py-mx-experimental
SUBDIR += py-ncurses
SUBDIR += py-nose
+ SUBDIR += py-notifier
SUBDIR += py-notify
SUBDIR += py-ocempgui
SUBDIR += py-omniorb
diff --git a/devel/py-notifier/Makefile b/devel/py-notifier/Makefile
new file mode 100644
index 000000000000..579f335c81b3
--- /dev/null
+++ b/devel/py-notifier/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: py-notifier
+# Date created: 2006-12-31
+# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= notifier
+PORTVERSION= 0.5.7
+CATEGORIES= devel python
+MASTER_SITES= # http://www.bitkipper.net/Downloads/pynotifier
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= py${PORTNAME}_${PORTVERSION}-1
+
+MAINTAINER= lwhsu@lwhsu.org
+COMMENT= A generic notifier/event scheduler abstraction
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
+
+WRKSRC= ${WRKDIR}/py${PORTNAME}-${PORTVERSION}
+
+.include <bsd.port.pre.mk>
+
+do-fetch:
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+ ${FETCH_CMD} -o "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}" "http://www.bitkipper.net/Downloads/pynotifier?action=AttachFile&do=get&target=${DISTFILES}"
+.endif
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-notifier/distinfo b/devel/py-notifier/distinfo
new file mode 100644
index 000000000000..527920ae0a8e
--- /dev/null
+++ b/devel/py-notifier/distinfo
@@ -0,0 +1,3 @@
+MD5 (pynotifier_0.5.7-1.tar.gz) = 1b05746b8fe3f00b78a8d5c2db753404
+SHA256 (pynotifier_0.5.7-1.tar.gz) = f03c70da9822fd75c55d3eaebf25b73f77110c803a4fffff2c648da5998b5663
+SIZE (pynotifier_0.5.7-1.tar.gz) = 32476
diff --git a/devel/py-notifier/pkg-descr b/devel/py-notifier/pkg-descr
new file mode 100644
index 000000000000..82cc7725e561
--- /dev/null
+++ b/devel/py-notifier/pkg-descr
@@ -0,0 +1,7 @@
+pyNotifier is a notifier/event scheduler abstraction written in python.
+
+It implements notification mechanisms for socket events (read or write)
+and timers. Additionally external event dispatchers may be called during
+an idle period.
+
+WWW: http://www.bitkipper.net/Package/pynotifier
diff --git a/devel/py-notifier/pkg-plist b/devel/py-notifier/pkg-plist
new file mode 100644
index 000000000000..ff20c084ffb5
--- /dev/null
+++ b/devel/py-notifier/pkg-plist
@@ -0,0 +1,44 @@
+%%PYTHON_SITELIBDIR%%/notifier/__init__.py
+%%PYTHON_SITELIBDIR%%/notifier/__init__.pyc
+%%PYTHON_SITELIBDIR%%/notifier/__init__.pyo
+%%PYTHON_SITELIBDIR%%/notifier/dispatch.py
+%%PYTHON_SITELIBDIR%%/notifier/dispatch.pyc
+%%PYTHON_SITELIBDIR%%/notifier/dispatch.pyo
+%%PYTHON_SITELIBDIR%%/notifier/log.py
+%%PYTHON_SITELIBDIR%%/notifier/log.pyc
+%%PYTHON_SITELIBDIR%%/notifier/log.pyo
+%%PYTHON_SITELIBDIR%%/notifier/nf_generic.py
+%%PYTHON_SITELIBDIR%%/notifier/nf_generic.pyc
+%%PYTHON_SITELIBDIR%%/notifier/nf_generic.pyo
+%%PYTHON_SITELIBDIR%%/notifier/nf_gtk.py
+%%PYTHON_SITELIBDIR%%/notifier/nf_gtk.pyc
+%%PYTHON_SITELIBDIR%%/notifier/nf_gtk.pyo
+%%PYTHON_SITELIBDIR%%/notifier/nf_qt.py
+%%PYTHON_SITELIBDIR%%/notifier/nf_qt.pyc
+%%PYTHON_SITELIBDIR%%/notifier/nf_qt.pyo
+%%PYTHON_SITELIBDIR%%/notifier/nf_wx.py
+%%PYTHON_SITELIBDIR%%/notifier/popen.py
+%%PYTHON_SITELIBDIR%%/notifier/popen.pyc
+%%PYTHON_SITELIBDIR%%/notifier/popen.pyo
+%%PYTHON_SITELIBDIR%%/notifier/signals.py
+%%PYTHON_SITELIBDIR%%/notifier/signals.pyc
+%%PYTHON_SITELIBDIR%%/notifier/signals.pyo
+%%PYTHON_SITELIBDIR%%/notifier/threads.py
+%%PYTHON_SITELIBDIR%%/notifier/threads.pyc
+%%PYTHON_SITELIBDIR%%/notifier/threads.pyo
+%%PYTHON_SITELIBDIR%%/notifier/version.py
+%%PYTHON_SITELIBDIR%%/notifier/version.pyc
+%%PYTHON_SITELIBDIR%%/notifier/version.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/notifier
+%%EXAMPLESDIR%%/callbacks.py
+%%EXAMPLESDIR%%/logger.py
+%%EXAMPLESDIR%%/process.py
+%%EXAMPLESDIR%%/process2.py
+%%EXAMPLESDIR%%/signal.py
+%%EXAMPLESDIR%%/signal2.py
+%%EXAMPLESDIR%%/test-generic.py
+%%EXAMPLESDIR%%/test-gtk.py
+%%EXAMPLESDIR%%/test-qt.py
+%%EXAMPLESDIR%%/test-wx.py
+%%EXAMPLESDIR%%/threads.py
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%