From: Nelson Elhage Date: Mon, 13 Aug 2007 22:16:20 +0000 (-0400) Subject: Adding glue to build python packages X-Git-Tag: sipb-xen-database/1~4 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-database.git/commitdiff_plain/14876f476e6c2b4c60d07af692ec020e062aa1f4 Adding glue to build python packages svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=69 --- diff --git a/debian/changelog b/debian/changelog index 64e2758..9499058 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -sipb-xen-database (0) unstable; urgency=low +sipb-xen-database (1) unstable; urgency=low * Initial Release. diff --git a/debian/control b/debian/control index 0df6d21..3e5b372 100644 --- a/debian/control +++ b/debian/control @@ -1,12 +1,26 @@ -Source: sipb-xen-remctl-auto +Source: sipb-xen-database Section: net Priority: extra Maintainer: SIPB Xen Project -Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0) +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0), debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-dev (>= 2.3.5-11), python-support (>= 0.3.2), python-support (>= 0.5.3) Standards-Version: 3.7.2 -Package: sipb-xen-remctl-auto +Package: sipb-xen-database-common Architecture: all -Depends: ${misc:Depends}, remctl-server -Description: Installs the SIPB Xen automatic remctl management system - This is our automatic remctl configuration management system. +Depends: ${misc:Depends}, ${python:Depends}, postgresql-8.1, python-sqlalchemy, python-psycopg2 +Provides: ${python:Provides} +Description: Installs the SIPB Xen database schema files + This contains the python modules to access the SIPB Xen database + +Package: sipb-xen-database-server +Architecture: all +Depends: ${misc:Depends}, postgresql-8.1, python-sqlalchemy, python-psycopg2, sipb-xen-database-common +Description: Installs the SIPB Xen database server + This tracks all the user VMs and is accessed from the VM host + +Package: sipb-xen-database-client +Architecture: all +Depends: ${misc:Depends}, python-sqlalchemy, python-psycopg2, sipb-xen-database-common +Description: Installs the SIPB Xen database configuration file + This is a python xen configuration script that talks to the database + to dynamically load xen domU configuration information diff --git a/debian/control.in b/debian/control.in index 6248641..0b59ba0 100644 --- a/debian/control.in +++ b/debian/control.in @@ -2,16 +2,17 @@ Source: sipb-xen-database Section: net Priority: extra Maintainer: SIPB Xen Project -Build-Depends: @cdbs@ +Build-Depends: @cdbs@, python-support (>= 0.5.3) Standards-Version: 3.7.2 Package: sipb-xen-database-common Architecture: all -Depends: ${misc:Depends}, postgresql-8.1, python-sqlalchemy, python-psycopg2 +Depends: ${misc:Depends}, ${python:Depends}, postgresql-8.1, python-sqlalchemy, python-psycopg2 +Provides: ${python:Provides} Description: Installs the SIPB Xen database schema files This contains the python modules to access the SIPB Xen database - Package: sipb-xen-database-server +Package: sipb-xen-database-server Architecture: all Depends: ${misc:Depends}, postgresql-8.1, python-sqlalchemy, python-psycopg2, sipb-xen-database-common Description: Installs the SIPB Xen database server diff --git a/debian/rules b/debian/rules index 6bf6850..7ad2c34 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,8 @@ #!/usr/bin/make -f DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1 + +DEB_PYTHON_SYSTEM=pysupport + include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk diff --git a/debian/sipb-xen-database-common.install b/debian/sipb-xen-database-common.install new file mode 100644 index 0000000..be6ad81 --- /dev/null +++ b/debian/sipb-xen-database-common.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/python* usr/lib/ diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..b9a3eda --- /dev/null +++ b/setup.py @@ -0,0 +1,5 @@ +from distutils.core import setup +setup(name='sipb_xen_database', + version='0.1', + packages=['sipb_xen_database'], + )