File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
build-scripts/ubuntu-2204 Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,16 @@ bash -ex $GENERATE_MANIFEST_SCRIPT
2525cat $module_name /__manifest__.json
2626
2727if [ " $distro_packages " = " debian-packages" ]; then
28+ # Only used for the deb package builds, NOT for the PyPi package builds.
2829 echo -e " \n\nPrepares indy-node debian package version"
2930 sed -i -r " s~indy-node==([0-9\.]+[0-9])(\.)?([a-z]+)~indy-node==\1\~\3~" setup.py
3031
31- # Update the package names to match the names that are available on the os.
32- echo -e " \nAdapt the dependencies for the Canonical archive"
33- sed -i " s~timeout-decorator~python3-timeout-decorator~" setup.py
34- sed -i " s~distro~python3-distro~" setup.py
32+ # Update the package names to match the versions that are pre-installed on the os.
33+ echo -e " \nAdapting the dependencies for the Canonical archive"
34+ sed -i " s~timeout-decorator>=0.5.0 ~python3-timeout-decorator==0.5.0-1 ~" setup.py
35+ sed -i " s~distro==1.7.0 ~python3-distro==1.7.0-1 ~" setup.py
3536 sed -i " s~importlib-metadata=~python3-importlib-metadata=~" setup.py
36-
37+
3738 echo " Preparing config files"
3839 GENERAL_CONFIG_DIR=" \/etc\/indy"
3940 REPO_GENERAL_CONFIG_DIR=" indy_node/general_config"
5455
5556popd
5657
57- echo -e " \nFinished preparing $repo for publishing\n"
58+ echo -e " \nFinished preparing $repo for publishing\n"
You can’t perform that action at this time.
0 commit comments