[Python-modules-commits] r6732 - in packages/enthought-traits-ui/trunk/debian (10 files)
varun at users.alioth.debian.org
varun at users.alioth.debian.org
Sun Oct 26 04:56:49 UTC 2008
Date: Sunday, October 26, 2008 @ 04:56:45
Author: varun
Revision: 6732
* New upstream release
* Rename the package to match upstream naming convention
* debian/control: add python-traits, python-traitsbackendwx |
python-traitsbackendqt to Depends
* Update debian/watch and debian/orig-tar.sh files
Added:
packages/enthought-traits-ui/trunk/debian/examples
(from rev 4900, packages/enthought-traits-ui/trunk/debian/install)
Modified:
packages/enthought-traits-ui/trunk/debian/changelog
packages/enthought-traits-ui/trunk/debian/control
packages/enthought-traits-ui/trunk/debian/copyright
packages/enthought-traits-ui/trunk/debian/docs
packages/enthought-traits-ui/trunk/debian/orig-tar.sh
packages/enthought-traits-ui/trunk/debian/rules
packages/enthought-traits-ui/trunk/debian/watch
Deleted:
packages/enthought-traits-ui/trunk/debian/README.Debian-source
packages/enthought-traits-ui/trunk/debian/install
Deleted: packages/enthought-traits-ui/trunk/debian/README.Debian-source
===================================================================
--- packages/enthought-traits-ui/trunk/debian/README.Debian-source 2008-10-26 04:53:33 UTC (rev 6731)
+++ packages/enthought-traits-ui/trunk/debian/README.Debian-source 2008-10-26 04:56:45 UTC (rev 6732)
@@ -1,22 +0,0 @@
-enthought-traits-ui
-===================
-
-The orig.tar.gz used for packaging enthought-traits-ui has been
-created by merging source tarballs of the following enthought
-projects:
-
- enthought.developer
- enthought.io
- enthought.naming
- enthought.pyface
- enthought.resource
- enthought.sweet_pickle
- enthought.traits.ui.wx
- enthought.type_manager
- enthought.util
-
-Please use the rules/get-orig-source target to create the orig.tar.gz.
-For more details on repackaging of upstream sources please see the
-debian/orig-tar.sh file.
-
- -- Varun Hiremath <varun at debian.org>, Tue, 8 Jan 2008 00:51:24 +0530
Modified: packages/enthought-traits-ui/trunk/debian/changelog
===================================================================
--- packages/enthought-traits-ui/trunk/debian/changelog 2008-10-26 04:53:33 UTC (rev 6731)
+++ packages/enthought-traits-ui/trunk/debian/changelog 2008-10-26 04:56:45 UTC (rev 6732)
@@ -1,3 +1,13 @@
+python-traitsgui (3.0.2-1) experimental; urgency=low
+
+ * New upstream release
+ * Rename the package to match upstream naming convention
+ * debian/control: add python-traits, python-traitsbackendwx |
+ python-traitsbackendqt to Depends
+ * Update debian/watch and debian/orig-tar.sh files
+
+ -- Varun Hiremath <varun at debian.org> Sun, 26 Oct 2008 00:54:16 -0400
+
enthought-traits-ui (2.0.5-1) unstable; urgency=low
* New upstream release
Modified: packages/enthought-traits-ui/trunk/debian/control
===================================================================
--- packages/enthought-traits-ui/trunk/debian/control 2008-10-26 04:53:33 UTC (rev 6731)
+++ packages/enthought-traits-ui/trunk/debian/control 2008-10-26 04:56:45 UTC (rev 6732)
@@ -1,32 +1,33 @@
-Source: enthought-traits-ui
+Source: python-traitsgui
Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Ondrej Certik <ondrej at certik.cz>, Varun Hiremath <varun at debian.org>
Build-Depends: cdbs, debhelper (>= 5), python-all-dev, python-central (>= 0.6), python-setuptools
Standards-Version: 3.8.0
-Homepage: http://code.enthought.com/traits/
+Homepage: http://pypi.python.org/pypi/TraitsGUI
XS-Python-Version: >=2.4
-Vcs-Svn: svn://svn.debian.org/python-modules/packages/enthought-traits-ui/trunk
-Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/enthought-traits-ui/trunk/?op=log
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-traitsgui/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-traitsgui/trunk/?op=log
-Package: python-enthought-traits-ui
+Package: python-traitsgui
Architecture: all
-Depends: ${python:Depends}, python-enthought-traits, python-wxgtk2.6
+Depends: ${python:Depends}, python-traits, python-traitsbackendwx | python-traitsbackendqt, python-wxgtk2.8
+Conflicts: python-enthought-traits-ui (<< 3.0.0)
+Replaces: python-enthought-traits-ui (<< 3.0.0)
XB-Python-Version: ${python:Versions}
-Description: User interface related modules for enthought traits
- Traits lets programmers create special Python attributes called
- traits that support the following:
- * Initialization: A trait attribute can have a default value
- * Validation: A trait attribute is manifestly typed.
- * Delegation: The value of a trait attribute can be contained in another
- object
- * Notification: Setting the value of a trait attribute can fired
- callbacks
- * Visualization: With the TraitsUI package, GUIs can be generated
- automatically from traited objects.
+Description: Traits-capable windowing framework
+ The TraitsGUI project contains a toolkit-independent GUI abstraction layer
+ (known as Pyface), which is used to support the "visualization" features of
+ the Traits package. Thus, you can write code in terms of the Traits API
+ (views, items, editors, etc.), and let TraitsGUI and your selected toolkit
+ and back-end take care of the details of displaying them.
.
- The Traits UI package is a set of GUI (Graphical User Interface)
- tools designed to complement Traits. It is based on the wxPython GUI
- toolkit and implements a Model-View-Controller (MVC) architecture on
- top of traits.
+ You can use Qt or Wx backends.
+
+Package: python-enthought-traits-ui
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, python-traitsgui
+Description: Traits-capable windowing framework (Transition package)
+ This is a dummy package that eases the transition to new
+ python-traitsgui package. It can be removed safely.
Modified: packages/enthought-traits-ui/trunk/debian/copyright
===================================================================
--- packages/enthought-traits-ui/trunk/debian/copyright 2008-10-26 04:53:33 UTC (rev 6731)
+++ packages/enthought-traits-ui/trunk/debian/copyright 2008-10-26 04:56:45 UTC (rev 6732)
@@ -1,4 +1,5 @@
-This package was debianized by Ondrej Certik <ondrej at certik.cz>
+This package was debianized by Ondrej Certik <ondrej at certik.cz> and
+Varun Hiremath <varun at debian.org>
It was downloaded from http://code.enthought.com/downloads/source
@@ -61,6 +62,7 @@
Nuvola: LGPL
Crystal: LGPL
OOo: LGPL
+ GV (Gael Varoquaux): Public Domain
Unless stated explicitly, icons are work of Enthought, and are
released under a 3 clause BSD license.
@@ -288,6 +290,6 @@
a jury trial in any resulting litigation.
---------------------------------------------------------------------------
-The Debian packaging is (C) 2007, Ondrej Certik <ondrej at certik.cz>,
-Varun Hiremath <varunhiremath at gmail.com> and is licensed under the
-GPL, see `/usr/share/common-licenses/GPL'.
+The Debian packaging is (C) 2008, Ondrej Certik <ondrej at certik.cz>,
+Varun Hiremath <varun at debian.org> and is licensed under the GPL, see
+`/usr/share/common-licenses/GPL'.
Modified: packages/enthought-traits-ui/trunk/debian/docs
===================================================================
--- packages/enthought-traits-ui/trunk/debian/docs 2008-10-26 04:53:33 UTC (rev 6731)
+++ packages/enthought-traits-ui/trunk/debian/docs 2008-10-26 04:56:45 UTC (rev 6732)
@@ -1,2 +1 @@
-enthought.pyface/docs/DockWindowFeature.pdf
-enthought.developer/docs/EnthoughtDeveloperToolSuite.pdf
+docs/DockWindowFeature.pdf
Copied: packages/enthought-traits-ui/trunk/debian/examples (from rev 4900, packages/enthought-traits-ui/trunk/debian/install)
===================================================================
--- packages/enthought-traits-ui/trunk/debian/examples (rev 0)
+++ packages/enthought-traits-ui/trunk/debian/examples 2008-10-26 04:56:45 UTC (rev 6732)
@@ -0,0 +1 @@
+examples/*
Property changes on: packages/enthought-traits-ui/trunk/debian/examples
___________________________________________________________________
Name: svn:mergeinfo
+
Deleted: packages/enthought-traits-ui/trunk/debian/install
===================================================================
--- packages/enthought-traits-ui/trunk/debian/install 2008-10-26 04:53:33 UTC (rev 6731)
+++ packages/enthought-traits-ui/trunk/debian/install 2008-10-26 04:56:45 UTC (rev 6732)
@@ -1,3 +0,0 @@
-enthought.pyface/examples/* /usr/share/doc/python-enthought-traits-ui/examples/pyface/
-enthought.naming/examples/* /usr/share/doc/python-enthought-traits-ui/examples/naming/
-enthought.developer/examples/* /usr/share/doc/python-enthought-traits-ui/examples/developer/
Modified: packages/enthought-traits-ui/trunk/debian/orig-tar.sh
===================================================================
--- packages/enthought-traits-ui/trunk/debian/orig-tar.sh 2008-10-26 04:53:33 UTC (rev 6731)
+++ packages/enthought-traits-ui/trunk/debian/orig-tar.sh 2008-10-26 04:56:45 UTC (rev 6732)
@@ -1,43 +1,8 @@
#!/bin/sh -e
-# $1 version
-TAR=../enthought-traits-ui_$1.orig.tar.gz
-DIR=enthought-traits-ui_$1.orig
-
-# package list (latest upstream version)
-PACKAGE_LIST="
-enthought.developer-2.0.4.tar.gz
-enthought.io-2.0.4.tar.gz
-enthought.naming-2.0.4.tar.gz
-enthought.pyface-2.0.4.tar.gz
-enthought.resource-2.0.4.tar.gz
-enthought.sweet_pickle-2.1.0.tar.gz
-enthought.traits.ui.wx-2.0.5.tar.gz
-enthought.type_manager-2.0.4.tar.gz
-enthought.util-2.0.4.tar.gz
-"
-
-# download the tarballs
-REPO=http://code.enthought.com/enstaller/eggs/source/
-mkdir $DIR
-(cd $DIR; \
-for package in $PACKAGE_LIST
-do
- wget $REPO/$package;
- name=`echo $package | sed -e 's/-.*//'`;
- dir=`echo $package | sed -e 's/\.tar.*//'`;
- tar zxf $package;
- mv $dir $name;
- rm $package;
-done )
-
-# create the tarball
-GZIP=--best tar -c -z -f $TAR $DIR
-rm -rf $DIR
-
# move to directory 'tarballs'
if [ -r .svn/deb-layout ]; then
. .svn/deb-layout
- mv $TAR $origDir
- echo "moved $TAR to $origDir"
+ mv $3 $origDir
+ echo "moved $3 to $origDir"
fi
Modified: packages/enthought-traits-ui/trunk/debian/rules
===================================================================
--- packages/enthought-traits-ui/trunk/debian/rules 2008-10-26 04:53:33 UTC (rev 6731)
+++ packages/enthought-traits-ui/trunk/debian/rules 2008-10-26 04:56:45 UTC (rev 6732)
@@ -7,21 +7,17 @@
DEB_COMPRESS_EXCLUDE := .py
DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
+DEB_DESTDIR=$(CURDIR)/debian/python-traitsgui
+PYSHARED=$(DEB_DESTDIR)/`pycentral pycentraldir python-traitsgui`
+EXAMPLES=$(DEB_DESTDIR)/usr/share/doc/python-traitsgui
-clean::
- find -type d | grep build$ | xargs $(RM) -r
+install/python-traitsgui::
+ find $(DEB_DESTDIR) -name 'image_LICENSE.txt' -delete
-python-build-stamp-%:
- for file in $(CURDIR)/*/setup.py; do \
- DIR=`dirname $$file`; \
- cd $$DIR && python$* setup.py build; \
- done
+binary-predeb/python-traitsgui::
+ find $(PYSHARED) -type f | xargs chmod 644
+ find $(EXAMPLES) -type f | xargs sed -i '/^#!/d'
+ find $(EXAMPLES) -type f | xargs chmod 644
-python-install-py:
- for file in $(CURDIR)/*/setup.py; do \
- DIR=`dirname $$file`; \
- cd $$DIR && python$* setup.py install --root $(DEB_DESTDIR); \
- done;
-
get-orig-source:
- sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)
+ -uscan --upstream-version 0 --rename
Modified: packages/enthought-traits-ui/trunk/debian/watch
===================================================================
--- packages/enthought-traits-ui/trunk/debian/watch 2008-10-26 04:53:33 UTC (rev 6731)
+++ packages/enthought-traits-ui/trunk/debian/watch 2008-10-26 04:56:45 UTC (rev 6732)
@@ -1,2 +1,4 @@
version=3
-http://code.enthought.com/enstaller/eggs/source/enthought.traits.ui.wx-(.*)\.tar\.gz
+opts="uversionmangle=s/([ab])/~$1/,dversionmangle=s/\+.*//" \
+http://pypi.python.org/packages/source/T/TraitsGUI/TraitsGUI-(.*).tar.gz \
+debian debian/orig-tar.sh
More information about the Python-modules-commits
mailing list