Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mod_wsgi: update to 4.7.1, change to python 3
Date: Fri, 22 May 2020 09:07:44 +0200	[thread overview]
Message-ID: <20200522070744.cfmV5NGR3PrBPbU8fmQ5nwGrawWBLvy-WjmIMp560vU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22190@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 336 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages mod_wsgi-python3
https://github.com/void-linux/void-packages/pull/22190

mod_wsgi: update to 4.7.1, change to python 3


A patch file from https://github.com/void-linux/void-packages/pull/22190.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mod_wsgi-python3-22190.patch --]
[-- Type: text/x-diff, Size: 2176 bytes --]

From 0b385c5c5527e264b35ed6fc64ea34d3658027a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Fri, 22 May 2020 06:37:25 +0700
Subject: [PATCH] mod_wsgi: update to 4.7.1, change to python 3

---
 srcpkgs/mod_wsgi/template | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/mod_wsgi/template b/srcpkgs/mod_wsgi/template
index 1d9eae05630..28872edf8d5 100644
--- a/srcpkgs/mod_wsgi/template
+++ b/srcpkgs/mod_wsgi/template
@@ -1,17 +1,17 @@
 # Template file for 'mod_wsgi'
 pkgname=mod_wsgi
-version=4.6.5
-revision=2
+version=4.7.1
+revision=1
 build_style=gnu-configure
-hostmakedepends="python perl automake libtool"
-makedepends="apache-devel python-devel apr-devel"
+hostmakedepends="python3 perl automake libtool"
+makedepends="apache-devel python3-devel apr-devel"
 short_desc="Python WSGI adapter module for Apache"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://modwsgi.readthedocs.io/en/develop/"
 changelog="https://modwsgi.readthedocs.io/en/latest/release-notes/version-${version}.html"
 distfiles="https://github.com/GrahamDumpleton/${pkgname}/archive/${version}.tar.gz"
-checksum=5cbe05f8b9b21a9e40d5d7226f4976643b1ee5e23a2d114bceae34d9948be5e0
+checksum=2674e506719afe60fbc0547c832e8948d6caa2e054d40d336309993e6e867d35
 lib32disabled=yes
 
 pre_configure() {
@@ -21,8 +21,8 @@ pre_configure() {
 
 		# Use the modified apxs
 		configure_args+=" --with-apxs=${wrksrc}/apxs"
-		configure_args+=" --with-python=$XBPS_WRAPPERDIR/python"
-		configure_args+=" PYTHON_VERSION=2.7 PYTHON_LDVERSION=2.7"
+		configure_args+=" --with-python=$XBPS_WRAPPERDIR/python3"
+		configure_args+=" PYTHON_VERSION=$py3_ver PYTHON_LDVERSION=$py3_ver"
 
 		# Use the ${wrksrc}/config_vars.mk
 		vsed -i apxs \
@@ -35,6 +35,8 @@ pre_configure() {
 			-e "/^APU_CONFIG/ s;=.*;= ${XBPS_WRAPPERDIR}/apu-1-config;" \
 			-e "/^includedir/ s;=.*;= $XBPS_CROSS_BASE/usr/include/httpd;" \
 			-e "s;\([I 	]\)/usr/include;\1$XBPS_CROSS_BASE/usr/include;g"
+	else
+		configure_args+=" --with-python=/usr/bin/python3"
 	fi
 	autoreconf -fi
 }

  parent reply	other threads:[~2020-05-22  7:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-21 23:38 [PR PATCH] " sgn
2020-05-22  1:01 ` sgn
2020-05-22  6:13 ` [PR PATCH] [Updated] " sgn
2020-05-22  6:48 ` sgn
2020-05-22  6:48 ` [PR PATCH] [Closed]: " sgn
2020-05-22  6:50 ` sgn
2020-05-22  6:50 ` [PR PATCH] [Updated] " sgn
2020-05-22  7:07 ` sgn [this message]
2020-05-22 17:32 ` Chocimier
2020-05-23  6:59 ` [PR PATCH] [Merged]: " sgn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200522070744.cfmV5NGR3PrBPbU8fmQ5nwGrawWBLvy-WjmIMp560vU@z \
    --to=sgn@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).