uwsgi-cgi: use python3 hostpkg not system python3 10002/head
authorDaniel F. Dickinson <cshored@thecshore.com>
Tue, 27 Aug 2019 07:37:06 +0000 (03:37 -0400)
committerDaniel F. Dickinson <cshored@thecshore.com>
Sat, 14 Sep 2019 20:46:05 +0000 (16:46 -0400)
commit0e78a105c83f5f8b92edd1f55be684afbb483377
treebf2486810cb775e43998287be8f7ebf0df7be6f4
parent1d0c66755e61f96281260a5e0faa37bc6195c420
uwsgi-cgi: use python3 hostpkg not system python3

On a Debian system without python3-distutils install, uwsgi-cgi was
failing to build because it couldn't import sysconfig from distutils.
OpenWrt packages should be using the OpenWrt python not the system
python. In addition we need to use python3 not python2, even when
both are available.

(cherry-pick c387d0923c8ced06f685b487f84ae0836d7f3e9b from master)

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
net/uwsgi-cgi/Makefile
net/uwsgi-cgi/patches/020-uwsgiconfig-system-python3.patch [new file with mode: 0644]