From 361c1059598519b2e747a8e60258bbd1a41417fe Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 26 May 2023 19:44:55 +0200 Subject: [PATCH] Updating for 6.5.1 --- build.sh | 9 ++++++++- wheel2deb.yml | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index fc526b6..45245fd 100644 --- a/build.sh +++ b/build.sh @@ -1,4 +1,7 @@ #!/bin/bash + +DISTRIBUTION=${DISTRIBUTION:-jammy} + rm -rf output # Download latest weels @@ -12,7 +15,11 @@ echo -e "\n[Writing modifications]\n" for i in output/*; do cp copyright "$i/debian" # Add copyrights perl -i -p0e 's/python3 \(<< 3.(\d)+\),//gm' "$i/debian/control" # Remove upper limit from control. + sed -i "s/stable;/$DISTRIBUTION;/g" "$i/debian/changelog" # Change distribution. done # Moving the shaders library over to essentials since it's required by Qt5Compat -mv output/python3-pyside6-addons_*_amd64/src/PySide6/Qt/lib/libQt6ShaderTools.so.6 output/python3-pyside6-essentials_*_amd64/src/PySide6/Qt/lib/ +# mv output/python3-pyside6-addons_*_amd64/src/PySide6/Qt/lib/libQt6ShaderTools.so.6 output/python3-pyside6-essentials_*_amd64/src/PySide6/Qt/lib/ + +# Remove conflicting files between Essentials and Addons +rm output/python3-pyside6-addons_*_amd64/src/PySide6/__init__.py diff --git a/wheel2deb.yml b/wheel2deb.yml index 6848df4..2ea43d7 100644 --- a/wheel2deb.yml +++ b/wheel2deb.yml @@ -1,3 +1,4 @@ .: maintainer_name: 'Ad5001' maintainer_email: 'mail@ad5001.eu' + distribution: jammy