Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build saithrift with python3.9 in bullseye (#1541) #1544

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions debian/copy_installer.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
if [[ x"$1" =~ x"v2" ]]
then
echo "Copy python-saithriftv2.install as python-saithrift.install"
cp ./debian/installerFiles/python-saithriftv2.install ./debian/python-saithrift.install
echo "Copy python3-saithrift.install as python-saithrift.install"
cp ./debian/installerFiles/python3-saithrift.install ./debian/python-saithrift.install
else
echo "Copy python-saithriftv1.install as python-saithrift.install"
cp ./debian/installerFiles/python-saithriftv1.install ./debian/python-saithrift.install
if [ $(lsb_release -sr) -ge 11 ]
then
echo "Copy python3-saithrift.install as python-saithrift.install after Ver.11 releases"
cp ./debian/installerFiles/python3-saithrift.install ./debian/python-saithrift.install
else
echo "Copy python2.7-saithrift.install as python-saithrift.install"
cp ./debian/installerFiles/python2.7-saithrift.install ./debian/python-saithrift.install
fi
fi
2 changes: 2 additions & 0 deletions debian/installerFiles/python-saithriftv1-bullseye.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#compatiable with bullseye python 3.9 environment
debian/usr/local/lib/python3.9/site-packages/* /usr/lib/python3/dist-packages/
1 change: 0 additions & 1 deletion debian/installerFiles/python-saithriftv2.install

This file was deleted.

2 changes: 2 additions & 0 deletions debian/installerFiles/python3-saithrift.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#compatiable with bullseye python 3.9 environment and saithriftv2 build with python3
debian/usr/local/lib/python3*/site-packages/* /usr/lib/python3/dist-packages/