From: Vijay Anusuri <vanus...@mvista.com>

mod-wsgi version 4.9.0 doesn't build against python 3.13
update it to 5.0.2 which does build.

Refreshed configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch for 5.0.2 
version.

Signed-off-by: Anand Je Sypureddy <anan...@mvista.com>
Signed-off-by: Vijay Anusuri <vanus...@mvista.com>
---
 ...ow-PYTHON-values-to-be-passed-via-en.patch | 22 ++++++++++---------
 .../recipes-support/mod-wsgi/mod-wsgi_git.bb  |  4 ++--
 2 files changed, 14 insertions(+), 12 deletions(-)

diff --git 
a/meta-openstack/recipes-support/mod-wsgi/files/configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch
 
b/meta-openstack/recipes-support/mod-wsgi/files/configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch
index 79aedffd..6718a4a2 100644
--- 
a/meta-openstack/recipes-support/mod-wsgi/files/configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch
+++ 
b/meta-openstack/recipes-support/mod-wsgi/files/configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch
@@ -9,14 +9,14 @@ issues.
 
 Updated for 4.9.0: Jeremy Puhlman
 
+Upstream-Status: Pending
 Signed-off-by: Mark Asselstine <mark.asselst...@windriver.com>
-----
- configure.ac | 41 +++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 41 insertions(+)
-
+---
+ configure.ac | 40 ++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 40 insertions(+)
 
 diff --git a/configure.ac b/configure.ac
-index 37a0f86..9b77c7f 100644
+index f994dd7..8774010 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -106,26 +106,38 @@ fi
@@ -58,7 +58,7 @@ index 37a0f86..9b77c7f 100644
  
  if test "${ENABLE_EMBEDDED}" != "yes"; then
  CPPFLAGS3="-DMOD_WSGI_DISABLE_EMBEDDED"
-@@ -137,22 +149,42 @@ CPPFLAGS="${CPPFLAGS} ${CPPFLAGS1} ${CPPFLAGS2} 
${CPPFLAGS3}"
+@@ -137,21 +149,41 @@ CPPFLAGS="${CPPFLAGS} ${CPPFLAGS1} ${CPPFLAGS2} 
${CPPFLAGS3}"
  
  AC_SUBST(CPPFLAGS)
  
@@ -71,9 +71,8 @@ index 37a0f86..9b77c7f 100644
 +fi
 +if test -z "${PYTHON_CFGDIR}"; then
  PYTHONCFGDIR=`${PYTHON} -c 'from sys import stdout; \
-     import distutils.sysconfig; \
-     stdout.write(distutils.sysconfig.get_python_lib(plat_specific=1, \
-     standard_lib=1) +"/config")'`
+     import sysconfig; \
+     stdout.write(sysconfig.get_path("platstdlib") +"/config")'`
 +else
 +PYTHONCFGDIR="${PYTHON_CFGDIR}"
 +fi
@@ -101,7 +100,7 @@ index 37a0f86..9b77c7f 100644
  
  if test "${PYTHON_LDVERSION}" != "${PYTHON_VERSION}"; then
      PYTHONCFGDIR="${PYTHONCFGDIR}-${PYTHON_LDVERSION}"
-@@ -180,12 +212,20 @@ if test "${PYTHONFRAMEWORKDIR}" = "no-framework" -o \
+@@ -179,12 +211,20 @@ if test "${PYTHONFRAMEWORKDIR}" = "no-framework" -o \
          LDLIBS1="-lpython${PYTHON_VERSION}"
      fi
  
@@ -122,3 +121,6 @@ index 37a0f86..9b77c7f 100644
  else
      LDFLAGS1="-Wl,-F${PYTHONFRAMEWORKPREFIX} -framework ${PYTHONFRAMEWORK}"
  
+-- 
+2.25.1
+
diff --git a/meta-openstack/recipes-support/mod-wsgi/mod-wsgi_git.bb 
b/meta-openstack/recipes-support/mod-wsgi/mod-wsgi_git.bb
index b0daf54d..f22a2426 100644
--- a/meta-openstack/recipes-support/mod-wsgi/mod-wsgi_git.bb
+++ b/meta-openstack/recipes-support/mod-wsgi/mod-wsgi_git.bb
@@ -9,8 +9,8 @@ HOMEPAGE = "https://github.com/GrahamDumpleton/mod_wsgi";
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRCREV = "df9faf954a1ab6208f45ba6fde90f0b41f605483"
-PV = "4.9.0+git${SRCPV}"
+SRCREV = "1b645ebd7d87f7a27d23690c19e97dbf8dafe6b4"
+PV = "5.0.2+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9033): 
https://lists.yoctoproject.org/g/meta-virtualization/message/9033
Mute This Topic: https://lists.yoctoproject.org/mt/109896469/21656
Group Owner: meta-virtualization+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

  • [meta-virtualization][m-c-s][mas... Vijay Anusuri via lists.yoctoproject.org

Reply via email to