fix control file by using virtual packages cubicweb-version-3.7.0
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 16 Mar 2010 18:10:59 +0100
changeset 4921 270aba1e6fa2
parent 4920 56266c19cead
child 4922 0c9ff7e496ce
child 4924 d2fc161bee3f
fix control file by using virtual packages
debian/control
--- a/debian/control	Tue Mar 16 17:59:50 2010 +0100
+++ b/debian/control	Tue Mar 16 18:10:59 2010 +0100
@@ -34,7 +34,7 @@
 Replaces: cubicweb-multisources
 Provides: cubicweb-multisources
 # postgresql/mysql -client packages for backup/restore of non local database
-Depends: ${python:Depends}, cubicweb-common (= ${source:Version}), cubicweb-ctl (= ${source:Version}), python-logilab-database, (python-psycopg2, postgresql-client) | (python-mysqldb, mysql-client) | python-pysqlite2
+Depends: ${python:Depends}, cubicweb-common (= ${source:Version}), cubicweb-ctl (= ${source:Version}), python-logilab-database, cubicweb-postgresql-support | cubicweb-mysql-support | python-pysqlite2
 Recommends: pyro, cubicweb-documentation (= ${source:Version})
 Description: server part of the CubicWeb framework
  CubicWeb is a semantic web application framework.
@@ -44,6 +44,26 @@
  This package provides the repository server part of the library and
  necessary shared data files such as the schema library.
 
+Package: cubicweb-postgresql-support
+Architecture: all
+# postgresql/mysql -client packages for backup/restore of non local database
+Depends: python-psycopg2, postgresql-client
+Description: postgres support for the CubicWeb framework
+ CubicWeb is a semantic web application framework.
+ .
+ This virtual package provides dependancies to use postgres for the
+ cubicweb repository.
+
+Package: cubicweb-mysql-support
+Architecture: all
+# postgresql/mysql -client packages for backup/restore of non local database
+Depends: python-mysqldb, mysql-client
+Description: mysql support for the CubicWeb framework
+ CubicWeb is a semantic web application framework.
+ .
+ This virtual package provides dependancies to use mysql for the
+ cubicweb repository.
+
 
 Package: cubicweb-twisted
 Architecture: all