File tree 10 files changed +55
-71
lines changed
addons/point_of_sale/tools/posbox/overwrite_before_init/etc
10 files changed +55
-71
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ PKGS_TO_INSTALL="
66
66
python3-psutil \
67
67
python3-psycopg2 \
68
68
python3-pydot \
69
- python3-pyparsing \
70
69
python3-pypdf2 \
71
70
python3-qrcode \
72
71
python3-reportlab \
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ Depends:
39
39
python3-psutil,
40
40
python3-psycopg2,
41
41
python3-pydot,
42
- python3-pyparsing,
43
42
python3-pypdf2,
44
43
python3-qrcode,
45
44
python3-reportlab,
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ psycopg2==2.7.7; sys_platform != 'win32' and python_version < '3.8'
37
37
psycopg2 == 2.8.5 ; sys_platform == 'win32' or python_version >= '3.8'
38
38
pydot == 1.4.1
39
39
python-ldap == 3.1.0 ; sys_platform != 'win32'
40
- pyparsing == 2.2.0
41
40
PyPDF2 == 1.26.0
42
41
pyserial == 3.4
43
42
python-dateutil == 2.7.3
Original file line number Diff line number Diff line change @@ -7,12 +7,8 @@ install-script = setup/redhat/install.sh
7
7
post-install = setup/redhat/postinstall.sh
8
8
9
9
requires =
10
- babel
11
10
sassc
12
- libxslt-python
13
- pychart
14
- pyparsing
15
- python(abi) >= 3.6
11
+ python(abi) >= 3.8
16
12
python3-babel
17
13
python3-decorator
18
14
python3-docutils
@@ -35,7 +31,6 @@ requires =
35
31
python3-psycopg2
36
32
python3-polib
37
33
python3-pydot
38
- python3-pyparsing
39
34
python3-PyPDF2
40
35
python3-pyserial
41
36
python3-dateutil
Original file line number Diff line number Diff line change 42
42
'psutil' , # windows binary code.google.com/p/psutil/downloads/list
43
43
'psycopg2 >= 2.2' ,
44
44
'pydot' ,
45
- 'pyparsing' ,
46
45
'pypdf2' ,
47
46
'pyserial' ,
48
47
'python-dateutil' ,
Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ RUN apt-get update -qq && \
41
41
python3-psutil \
42
42
python3-psycopg2 \
43
43
python3-pydot \
44
- python3-pyparsing \
45
44
python3-pypdf2 \
46
45
python3-qrcode \
47
46
python3-reportlab \
Original file line number Diff line number Diff line change 1
1
# Please note that this Dockerfile is used for testing nightly builds and should
2
2
# not be used to deploy Odoo
3
- FROM fedora:30
3
+ FROM fedora:32
4
4
MAINTAINER Odoo S.A. <
[email protected] >
5
5
6
6
# Dependencies and postgres
7
7
RUN dnf update -d 0 -e 0 -y && \
8
- dnf install -d 0 -e 0 \
9
- babel \
10
- createrepo \
11
- pychart \
12
- pyparsing \
13
- python3-babel \
14
- python3-decorator \
15
- python3-docutils \
16
- python3-feedparser \
17
- python3-gevent \
18
- python3-greenlet \
19
- python3-html2text \
20
- python3-jinja2 \
21
- python3-lxml \
22
- python3-mako \
23
- python3-markupsafe \
24
- python3-num2words \
25
- python3-ofxparse \
26
- python3-passlib \
27
- python3-pillow \
28
- python3-psutil \
29
- python3-pydot \
30
- python3-pyldap \
31
- python3-pyparsing \
32
- python3-PyPDF2 \
33
- python3-pyserial \
34
- python3-dateutil \
35
- python3-polib \
36
- python3-pytz \
37
- python3-pyusb \
38
- python3-qrcode \
39
- python3-reportlab \
40
- python3-requests \
41
- python3-six \
42
- python3-stdnum \
43
- python3-suds \
44
- python3-vobject \
45
- python3-werkzeug \
46
- python3-xlwt \
47
- python3-xlrd \
48
- python3-xlsxwriter \
49
- libsass \
50
- pytz \
51
- postgresql \
52
- postgresql-server \
53
- postgresql-libs \
54
- postgresql-contrib \
55
- postgresql-devel \
56
- rpmdevtools -y && \
57
- dnf clean all
8
+ dnf install -d 0 -e 0 \
9
+ createrepo \
10
+ libsass \
11
+ postgresql \
12
+ postgresql-contrib \
13
+ postgresql-devel \
14
+ postgresql-libs \
15
+ postgresql-server \
16
+ python3-PyPDF2 \
17
+ python3-babel \
18
+ python3-dateutil \
19
+ python3-decorator \
20
+ python3-docutils \
21
+ python3-feedparser \
22
+ python3-freezegun \
23
+ python3-gevent \
24
+ python3-greenlet \
25
+ python3-html2text \
26
+ python3-idna \
27
+ python3-jinja2 \
28
+ python3-lxml \
29
+ python3-mako \
30
+ python3-markupsafe \
31
+ python3-mock \
32
+ python3-num2words \
33
+ python3-ofxparse \
34
+ python3-passlib \
35
+ python3-pillow \
36
+ python3-polib \
37
+ python3-psutil \
38
+ python3-psycopg2 \
39
+ python3-pydot \
40
+ python3-pyldap \
41
+ python3-pyserial \
42
+ python3-pytz \
43
+ python3-pyusb \
44
+ python3-qrcode \
45
+ python3-reportlab \
46
+ python3-requests \
47
+ python3-six \
48
+ python3-stdnum \
49
+ python3-suds \
50
+ python3-vobject \
51
+ python3-werkzeug \
52
+ python3-xlrd \
53
+ python3-xlsxwriter \
54
+ python3-xlwt \
55
+ rpmdevtools -y && \
56
+ dnf clean all
58
57
59
58
# Postgres configuration
60
59
RUN mkdir -p /var/lib/postgres/data
Original file line number Diff line number Diff line change @@ -20,15 +20,8 @@ RUN apt-get update -qq && \
20
20
postgresql-server-dev-all \
21
21
postgresql-client \
22
22
adduser \
23
- libsass1 \
24
- libxml2-dev \
25
- libxslt1-dev \
26
23
libldap2-dev \
27
24
libsasl2-dev \
28
- libssl-dev \
29
- libjpeg-dev \
30
- zlib1g-dev \
31
- python3-dev \
32
25
python3-pip \
33
26
python3-wheel \
34
27
build-essential \
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
set -e
3
- python3 setup.py install --prefix=/usr --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES --install-lib usr/lib/python3.7/site-packages/
3
+ ABI=$( rpm -q --provides python3 | awk ' /abi/ {print $NF}' )
4
+ python3 setup.py install --prefix=/usr --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES --install-lib usr/lib/python${ABI} /site-packages/
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ ODOO_GROUP="odoo"
9
9
ODOO_LOG_DIR=/var/log/odoo
10
10
ODOO_LOG_FILE=$ODOO_LOG_DIR /odoo-server.log
11
11
ODOO_USER=" odoo"
12
+ ABI=$( rpm -q --provides python3 | awk ' /abi/ {print $NF}' )
12
13
13
14
if ! getent passwd | grep -q " ^odoo:" ; then
14
15
groupadd $ODOO_GROUP
@@ -28,7 +29,7 @@ db_host = False
28
29
db_port = False
29
30
db_user = $ODOO_USER
30
31
db_password = False
31
- addons_path = /usr/lib/python3.7 /site-packages/odoo/addons
32
+ addons_path = /usr/lib/python ${ABI} /site-packages/odoo/addons
32
33
" > $ODOO_CONFIGURATION_FILE
33
34
chown $ODOO_USER :$ODOO_GROUP $ODOO_CONFIGURATION_FILE
34
35
chmod 0640 $ODOO_CONFIGURATION_FILE
You can’t perform that action at this time.
0 commit comments