# HG changeset patch # User Denis Laxalde # Date 1479475563 -3600 # Node ID 1212f0fa2d4292790a5b3cf24233788889bc171f # Parent e8be49ecb522d60627e8bdbeaf5c635a8c5bd35a [debian] Have a single python-cubicweb binary for the library But keep distinct meta-packages for dependencies of the HTTP server (Twisted/Pyramid) and database backend. Related to #16133259. diff -r e8be49ecb522 -r 1212f0fa2d42 debian/changelog --- a/debian/changelog Tue Nov 15 10:13:47 2016 +0100 +++ b/debian/changelog Fri Nov 18 14:26:03 2016 +0100 @@ -2,9 +2,9 @@ * New upstream release. - * Rename binary packages to python-xxx (but cubicweb-ctl). - - * New python-cubicweb-pyramid binary package. + * Ship the CubicWeb library in a single binary package python-cubicweb. Yet + keep meta packages for dependencies on the HTTP server (Pyramid or + Twisted) and the database backend. * Remove cubicweb-mysql-support. diff -r e8be49ecb522 -r 1212f0fa2d42 debian/control --- a/debian/control Tue Nov 15 10:13:47 2016 +0100 +++ b/debian/control Fri Nov 18 14:26:03 2016 +0100 @@ -35,16 +35,81 @@ Package: python-cubicweb Architecture: all -Replaces: cubicweb (<< 3.24.0-1~) -Breaks: cubicweb (<< 3.24.0-1~) -Provides: cubicweb Depends: + ${misc:Depends}, + ${python:Depends}, + python-six (>= 1.4.0), + python-logilab-mtconverter (>= 0.8.0), + python-logilab-common (>= 1.2.0), + python-logilab-database (>= 1.15.0), + python-yams (>= 0.44.0), + python-rql (>= 0.34.0), + python-lxml, + python-markdown, + python-passlib, + python-tz, + graphviz, + gettext, +Recommends: cubicweb-ctl (= ${source:Version}), - python-cubicweb-server (= ${source:Version}), + python-cubicweb-postgresql-support (= ${source:Version}) + | sqlite3, python-cubicweb-pyramid (= ${source:Version}), -Recommends: - python-cubicweb-postgresql-support (= ${source:Version}) - | sqlite3 +# common recommends + python-simpletal (>= 4.0), + python-crypto, +# web recommends (mostly) + python-docutils (>= 0.6), + python-vobject, + fckeditor, + python-fyzz, + python-imaging, + python-rdflib, + python-werkzeug, +# dev recommends + python-unittest2 (>= 0.7.0), + python-pysqlite2, +Suggests: + python-zmq, + python-cwclientlib (>= 0.4.0), + python-cubicweb-twisted (= ${source:Version}), + python-cubicweb-documentation (= ${source:Version}), + w3c-dtd-xhtml, + xvfb, +Replaces: + cubicweb (<< 3.24.0-1~), + cubicweb-server (<< 3.24.0-1~), + cubicweb-twisted (<< 3.24.0-1~), + cubicweb-web (<< 3.24.0-1~), + cubicweb-core, + cubicweb-common (<< 3.24.0-1~), +Breaks: + cubicweb (<< 3.24.0-1~), + cubicweb-server (<< 3.24.0-1~), + cubicweb-twisted (<< 3.24.0-1~), + cubicweb-inlinedit (<< 1.1.1), + cubicweb-bootstrap (<< 0.6.6), + cubicweb-folder (<< 1.10.0), + cubicweb-web (<< 3.24.0-1~), + cubicweb-comment (<< 1.9.1), + cubicweb-person (<< 1.8.0), + cubicweb-geocoding (<< 0.2.0), + cubicweb-invoice (<< 0.6.1), + cubicweb-mercurial-server (<< 0.4.2), + cubicweb-forgotpwd (<< 0.4.3), + cubicweb-registration (<< 0.4.3), + cubicweb-vcsfile (<< 1.15.0), + cubicweb-bootstrap (<< 0.6), + cubicweb-common (<< 3.24.0-1~), +Provides: + cubicweb, + cubicweb-server, + cubicweb-web-frontend, + cubicweb-web, + cubicweb-common, +Conflicts: + cubicweb-multisources, + cubicweb-core, Description: the complete CubicWeb framework CubicWeb is a semantic web application framework. . @@ -52,37 +117,6 @@ single machine. You can also deploy cubicweb by running the different process on different computers, in which case you need to install the corresponding packages on the different hosts. - - -Package: python-cubicweb-server -Architecture: all -Conflicts: - cubicweb-multisources, -Replaces: cubicweb-server (<< 3.24.0-1~) -Breaks: cubicweb-server (<< 3.24.0-1~) -Provides: cubicweb-server -Depends: - ${misc:Depends}, - ${python:Depends}, - cubicweb-ctl (= ${source:Version}), - python-cubicweb-common (= ${source:Version}), - python-cubicweb-postgresql-support - | python-pysqlite2, - python-logilab-database (>= 1.15.0), - python-passlib, - python-tz, -Recommends: - python-cubicweb-documentation (= ${source:Version}), -Suggests: - python-zmq, - python-cwclientlib (>= 0.4.0), -Description: server part of the CubicWeb framework - CubicWeb is a semantic web application framework. - . - This package provides the repository server part of the system. - . - This package provides the repository server part of the library and - necessary shared data files such as the schema library. Package: python-cubicweb-postgresql-support @@ -99,41 +133,26 @@ Description: postgres support for the CubicWeb framework CubicWeb is a semantic web application framework. . - This virtual package provides dependencies to use postgres for the + This virtual package provides dependencies to use PostgreSQL for the cubicweb repository. Package: python-cubicweb-twisted Architecture: all -Replaces: cubicweb-twisted (<< 3.24.0-1~) -Breaks: cubicweb-twisted (<< 3.24.0-1~) -Provides: - cubicweb-server, - cubicweb-web-frontend, Depends: - ${misc:Depends}, - ${python:Depends}, - cubicweb-ctl (= ${source:Version}), - python-cubicweb-web (= ${source:Version}), + python-cubicweb (= ${source:Version}), python-twisted-web (<< 16.0.0), -Recommends: - python-cubicweb-documentation (= ${source:Version}) -Description: twisted-based web interface for the CubicWeb framework +Description: meta package to use Twisted as HTTP server for CubicWeb CubicWeb is a semantic web application framework. . - This package provides a twisted based HTTP server to serve - the adaptative web interface (see cubicweb-web package). - . - This package provides only the twisted server part of the library. + This package includes dependencies to run a Twisted based HTTP server to serve + the adaptative web interface. Package: python-cubicweb-pyramid Architecture: all Depends: - ${misc:Depends}, - ${python:Depends}, - cubicweb-ctl (= ${source:Version}), - python-cubicweb-web (= ${source:Version}), + python-cubicweb (= ${source:Version}), python-pyramid (>= 1.5.0), python-pyramid-multiauth, python-waitress (>= 0.8.9), @@ -144,83 +163,9 @@ pyramid-cubicweb Replaces: pyramid-cubicweb -Description: Integrate CubicWeb with a Pyramid application +Description: meta package to use Pyramid as HTTP server for CubicWeb Provides pyramid extensions to load a CubicWeb instance and serve it through the pyramid stack. - . - It prefigures what CubicWeb 4.0 will be. - - -Package: python-cubicweb-web -Architecture: all -Provides: cubicweb-web -Replaces: cubicweb-web (<< 3.24.0-1~) -Breaks: - cubicweb-inlinedit (<< 1.1.1), - cubicweb-bootstrap (<< 0.6.6), - cubicweb-folder (<< 1.10.0), - cubicweb-web (<< 3.24.0-1~), -Depends: - ${misc:Depends}, - ${python:Depends}, - python-cubicweb-common (= ${source:Version}), -Recommends: - python-docutils (>= 0.6), - python-vobject, - fckeditor, - python-fyzz, - python-imaging, - python-rdflib, - python-werkzeug, -Description: web interface library for the CubicWeb framework - CubicWeb is a semantic web application framework. - . - This package provides an adaptative web interface to the CubicWeb server. - It also ships a WSGI interface for CubicWeb instances. - Install the cubicweb-twisted package to serve this interface via HTTP. - . - This package provides the web interface part of the library and - necessary shared data files such as defaut views, images... - - -Package: python-cubicweb-common -Architecture: all -Depends: - ${misc:Depends}, - ${python:Depends}, - graphviz, - gettext, - python-six (>= 1.4.0), - python-logilab-mtconverter (>= 0.8.0), - python-logilab-common (>= 1.2.0), - python-markdown, - python-yams (>= 0.44.0), - python-rql (>= 0.34.0), - python-lxml -Recommends: - python-simpletal (>= 4.0), - python-crypto -Conflicts: cubicweb-core -Provides: cubicweb-common -Replaces: - cubicweb-core, - cubicweb-common (<< 3.24.0-1~), -Breaks: - cubicweb-comment (<< 1.9.1), - cubicweb-person (<< 1.8.0), - cubicweb-geocoding (<< 0.2.0), - cubicweb-invoice (<< 0.6.1), - cubicweb-mercurial-server (<< 0.4.2), - cubicweb-forgotpwd (<< 0.4.3), - cubicweb-registration (<< 0.4.3), - cubicweb-vcsfile (<< 1.15.0), - cubicweb-bootstrap (<< 0.6), - cubicweb-common (<< 3.24.0-1~), -Description: common library for the CubicWeb framework - CubicWeb is a semantic web application framework. - . - This package provides the common parts of the library used by both server - code and web application code. Package: cubicweb-ctl @@ -228,7 +173,7 @@ Depends: ${misc:Depends}, ${python:Depends}, - python-cubicweb-common (= ${source:Version}) + python-cubicweb (= ${source:Version}) Description: tool to manage the CubicWeb framework CubicWeb is a semantic web application framework. . @@ -237,29 +182,6 @@ to automatically start and stop CubicWeb applications on boot or shutdown. -Package: python-cubicweb-dev -Architecture: all -Replaces: cubicweb-dev (<< 3.24.0-1~) -Breaks: cubicweb-dev (<< 3.24.0-1~) -Provides: cubicweb-dev -Depends: - ${misc:Depends}, - ${python:Depends}, - python-cubicweb-server (= ${source:Version}), - python-cubicweb-web (= ${source:Version}), - python-cubicweb-pyramid (= ${source:Version}), - python-unittest2 (>= 0.7.0), - python-pysqlite2 -Suggests: - w3c-dtd-xhtml, - xvfb -Description: tests suite and development tools for the CubicWeb framework - CubicWeb is a semantic web application framework. - . - This package provides the CubicWeb tests suite and some development tools - helping in the creation of application. - - Package: python-cubicweb-documentation Architecture: all Section: doc @@ -294,7 +216,7 @@ Priority: extra Section: oldlibs Depends: - python-cubicweb-server, ${misc:Depends} + python-cubicweb, ${misc:Depends} Description: transitional package This is a transitional package. It can safely be removed. @@ -324,7 +246,7 @@ Priority: extra Section: oldlibs Depends: - python-cubicweb-web, ${misc:Depends} + python-cubicweb, ${misc:Depends} Description: transitional package This is a transitional package. It can safely be removed. @@ -334,7 +256,7 @@ Priority: extra Section: oldlibs Depends: - python-cubicweb-common, ${misc:Depends} + python-cubicweb, ${misc:Depends} Description: transitional package This is a transitional package. It can safely be removed. @@ -344,7 +266,7 @@ Priority: extra Section: oldlibs Depends: - python-cubicweb-dev, ${misc:Depends} + python-cubicweb, ${misc:Depends} Description: transitional package This is a transitional package. It can safely be removed. @@ -357,5 +279,3 @@ python-cubicweb-documentation, ${misc:Depends} Description: transitional package This is a transitional package. It can safely be removed. - - diff -r e8be49ecb522 -r 1212f0fa2d42 debian/cubicweb-ctl.install --- a/debian/cubicweb-ctl.install Tue Nov 15 10:13:47 2016 +0100 +++ b/debian/cubicweb-ctl.install Fri Nov 18 14:26:03 2016 +0100 @@ -1,2 +1,1 @@ -usr/lib/python2*/*-packages/cubicweb/cwctl.py usr/bin/cubicweb-ctl diff -r e8be49ecb522 -r 1212f0fa2d42 debian/python-cubicweb-common.install --- a/debian/python-cubicweb-common.install Tue Nov 15 10:13:47 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -usr/lib/python2*/*-packages/cubicweb/entities/ -usr/lib/python2*/*-packages/cubicweb/ext/ -usr/share/cubicweb/cubes/ -usr/lib/python2*/*-packages/cubicweb/*.py diff -r e8be49ecb522 -r 1212f0fa2d42 debian/python-cubicweb-dev.install --- a/debian/python-cubicweb-dev.install Tue Nov 15 10:13:47 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -usr/lib/python2*/*-packages/cubicweb/devtools/ -usr/lib/python2*/*-packages/cubicweb/skeleton/ -usr/lib/python2*/*-packages/cubicweb/test -usr/lib/python2*/*-packages/cubicweb/dataimport/test -usr/lib/python2*/*-packages/cubicweb/entities/test -usr/lib/python2*/*-packages/cubicweb/ext/test -usr/lib/python2*/*-packages/cubicweb/server/test -usr/lib/python2*/*-packages/cubicweb/sobjects/test -usr/lib/python2*/*-packages/cubicweb/hooks/test -usr/lib/python2*/*-packages/cubicweb/web/test -usr/lib/python2*/*-packages/cubicweb/etwist/test diff -r e8be49ecb522 -r 1212f0fa2d42 debian/python-cubicweb-dev.lintian-overrides --- a/debian/python-cubicweb-dev.lintian-overrides Tue Nov 15 10:13:47 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -missing-dep-for-interpreter make => make | build-essential | dpkg-dev (usr/*/cubicweb/skeleton/debian/rules) diff -r e8be49ecb522 -r 1212f0fa2d42 debian/python-cubicweb-server.install --- a/debian/python-cubicweb-server.install Tue Nov 15 10:13:47 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -usr/lib/python2*/*-packages/cubicweb/dataimport/ -usr/lib/python2*/*-packages/cubicweb/server/ -usr/lib/python2*/*-packages/cubicweb/hooks/ -usr/lib/python2*/*-packages/cubicweb/sobjects/ -usr/lib/python2*/*-packages/cubicweb/schemas/ -usr/share/cubicweb/migration/ diff -r e8be49ecb522 -r 1212f0fa2d42 debian/python-cubicweb-twisted.install --- a/debian/python-cubicweb-twisted.install Tue Nov 15 10:13:47 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -usr/lib/python2*/*-packages/cubicweb/etwist/ diff -r e8be49ecb522 -r 1212f0fa2d42 debian/python-cubicweb-web.install --- a/debian/python-cubicweb-web.install Tue Nov 15 10:13:47 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -usr/lib/python2*/*-packages/cubicweb/web -usr/lib/python2*/*-packages/cubicweb/wsgi -usr/share/cubicweb/cubes/shared/data -usr/share/cubicweb/cubes/shared/wdoc diff -r e8be49ecb522 -r 1212f0fa2d42 debian/python-cubicweb-web.lintian-overrides --- a/debian/python-cubicweb-web.lintian-overrides Tue Nov 15 10:13:47 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -cubicweb-web: embedded-javascript-library usr/share/cubicweb/cubes/shared/data/jquery.js diff -r e8be49ecb522 -r 1212f0fa2d42 debian/python-cubicweb.install --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/python-cubicweb.install Fri Nov 18 14:26:03 2016 +0100 @@ -0,0 +1,2 @@ +usr/lib/python2*/*-packages/cubicweb/* +usr/share/cubicweb/cubes/ diff -r e8be49ecb522 -r 1212f0fa2d42 debian/python-cubicweb.lintian-overrides --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/python-cubicweb.lintian-overrides Fri Nov 18 14:26:03 2016 +0100 @@ -0,0 +1,2 @@ +missing-dep-for-interpreter make => make | build-essential | dpkg-dev (usr/*/cubicweb/skeleton/debian/rules) +embedded-javascript-library usr/share/cubicweb/cubes/shared/data/jquery.js