debian/0000755000000000000000000000000011761751701007174 5ustar debian/rules0000755000000000000000000000134011760762217010255 0ustar #!/usr/bin/make -f # -*- makefile -*- #DH_VERBOSE=1 # This is needed on buildd so that dbus can use ~/.dbus export HOME = $(CURDIR) PYTHON2=$(shell pyversions -vr) PYTHON3=$(shell py3versions -vr) %: dh $@ --with python2,python3 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) override_dh_auto_test: PYTHONS="$(PYTHON2) $(PYTHON3)" xvfb-run -a debian/runtests.sh endif build-python%: python$* setup.py build override_dh_auto_build: $(PYTHON3:%=build-python%) dh_auto_build install-python%: python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb override_dh_auto_install: $(PYTHON3:%=install-python%) dh_auto_install override_dh_auto_clean: dh_auto_clean rm -rf build rm -rf *.egg-info rm -rf .dbus debian/compat0000644000000000000000000000000211754271043010370 0ustar 8 debian/copyright0000644000000000000000000000544311754271043011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: notify2 Source: http://pypi.python.org/pypi/notify2 Files: * Copyright: 2012 Thomas Kluyver License: BSD-3-Clause Files: debian/* Copyright: 2012 Thomas Kluyver License: BSD-3-Clause License: BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: examples/icon.py examples/default-action.py examples/multi-actions.py examples/qt-app.py Copyright: 2006 Christian Hammond License: LGPL-2.1+ Comment: Adaptd from notify-python examples License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the LGPL can be found in the file `/usr/share/common-licenses/LGPL-2.1`. debian/python3-notify2.examples0000644000000000000000000000001311754271043013720 0ustar examples/* debian/control0000644000000000000000000000412511755703241010600 0ustar Source: python-notify2 Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Thomas Kluyver Build-Depends: debhelper (>= 8), python3-all, python3-dbus, python-all, python-dbus, dbus, dbus-x11, notification-daemon, xvfb, xauth, python-gi, python3-gi, gir1.2-gdkpixbuf-2.0 Standards-Version: 3.9.3 Homepage: http://pypi.python.org/pypi/notify2 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-notify2/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-notify2/trunk/ Package: python-notify2 Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-dbus Recommends: notification-daemon Description: desktop notifications API for Python notify2 provides a Python interface to the Freedesktop notifications system, which allows programs to display information to the user in an unobtrusive way. Notifications are sent over DBus to a notification daemon, which is responsible for presenting them to the user. . notify2 is intended as a replacement for pynotify (package python-notify), and its interface is largely copied from there, although it isn't a complete clone. . This is the Python 2 version of the package. Package: python3-notify2 Architecture: all Depends: ${python3:Depends}, ${misc:Depends}, python3-dbus Recommends: notification-daemon Description: desktop notifications API for Python 3 notify2 provides a Python interface to the Freedesktop notifications system, which allows programs to display information to the user in an unobtrusive way. Notifications are sent over DBus to a notification daemon, which is responsible for presenting them to the user. . notify2 is intended as a replacement for pynotify (package python-notify), and its interface is largely copied from there, although it isn't a complete clone. . This is the Python 3 version of the package. debian/watch0000644000000000000000000000012111754271043010215 0ustar version=3 http://pypi.python.org/packages/source/n/notify2/notify2-(.*)\.tar\.gz debian/source/0000755000000000000000000000000011754271043010472 5ustar debian/source/format0000644000000000000000000000001411754271043011700 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000054411760762217011054 0ustar python-notify2 (0.3-2) unstable; urgency=low * Fix for running test suite, courtesy of Jakub Wilk (Closes: #674351) -- Thomas Kluyver Mon, 28 May 2012 11:06:00 +0100 python-notify2 (0.3-1) unstable; urgency=low * Initial release (Closes: #672799) -- Thomas Kluyver Sun, 13 May 2012 18:29:32 +0100 debian/runtests.sh0000755000000000000000000000041111755677071011430 0ustar # Runs the tests - called with xvfb-run to provide a display set -e # Start the notification daemon /usr/lib/notification-daemon/notification-daemon & sleep 1 # Test with the requested versions of Python for VER in $PYTHONS do python$VER test_notify2.py done debian/python-notify2.examples0000644000000000000000000000001311754271043013635 0ustar examples/* debian/python3-notify2.install0000644000000000000000000000002011754271043013546 0ustar usr/lib/python3 debian/python-notify2.install0000644000000000000000000000002111754271043013464 0ustar usr/lib/python2*