--- python-apptools-3.1.0.orig/debian/changelog +++ python-apptools-3.1.0/debian/changelog @@ -0,0 +1,26 @@ +python-apptools (3.1.0-1ubuntu1) jaunty; urgency=low + + * enthought/preferences/scoped_preferences.py: add patch from Gael Varoquaux to avoid + depreciation warnings raised due to usage of Sets module. (LP: #350521) + + -- Andrea Colangelo Sat, 28 Mar 2009 21:01:01 +0100 + +python-apptools (3.1.0-1) unstable; urgency=low + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + [ Varun Hiremath ] + * New upstream release + * debian/control: + + add python-setupdocs to Build-Depends + + set XS-Python-Version: current + + -- Varun Hiremath Sun, 28 Dec 2008 22:29:25 -0500 + +python-apptools (3.0.0-1) experimental; urgency=low + + * Initial release + + -- Varun Hiremath Sun, 26 Oct 2008 00:58:08 -0400 --- python-apptools-3.1.0.orig/debian/docs +++ python-apptools-3.1.0/debian/docs @@ -0,0 +1 @@ +enthought.traits/docs/*.pdf --- python-apptools-3.1.0.orig/debian/orig-tar.sh +++ python-apptools-3.1.0/debian/orig-tar.sh @@ -0,0 +1,8 @@ +#!/bin/sh -e + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $3 $origDir + echo "moved $3 to $origDir" +fi --- python-apptools-3.1.0.orig/debian/rules +++ python-apptools-3.1.0/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM=pycentral + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk + +DEB_COMPRESS_EXCLUDE := .py +DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed + +install/python-apptools:: + find $(DEB_DESTDIR) -name 'image_LICENSE.txt' -delete + +get-orig-source: + -uscan --upstream-version 0 --rename --- python-apptools-3.1.0.orig/debian/pycompat +++ python-apptools-3.1.0/debian/pycompat @@ -0,0 +1 @@ +2 --- python-apptools-3.1.0.orig/debian/examples +++ python-apptools-3.1.0/debian/examples @@ -0,0 +1 @@ +examples/* --- python-apptools-3.1.0.orig/debian/watch +++ python-apptools-3.1.0/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts="uversionmangle=s/([ab])/~$1/,dversionmangle=s/\+.*//" \ +http://pypi.python.org/packages/source/A/AppTools/AppTools-(.*).tar.gz \ +debian debian/orig-tar.sh --- python-apptools-3.1.0.orig/debian/copyright +++ python-apptools-3.1.0/debian/copyright @@ -0,0 +1,58 @@ +This package was debianized by Varun Hiremath on +Fri, 26 Sep 2008 17:51:35 -0400 + +It was downloaded from http://pypi.python.org/pypi/AppTools + +Upstream Author: Enthought, Inc. + +Copyright: (c) 2003-2008, Enthought, Inc. All rights reserved. + (c) 2008, Riverbank Computing Limited + +License: + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * 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. + * Neither the name of Enthought, Inc. 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 COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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. + +--------------------------------------------------------------------------- + +Icon License: + +The icons are mostly derived work from other icons. As such they are +licensed accordingly to the original license: + + GV (Gael Varoquaux): BSD-like + Enthought: BSD-like + Nuvola: LGPL + OOo: LGPL + +Unless stated explicitly, icons are work of enthought, and are +released under a 3 clause BSD license. + +On Debian systems, the complete text of the LGPL License can be +found in `/usr/share/common-licenses/LGPL'. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. + +--------------------------------------------------------------------------- +The Debian packaging is (C) 2008 Varun Hiremath and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- python-apptools-3.1.0.orig/debian/control +++ python-apptools-3.1.0/debian/control @@ -0,0 +1,22 @@ +Source: python-apptools +Section: python +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Debian Python Modules Team +Uploaders: Varun Hiremath +Build-Depends: cdbs, debhelper (>= 6), python-all-dev, python-central (>= 0.6), python-setupdocs +Standards-Version: 3.8.0 +Homepage: http://pypi.python.org/pypi/AppTools +XS-Python-Version: current +Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-apptools/trunk +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-apptools/trunk/ + +Package: python-apptools +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-traitsgui +Conflicts: mayavi2 (<< 3.0.0) +XB-Python-Version: ${python:Versions} +Description: ETS Application Tools + The AppTools project includes a set of packages that Enthought has + found useful in creating a number of applications. They implement + functionality that is commonly needed by many applications. --- python-apptools-3.1.0.orig/debian/compat +++ python-apptools-3.1.0/debian/compat @@ -0,0 +1 @@ +5 --- python-apptools-3.1.0.orig/enthought/preferences/scoped_preferences.py +++ python-apptools-3.1.0/enthought/preferences/scoped_preferences.py @@ -3,7 +3,12 @@ # Standard library imports. from os.path import join -import sets +# Define set for old python versions +import __builtin__ +if not hasattr(__builtin__, 'set'): + import sets + set = sets.Set +del __builtin__ # Enthought library imports. from enthought.etsconfig.api import ETSConfig @@ -170,7 +175,7 @@ else: nodes = self.scopes - keys = sets.Set() + keys = set() for node in nodes: keys.update(node.node(path).keys()) @@ -227,7 +232,7 @@ else: nodes = self.scopes - names = sets.Set() + names = set() for node in nodes: names.update(node.node(path).node_names())