[IMP] debian: build package for python 3.5
* Add a minimum systemd service file
This commit is contained in:
Vendored
+31
-34
@@ -3,9 +3,8 @@ Section: net
|
||||
Priority: optional
|
||||
Maintainer: Odoo S.A. <info@odoo.com>
|
||||
Uploaders: Aaron Bohy <aab@odoo.com>, Simon Lejeune <sle@odoo.com>
|
||||
Build-Depends: debhelper (>= 9.0), python, rsync
|
||||
X-Python-Version: 2.7
|
||||
Standards-Version: 3.9.5.0
|
||||
Build-Depends: debhelper (>= 9.2), dh-python, python3, rsync, python3-setuptools
|
||||
Standards-Version: 3.9.8
|
||||
Homepage: http://www.odoo.com/
|
||||
Vcs-Git: https://github.com/odoo/odoo
|
||||
|
||||
@@ -13,40 +12,38 @@ Package: odoo
|
||||
Architecture: all
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${python3:Depends},
|
||||
adduser,
|
||||
lsb-base,
|
||||
node-less,
|
||||
postgresql-client,
|
||||
python,
|
||||
python-babel,
|
||||
python-dateutil,
|
||||
python-decorator,
|
||||
python-docutils,
|
||||
python-feedparser,
|
||||
python-imaging,
|
||||
python-jinja2,
|
||||
python-ldap,
|
||||
python-libxslt1,
|
||||
python-lxml,
|
||||
python-mako,
|
||||
python-mock,
|
||||
python-openid,
|
||||
python-passlib,
|
||||
python-psutil,
|
||||
python-psycopg2,
|
||||
python-pychart,
|
||||
python-pydot,
|
||||
python-pyparsing,
|
||||
python-pypdf2,
|
||||
python-reportlab,
|
||||
python-requests,
|
||||
python-suds,
|
||||
python-tz,
|
||||
python-vatnumber,
|
||||
python-vobject,
|
||||
python-werkzeug,
|
||||
python-xlsxwriter,
|
||||
python-xlwt,
|
||||
python-yaml,
|
||||
python3-babel,
|
||||
python3-dateutil,
|
||||
python3-decorator,
|
||||
python3-docutils,
|
||||
python3-feedparser,
|
||||
python3-html2text,
|
||||
python3-pil,
|
||||
python3-jinja2,
|
||||
python3-lxml,
|
||||
python3-mako,
|
||||
python3-mock,
|
||||
python3-openid,
|
||||
python3-passlib,
|
||||
python3-psutil,
|
||||
python3-psycopg2,
|
||||
python3-pydot,
|
||||
python3-pyparsing,
|
||||
python3-pypdf2,
|
||||
python3-reportlab,
|
||||
python3-requests,
|
||||
python3-suds,
|
||||
python3-tz,
|
||||
python3-vatnumber,
|
||||
python3-vobject,
|
||||
python3-werkzeug,
|
||||
python3-xlsxwriter,
|
||||
python3-yaml,
|
||||
Conflicts: tinyerp-server, openerp-server, openerp-web, openerp
|
||||
Replaces: tinyerp-server, openerp-server, openerp-web, openerp
|
||||
Recommends:
|
||||
|
||||
Vendored
+1
-1
@@ -5,4 +5,4 @@ db_host = False
|
||||
db_port = False
|
||||
db_user = odoo
|
||||
db_password = False
|
||||
addons_path = /usr/lib/python2.7/dist-packages/odoo/addons
|
||||
;addons_path = /usr/lib/python3/dist-packages/odoo/addons
|
||||
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Odoo Open Source ERP and CRM
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=odoo
|
||||
Group=odoo
|
||||
ExecStart=/usr/bin/odoo --config /etc/odoo/odoo.conf --logfile /var/log/odoo/odoo-server.log
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Vendored
+4
-1
@@ -1,4 +1,7 @@
|
||||
#!/usr/bin/make -f
|
||||
export DH_VERBOSE=1
|
||||
export PYBUILD_NAME=odoo-bin
|
||||
export PYBUILD_DISABLE=test
|
||||
|
||||
%:
|
||||
dh ${@} -Spython_distutils
|
||||
dh ${@} --with=python3,systemd --buildsystem=pybuild
|
||||
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
3.0 (native)
|
||||
Reference in New Issue
Block a user