All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][m-c-s][master][PATCH] mod-wsgi: upgrade 4.9.0 -> 5.0.2
@ 2024-12-03  7:36 vanusuri
  2024-12-10  3:46 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: vanusuri @ 2024-12-03  7:36 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Vijay Anusuri, Anand Je Sypureddy

From: Vijay Anusuri <vanusuri@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 <anandje@mvista.com>
Signed-off-by: Vijay Anusuri <vanusuri@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.asselstine@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-10  3:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-03  7:36 [meta-virtualization][m-c-s][master][PATCH] mod-wsgi: upgrade 4.9.0 -> 5.0.2 vanusuri
2024-12-10  3:46 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.