odoo{17,18,}: use pyproject = true, update dependency list (#427045)
This commit is contained in:
@@ -17,8 +17,7 @@ in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "odoo";
|
||||
version = "${odoo_version}.${odoo_release}";
|
||||
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchzip {
|
||||
# find latest version on https://nightly.odoo.com/${odoo_version}/nightly/src
|
||||
@@ -28,22 +27,25 @@ python.pkgs.buildPythonApplication rec {
|
||||
};
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix"
|
||||
"PATH"
|
||||
":"
|
||||
"${lib.makeBinPath [
|
||||
wkhtmltopdf
|
||||
rtlcss
|
||||
]}"
|
||||
"--prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
wkhtmltopdf
|
||||
rtlcss
|
||||
]
|
||||
}"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
build-system = with python.pkgs; [
|
||||
setuptools
|
||||
distutils
|
||||
];
|
||||
|
||||
dependencies = with python.pkgs; [
|
||||
asn1crypto
|
||||
babel
|
||||
cbor2
|
||||
chardet
|
||||
cryptography
|
||||
distutils
|
||||
docutils
|
||||
freezegun
|
||||
geoip2
|
||||
@@ -57,6 +59,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
markupsafe
|
||||
num2words
|
||||
ofxparse
|
||||
openpyxl
|
||||
passlib
|
||||
pillow
|
||||
polib
|
||||
|
||||
@@ -31,8 +31,7 @@ in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "odoo";
|
||||
version = "${odoo_version}.${odoo_release}";
|
||||
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
# latest release is at https://github.com/odoo/docker/blob/master/17.0/Dockerfile
|
||||
src = fetchzip {
|
||||
@@ -48,23 +47,24 @@ python.pkgs.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix"
|
||||
"PATH"
|
||||
":"
|
||||
"${lib.makeBinPath [
|
||||
wkhtmltopdf
|
||||
rtlcss
|
||||
]}"
|
||||
"--prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
wkhtmltopdf
|
||||
rtlcss
|
||||
]
|
||||
}"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
build-system = with python.pkgs; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = with python.pkgs; [
|
||||
babel
|
||||
chardet
|
||||
cryptography
|
||||
decorator
|
||||
docutils-0_17 # sphinx has a docutils requirement >= 18
|
||||
ebaysdk
|
||||
freezegun
|
||||
geoip2
|
||||
gevent
|
||||
greenlet
|
||||
@@ -102,8 +102,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
xlwt
|
||||
zeep
|
||||
|
||||
setuptools
|
||||
mock
|
||||
setuptools # pkg_resources is imported during runtime
|
||||
];
|
||||
|
||||
# takes 5+ minutes and there are not files to strip
|
||||
|
||||
@@ -17,8 +17,7 @@ in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "odoo";
|
||||
version = "${odoo_version}.${odoo_release}";
|
||||
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchzip {
|
||||
# find latest version on https://nightly.odoo.com/${odoo_version}/nightly/src
|
||||
@@ -28,22 +27,27 @@ python.pkgs.buildPythonApplication rec {
|
||||
};
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix"
|
||||
"PATH"
|
||||
":"
|
||||
"${lib.makeBinPath [
|
||||
wkhtmltopdf
|
||||
rtlcss
|
||||
]}"
|
||||
"--prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
wkhtmltopdf
|
||||
rtlcss
|
||||
]
|
||||
}"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
build-system = with python.pkgs; [
|
||||
setuptools
|
||||
distutils
|
||||
];
|
||||
|
||||
dependencies = with python.pkgs; [
|
||||
asn1crypto
|
||||
babel
|
||||
cbor2
|
||||
chardet
|
||||
cryptography
|
||||
decorator
|
||||
docutils
|
||||
distutils
|
||||
ebaysdk
|
||||
freezegun
|
||||
geoip2
|
||||
@@ -53,10 +57,10 @@ python.pkgs.buildPythonApplication rec {
|
||||
jinja2
|
||||
libsass
|
||||
lxml
|
||||
lxml-html-clean
|
||||
markupsafe
|
||||
num2words
|
||||
ofxparse
|
||||
openpyxl
|
||||
passlib
|
||||
pillow
|
||||
polib
|
||||
@@ -82,9 +86,6 @@ python.pkgs.buildPythonApplication rec {
|
||||
xlsxwriter
|
||||
xlwt
|
||||
zeep
|
||||
|
||||
setuptools
|
||||
mock
|
||||
];
|
||||
|
||||
# takes 5+ minutes and there are not files to strip
|
||||
|
||||
Reference in New Issue
Block a user