Rename ceo-gui to ceo-python
authorMichael Spang <mspang@csclub.uwaterloo.ca>
Wed, 9 Sep 2009 11:04:49 +0000 (07:04 -0400)
committerMichael Spang <mspang@csclub.uwaterloo.ca>
Thu, 10 Sep 2009 11:30:49 +0000 (07:30 -0400)
debian/.gitignore
debian/ceo-gui.manpages [deleted file]
debian/ceo-python.manpages [new file with mode: 0644]
debian/control
debian/rules
setupd.py [new file with mode: 0755]

index ae1abc1..6ba0e6d 100644 (file)
@@ -2,7 +2,7 @@
 /ceo-common
 /ceo-clients
 /ceo-daemon
-/ceo-gui
+/ceo-python
 /files
 /*.debhelper
 /*.debhelper.log
diff --git a/debian/ceo-gui.manpages b/debian/ceo-gui.manpages
deleted file mode 100644 (file)
index cc4400f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-docs/ceo.1
diff --git a/debian/ceo-python.manpages b/debian/ceo-python.manpages
new file mode 100644 (file)
index 0000000..cc4400f
--- /dev/null
@@ -0,0 +1 @@
+docs/ceo.1
index 47f80b2..df8b6b6 100644 (file)
@@ -11,8 +11,10 @@ Description: Computer Science Club Common Files
  This package contains the CSC Electronic Office
  common files.
 
-Package: ceo-gui
+Package: ceo-python
 Architecture: all
+Replaces: ceo-gui
+Conflicts: ceo-gui
 Depends: ceo-clients, python-ldap, python-urwid, python-sqlobject, python-protobuf, python-psycopg | python-psycopg2, ${python:Depends}, ${shlibs:Depends}
 Description: Computer Science Club Administrative GUI
  This package contains the CSC Electronic Office
@@ -27,7 +29,7 @@ Description: Computer Science Club Administrative Clients
 
 Package: ceo-daemon
 Architecture: any
-Depends: ceo-common, ${shlibs:Depends}
+Depends: ceo-python, ${shlibs:Depends}
 Description: Computer Science Club Administrative Daemon
  This package contains the CSC Electronic Office
  daemon.
index e6d8704..6761d9a 100755 (executable)
@@ -18,7 +18,7 @@ install: build
        dh_testdir
        dh_testroot
        dh_installdirs
-       python setup.py -q install --no-compile -O0 --prefix=/usr --root=debian/ceo-gui
+       python setup.py -q install --no-compile -O0 --prefix=/usr --root=debian/ceo-python
        $(MAKE) -C src DESTDIR=$(CURDIR)/debian/ceo-clients PREFIX=/usr install_clients
        $(MAKE) -C src DESTDIR=$(CURDIR)/debian/ceo-daemon PREFIX=/usr install_daemon
 
diff --git a/setupd.py b/setupd.py
new file mode 100755 (executable)
index 0000000..0ccfee8
--- /dev/null
+++ b/setupd.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+
+from distutils.core import setup
+
+setup(
+    name='ceod',
+    description='CSC Electronic Office Daemon',
+    scripts=['src/op-mysql'],
+)
+