[mod_python] Remove from tree

This commit is contained in:
Andrey Volk
2025-03-28 21:28:21 +03:00
parent a57c895115
commit 3a53566eab
38 changed files with 11 additions and 20270 deletions

3
debian/bootstrap.sh vendored
View File

@@ -63,7 +63,6 @@ avoid_mods_jessie=(
directories/mod_ldap
)
avoid_mods_bookworm=(
languages/mod_python
)
avoid_mods_wheezy=(
event_handlers/mod_amqp
@@ -314,7 +313,7 @@ Build-Depends:
# configure options
libssl1.0-dev | libssl-dev, unixodbc-dev, libpq-dev,
libncurses5-dev, libjpeg62-turbo-dev | libjpeg-turbo8-dev | libjpeg62-dev | libjpeg8-dev,
python-dev | python-dev-is-python2 | python-dev-is-python3, python3-dev, python-all-dev | python3-all-dev, python-support (>= 0.90) | dh-python, erlang-dev, libtpl-dev (>= 1.5),
python-dev-is-python3, python3-dev, python3-all-dev, dh-python, erlang-dev, libtpl-dev (>= 1.5),
# documentation
doxygen,
# for APR (not essential for build)

View File

@@ -537,11 +537,6 @@ Build-Depends-Buster: libperl-dev, libgdbm-compat-dev
Build-Depends-Bullseye: libperl-dev, libgdbm-compat-dev
Build-Depends-Bookworm: libperl-dev, libgdbm-compat-dev
Module: languages/mod_python
Description: mod_python
Adds mod_python.
Build-Depends: python-dev | python-dev-is-python2
Module: languages/mod_python3
Description: mod_python3
Adds mod_python3.

View File

@@ -1 +0,0 @@
/usr/lib/python2*/*-packages/freeswitch.py

4
debian/rules vendored
View File

@@ -73,7 +73,7 @@ override_dh_auto_clean:
./configure -C --enable-portable-binary --disable-dependency-tracking \
--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --localstatedir=/var --sysconfdir=/etc \
--with-gnu-ld --with-python --with-python3 --with-erlang --with-openssl \
--with-gnu-ld --with-python3 --with-erlang --with-openssl \
--enable-core-odbc-support
touch $@
@@ -83,7 +83,6 @@ override_dh_auto_configure: .stamp-configure
@$(call show_vars)
make -j$(NJOBS) core
make -j$(NJOBS)
make -C libs/esl pymod
make -C libs/esl py3mod
make -C libs/esl perlmod
touch $@
@@ -98,7 +97,6 @@ override_dh_strip:
override_dh_auto_install:
dh_auto_install
dh_auto_install -- -C libs/esl pymod-install
dh_auto_install -- -C libs/esl py3mod-install
dh_auto_install -- -C libs/esl perlmod-install
rm -f debian/tmp/usr/share/freeswitch/grammar/model/communicator/COPYING