[Python-modules-commits] r3957 - in packages/enthought-chaco2/trunk/debian (8 files)

varun-guest at users.alioth.debian.org varun-guest at users.alioth.debian.org
Sun Dec 16 08:05:01 UTC 2007


    Date: Sunday, December 16, 2007 @ 08:05:00
  Author: varun-guest
Revision: 3957

* Initial release
* Add debian/orig-tar.sh to create orig.tar.gz
* Merge enable2 and kive into chaco2
* Install examples and docs

Added:
  packages/enthought-chaco2/trunk/debian/install
  packages/enthought-chaco2/trunk/debian/orig-tar.sh
Modified:
  packages/enthought-chaco2/trunk/debian/changelog
  packages/enthought-chaco2/trunk/debian/control
  packages/enthought-chaco2/trunk/debian/copyright
  packages/enthought-chaco2/trunk/debian/docs
  packages/enthought-chaco2/trunk/debian/rules
Deleted:
  packages/enthought-chaco2/trunk/debian/examples

Modified: packages/enthought-chaco2/trunk/debian/changelog
===================================================================
--- packages/enthought-chaco2/trunk/debian/changelog	2007-12-16 03:02:27 UTC (rev 3956)
+++ packages/enthought-chaco2/trunk/debian/changelog	2007-12-16 08:05:00 UTC (rev 3957)
@@ -1,7 +1,10 @@
 enthought-chaco2 (2.0.1b1-1) UNRELEASED; urgency=low
 
   [ Varun Hiremath ]
-  * Initial upload to Debian.
+  * Initial release
+  * Add debian/orig-tar.sh to create orig.tar.gz
+  * Merge enable2 and kive into chaco2
+  * Install examples and docs
 
   [ Kumar Appaiah ]
   * debian/control:
@@ -9,5 +12,5 @@
   * debian/pyversions: Set for Python 2.4 onwards.
   * debian/copyright:
     + Use proposed machine readable format.
-  
+
  -- Varun Hiremath <varunhiremath at gmail.com>  Sun, 02 Dec 2007 22:59:17 +0530

Modified: packages/enthought-chaco2/trunk/debian/control
===================================================================
--- packages/enthought-chaco2/trunk/debian/control	2007-12-16 03:02:27 UTC (rev 3956)
+++ packages/enthought-chaco2/trunk/debian/control	2007-12-16 08:05:00 UTC (rev 3957)
@@ -4,15 +4,14 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Varun Hiremath <varunhiremath at gmail.com>
 Build-Depends: cdbs, debhelper(>= 5), python-all-dev, python-support, python-setuptools
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
 Homepage: http://code.enthought.com/chaco/
-Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/enthought-chaco/trunk
-Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/enthought-chaco/trunk/
+Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/enthought-chaco2/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/enthought-chaco2/trunk/
 
 Package: python-enthought-chaco2
 Architecture: any
-Depends: ${python:Depends}, python-numpy, python-enthought-enable2,
- python-enthought-kiva, python-enthought-traits-ui
+Depends: ${python:Depends}, python-numpy, python-enthought-traits-ui
 XB-Python-Version: ${python:Versions}
 Description: interactive plotting application toolkit 
  Chaco is a Python plot application toolkit. It is meant to facilitate

Modified: packages/enthought-chaco2/trunk/debian/copyright
===================================================================
--- packages/enthought-chaco2/trunk/debian/copyright	2007-12-16 03:02:27 UTC (rev 3956)
+++ packages/enthought-chaco2/trunk/debian/copyright	2007-12-16 08:05:00 UTC (rev 3957)
@@ -2,7 +2,7 @@
 
 Upstream Author: Enthought, Inc <info at enthought.com>
 
-Copyright: (c) 2006, Enthought, Inc. <info at enthought.com>
+Copyright: © 2006, Enthought, Inc. <info at enthought.com>
 
 Files: debian/*
 Copyright: © 2007, Varun Hiremath <varunhiremath at gmail.com>
@@ -10,7 +10,7 @@
  The Debian packaging information is under the GPL, version 2.
 
 Files chaco2/*
-Copyright: 2006, 2007, Enthought, Inc. <info at enthought.com>
+Copyright: © 2006, 2007 Enthought, Inc. <info at enthought.com>
 License: other-BSD
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are met:

Modified: packages/enthought-chaco2/trunk/debian/docs
===================================================================
--- packages/enthought-chaco2/trunk/debian/docs	2007-12-16 03:02:27 UTC (rev 3956)
+++ packages/enthought-chaco2/trunk/debian/docs	2007-12-16 08:05:00 UTC (rev 3957)
@@ -1,2 +1,2 @@
-docs/*.pdf
-docs/*.txt
+enthought.chaco2/docs/*.pdf
+enthought.chaco2/docs/*.txt

Deleted: packages/enthought-chaco2/trunk/debian/examples
===================================================================
--- packages/enthought-chaco2/trunk/debian/examples	2007-12-16 03:02:27 UTC (rev 3956)
+++ packages/enthought-chaco2/trunk/debian/examples	2007-12-16 08:05:00 UTC (rev 3957)
@@ -1 +0,0 @@
-examples/*

Added: packages/enthought-chaco2/trunk/debian/install
===================================================================
--- packages/enthought-chaco2/trunk/debian/install	                        (rev 0)
+++ packages/enthought-chaco2/trunk/debian/install	2007-12-16 08:05:00 UTC (rev 3957)
@@ -0,0 +1,3 @@
+enthought.chaco2/examples/*		/usr/share/doc/python-enthought-chaco2/examples/chaco2/
+enthought.enable2/examples/*		/usr/share/doc/python-enthought-chaco2/examples/enable2/
+enthought.kiva/examples/*		/usr/share/doc/python-enthought-chaco2/examples/kiva/

Added: packages/enthought-chaco2/trunk/debian/orig-tar.sh
===================================================================
--- packages/enthought-chaco2/trunk/debian/orig-tar.sh	                        (rev 0)
+++ packages/enthought-chaco2/trunk/debian/orig-tar.sh	2007-12-16 08:05:00 UTC (rev 3957)
@@ -0,0 +1,37 @@
+#!/bin/sh -e
+
+# $1 version
+TAR=../enthought-chaco2_$1.orig.tar.gz
+DIR=enthought-chaco2_$1.orig
+
+# package list
+PACKAGE_LIST="
+enthought.chaco2-2.0.1b1.tar.gz
+enthought.enable2-2.0.1b1.tar.gz
+enthought.kiva-2.0.0b2.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"
+fi


Property changes on: packages/enthought-chaco2/trunk/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: packages/enthought-chaco2/trunk/debian/rules
===================================================================
--- packages/enthought-chaco2/trunk/debian/rules	2007-12-16 03:02:27 UTC (rev 3956)
+++ packages/enthought-chaco2/trunk/debian/rules	2007-12-16 08:05:00 UTC (rev 3957)
@@ -1,5 +1,4 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
 
 DEB_PYTHON_SYSTEM=pysupport
 
@@ -8,17 +7,34 @@
 
 DEB_COMPRESS_EXCLUDE		:= .py
 DEB_PYTHON_INSTALL_ARGS_ALL 	+= --single-version-externally-managed
-
 SITE_PACKAGES=$(DEB_DESTDIR)usr/share/python-support/python-enthought-chaco2
 EXAMPLES=$(DEB_DESTDIR)/usr/share/doc/python-enthought-chaco2/examples
 
+clean::
+	find -type d | grep build$ | xargs $(RM) -r
+	$(RM) debian/python-build-stamp-*
+
+python-build-stamp-%:
+	for file in $(CURDIR)/*/setup.py; do \
+	  DIR=`dirname $$file`; \
+	  cd $$DIR && python$* setup.py build; \
+	done;
+	touch $@
+
+python-install-%:
+	for file in $(CURDIR)/*/setup.py; do \
+	  DIR=`dirname $$file`; \
+	  cd $$DIR && python$* setup.py install --root $(DEB_DESTDIR); \
+	done;
+
 binary-predeb/python-enthought-chaco2::
 	$(RM) $(SITE_PACKAGES)/enthought/chaco2/LICENSE
-	sed -i '/^#!/d' $(SITE_PACKAGES)/enthought/chaco2/contour/setup.py
+	$(RM) $(SITE_PACKAGES)/enthought/kiva/fonttools/fontTools/LICENSE.txt
+	find $(SITE_PACKAGES) -type f | xargs sed -i '/^#!/d'
 	find $(SITE_PACKAGES) -type f | xargs chmod 644
 	find $(EXAMPLES) -type f | xargs sed -i '/^#!/d'
 	find $(EXAMPLES) -type f | xargs chmod 644
 
 .PHONY: get-orig-source
 get-orig-source:
-	-uscan --upstream-version 0 --rename 
+	sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)




More information about the Python-modules-commits mailing list