# HG changeset patch # User Denis Laxalde # Date 1561042979 -7200 # Node ID 2337c8c056576e5e6d93b8f70eb13e1fb6098e67 # Parent 23e957f0f6d693567cf4f2a1959032258598011f [debian] Introduce python3-cubicweb and python3-cubicweb-pyramid binary packages This is the bare minimum to have a working cubicweb on python3. Further work is done in default branch. diff -r 23e957f0f6d6 -r 2337c8c05657 debian/changelog --- a/debian/changelog Mon Jun 10 10:51:31 2019 +0200 +++ b/debian/changelog Thu Jun 20 17:02:59 2019 +0200 @@ -1,6 +1,7 @@ cubicweb (3.26.11-2) UNRELEASED; urgency=medium * Remove build dependency on dh-systemd + * Build python3 basic packages -- Denis Laxalde Tue, 25 Jun 2019 16:38:09 +0200 diff -r 23e957f0f6d6 -r 2337c8c05657 debian/control --- a/debian/control Mon Jun 10 10:51:31 2019 +0200 +++ b/debian/control Thu Jun 20 17:02:59 2019 +0200 @@ -9,10 +9,14 @@ dh-python, python-all, python-setuptools, - python-sphinx + python-sphinx, + python3-all, + python3-setuptools, + python3-sphinx, Standards-Version: 3.9.6 Homepage: https://www.cubicweb.org X-Python-Version: >= 2.7 +X-Python3-Version: >= 3.4 Package: python-cubicweb @@ -101,6 +105,56 @@ packages on the different hosts. +Package: python3-cubicweb +Architecture: all +Depends: + ${misc:Depends}, + ${python3:Depends}, + python3-six (>= 1.4.0), + python3-logilab-mtconverter (>= 0.8.0), + python3-logilab-common (>= 1.4.0), + python3-logilab-database (>= 1.15.0), + python3-yams (>= 0.45.0), + python3-rql (>= 0.34.0), + python3-unittest2 (>= 0.7.0), + python3-lxml, + python3-markdown, + python3-passlib, + python3-tz, + graphviz, + gettext, +Recommends: + cubicweb-ctl (= ${source:Version}), + python3-cubicweb-postgresql-support (= ${source:Version}) + | sqlite3, + python3-cubicweb-pyramid (= ${source:Version}), +# common recommends + python3-simpletal (>= 4.0), + python3-crypto, +# web recommends (mostly) + python3-docutils (>= 0.6), + python3-vobject, + fckeditor, + python3-fyzz, + python3-imaging, + python3-rdflib, + python3-werkzeug, +# dev recommends + python3-pysqlite2, +Suggests: + python3-zmq, + python3-cwclientlib (>= 0.4.0), + w3c-dtd-xhtml, + xvfb, +Description: CubicWeb framework (Python 3) + CubicWeb is a semantic web application framework. + . + This package will install all the components you need to run cubicweb on a + 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-postgresql-support Architecture: all # postgresql-client packages for backup/restore of non local database @@ -119,6 +173,21 @@ cubicweb repository. +Package: python3-cubicweb-postgresql-support +Architecture: all +# postgresql-client packages for backup/restore of non local database +Depends: + ${misc:Depends}, + ${python3:Depends}, + python3-psycopg2, + postgresql-client +Description: postgres support for the CubicWeb framework (Python 3) + CubicWeb is a semantic web application framework. + . + This virtual package provides dependencies to use PostgreSQL for the + cubicweb repository. + + Package: python-cubicweb-twisted Architecture: all Depends: @@ -150,6 +219,21 @@ Provides pyramid extensions to load a CubicWeb instance and serve it through the pyramid stack. +Package: python3-cubicweb-pyramid +Architecture: all +Depends: + python3-cubicweb (= ${source:Version}), + python3-pyramid (>= 1.5.0), + python3-pyramid-multiauth, + python3-waitress (>= 0.8.9), + python3-wsgicors, + python3-repoze.lru, +Recommends: + python3-pyramid-debugtoolbar +Description: meta package to use Pyramid as HTTP server for CubicWeb (Python 3) + Provides pyramid extensions to load a CubicWeb instance and serve it through + the pyramid stack. + Package: cubicweb-ctl Architecture: all diff -r 23e957f0f6d6 -r 2337c8c05657 debian/python3-cubicweb.lintian-overrides --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/python3-cubicweb.lintian-overrides Thu Jun 20 17:02:59 2019 +0200 @@ -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 diff -r 23e957f0f6d6 -r 2337c8c05657 debian/rules --- a/debian/rules Mon Jun 10 10:51:31 2019 +0200 +++ b/debian/rules Thu Jun 20 17:02:59 2019 +0200 @@ -10,7 +10,7 @@ export PYBUILD_DISABLE_python3=test %: - dh $@ --with python2,sphinxdoc --buildsystem=pybuild + dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild override_dh_auto_build: export http_proxy=127.0.0.1:9 override_dh_auto_build: export https_proxy=127.0.0.1:9