Skip to content

Commit

Permalink
fix(tur/python3.11): Fix python-is-python3.11 to contain files
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Oct 9, 2024
1 parent 47933d1 commit a19b331
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tur/python3.11/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ lib/python${_MAJOR_VERSION}/test
lib/python${_MAJOR_VERSION}/*/test
lib/python${_MAJOR_VERSION}/*/tests
lib/python${_MAJOR_VERSION}/site-packages/*/
lib/libpython3.so
"

termux_step_pre_configure() {
Expand All @@ -76,6 +75,11 @@ termux_step_pre_configure() {
export LIBCRYPT_LIBS="-lcrypt"
}

termux_step_post_make_install() {
ln -sfr $TERMUX_PREFIX/bin/python$_MAJOR_VERSION $TERMUX_PREFIX/bin/python
ln -sfr $TERMUX_PREFIX/bin/python$_MAJOR_VERSION $TERMUX_PREFIX/bin/python3
}

termux_step_post_massage() {
# Verify that desired modules have been included:
for module in _bz2 _curses _lzma _sqlite3 _ssl _tkinter zlib; do
Expand Down

0 comments on commit a19b331

Please sign in to comment.