From 79ef2ee0f373698f44a4c099d4097611c65ecbdf Mon Sep 17 00:00:00 2001
From: Evan Broder <broder@mit.edu>
Date: Sun, 22 Nov 2009 16:07:25 -0500
Subject: [PATCH] Update the packaging to build and install the
 invirtibuilder.

svn path=/trunk/packages/invirt-dev/; revision=2548
---
 debian/changelog |    6 ++++++
 debian/control   |    4 ++--
 debian/rules     |    6 +++++-
 3 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ad53a34..fe943e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+invirt-dev (0.1.0) unstable; urgency=low
+
+  * Switch to using git instead of svn.
+
+ -- Evan Broder <broder@mit.edu>  Sun, 22 Nov 2009 13:32:45 -0500
+
 invirt-dev (0.0.14) unstable; urgency=low
 
   * When building an architecture: any package, pass --arch-all to sbuild
diff --git a/debian/control b/debian/control
index fd75a53..4b32573 100644
--- a/debian/control
+++ b/debian/control
@@ -2,11 +2,11 @@ Source: invirt-dev
 Section: servers
 Priority: important
 Maintainer: Invirt project <invirt@mit.edu>
-Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5)
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), python-all-dev, python-support, python-setuptools, python-debian, python-apt
 Standards-Version: 3.7.2
 
 Package: invirt-dev
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, dpkg-dev-el, emacs21, reprepro, apache2, postfix, screen, dh-make, fakeroot, quilt, patchutils, config-package-dev, pbuilder, equivs, invirt-base
+Depends: ${shlibs:Depends}, ${misc:Depends}, dpkg-dev-el, emacs21, reprepro, apache2, postfix, screen, dh-make, fakeroot, quilt, patchutils, config-package-dev, pbuilder, equivs, invirt-base, invirt-database
 Description: Invirt build and apt server
  This packages the build scripts and apt-repository configuration for Invirt.
diff --git a/debian/rules b/debian/rules
index d529eb7..ef4b266 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
 
-
+DEB_PYTHON_SYSTEM=pysupport
 
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+clean::
+	rm -rf python/invirt.builder.egg-info
-- 
1.7.9.5