[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD python-3.8.patch)
Date: Wednesday, December 11, 2019 @ 09:50:07 Author: arojas Revision: 536788 Update to 4.6.8, drop python2 Modified: mod_wsgi/trunk/PKGBUILD Deleted: mod_wsgi/trunk/python-3.8.patch --+ PKGBUILD | 57 +++ python-3.8.patch | 97 - 2 files changed, 13 insertions(+), 141 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-12-11 09:48:25 UTC (rev 536787) +++ PKGBUILD2019-12-11 09:50:07 UTC (rev 536788) @@ -1,62 +1,31 @@ -# Maintainer: Alexander F Rødseth +# Maintainer: +# Contributor: Alexander F Rødseth # Contributor: Andrea Scarpino # Contributor: Ryan Coyner -pkgbase=mod_wsgi -pkgname=($pkgbase 'mod_wsgi2') -pkgver=4.5.24 -pkgrel=4 +pkgname=mod_wsgi +pkgver=4.6.8 +pkgrel=1 pkgdesc='Python WSGI adapter module for Apache' arch=('x86_64') url='http://www.modwsgi.org/' license=('APACHE') -makedepends=('apache' 'git' 'python' 'python2') +depends=('apache' 'python') +conflicts=('mod_wsgi2') +makedepends=('apache' 'python') install='mod_wsgi.install' -source=("git+https://github.com/GrahamDumpleton/mod_wsgi#tag=$pkgver; -python-3.8.patch) -md5sums=('SKIP' - '73ac9f44d14c04e4bd14eeb506313ec4') +source=($pkgname-$pkgver.tar.gz::"https://github.com/GrahamDumpleton/mod_wsgi/archive/$pkgver.tar.gz;) +sha256sums=('a22394cb4e8f9add252b94364a16eb74820829159b29afda10117715473cd577') -prepare() { - cp -r "$pkgbase" py2 - patch -Np1 -d "$pkgbase" -Date: Tue, 14 May 2019 16:14:07 +1000 -Subject: [PATCH] Changed functions to pre/post actions when forking. - - src/server/mod_wsgi.c | 13 - - 1 file changed, 12 insertions(+), 1 deletion(-) - -diff --git a/src/server/mod_wsgi.c b/src/server/mod_wsgi.c -index 2e4bb24d..bf55945a 100644 a/src/server/mod_wsgi.c -+++ b/src/server/mod_wsgi.c -@@ -4345,8 +4345,13 @@ static void wsgi_python_child_init(apr_pool_t *p) - * do it if Python was initialised in parent process. - */ - --if (wsgi_python_initialized && !wsgi_python_after_fork) -+if (wsgi_python_initialized && !wsgi_python_after_fork) { -+#if PY_MAJOR_VERSION > 3 || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 7) -+PyOS_AfterFork_Child(); -+#else - PyOS_AfterFork(); -+#endif -+} - - /* Finalise any Python objects required by child process. */ - -@@ -10422,6 +10427,12 @@ static int wsgi_start_process(apr_pool_t *p, WSGIDaemonProcess *daemon) - wsgi_exit_daemon_process(0); - } - -+if (wsgi_python_initialized) { -+#if PY_MAJOR_VERSION > 3 || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 7) -+PyOS_AfterFork_Parent(); -+#endif -+} -+ - apr_pool_note_subprocess(p, >process, APR_KILL_AFTER_TIMEOUT); - apr_proc_other_child_register(>process, wsgi_manage_process, - daemon, NULL, p); - -From b03b02df6318afe26052db5b0365732152cacea2 Mon Sep 17 00:00:00 2001 -From: Graham Dumpleton -Date: Tue, 14 May 2019 16:14:42 +1000 -Subject: [PATCH] Use official APIs for accessing interpreter list. - - src/server/wsgi_interp.c | 18 -- - 1 file changed, 12 insertions(+), 6 deletions(-) - -diff --git a/src/server/wsgi_interp.c b/src/server/wsgi_interp.c -index 4a948509..3fbca04b 100644 a/src/server/wsgi_interp.c -+++ b/src/server/wsgi_interp.c -@@ -338,9 +338,10 @@ static PyObject *ShutdownInterpreter_call( - - PyThreadState_Swap(NULL); - --tstate = tstate->interp->tstate_head; -+tstate = PyInterpreterState_ThreadHead(tstate->interp); -+ - while (tstate) { --tstate_next = tstate->next; -+tstate_next = PyThreadState_Next(tstate); - if (tstate != tstate_save) { - PyThreadState_Swap(tstate); - PyThreadState_Clear(tstate); -@@ -436,9 +437,13 @@ InterpreterObject *newInterpreterObject(const char *name) - */ - - if (!name) { -+#if PY_MAJOR_VERSION > 3 || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 7) -+interp = PyInterpreterState_Main(); -+#else - interp = PyInterpreterState_Head(); --while (interp->next) --interp = interp->next; -+while (PyInterpreterState_Next(interp)) -+interp = PyInterpreterState_Next(interp); -+#endif - - name = ""; - } -@@ -1883,9 +1888,10 @@ static void Interpreter_dealloc(InterpreterObject *self) - - PyThreadState_Swap(NULL); - --tstate = tstate->interp->tstate_head; -+tstate = PyInterpreterState_ThreadHead(tstate->interp); -+ - while (tstate) { --tstate_next = tstate->next; -+tstate_next = PyThreadState_Next(tstate); - if (tstate != tstate_save) { - PyThreadState_Swap(tstate); - PyThreadState_Clear(tstate);
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Wednesday, November 13, 2019 @ 03:00:38 Author: eschwartz Revision: 527080 upgpkg: mod_wsgi 4.5.24-4 Fix FS#64481 - can't be loaded into apache, undefined symbol PyObject_SetItem The project LDFLAGS are completely overridden using random linker flags extracted by hand from python-config, which breaks due to not embedding. It's no longer 2012, we should trust upstream to get this right -- upstream does have it right, and we are broken. Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-13 01:01:22 UTC (rev 527079) +++ PKGBUILD2019-11-13 03:00:38 UTC (rev 527080) @@ -5,7 +5,7 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') pkgver=4.5.24 -pkgrel=3 +pkgrel=4 pkgdesc='Python WSGI adapter module for Apache' arch=('x86_64') url='http://www.modwsgi.org/' @@ -39,7 +39,7 @@ --with-apxs=/usr/bin/apxs \ --with-python=/usr/bin/python - make LDLIBS="$(pkg-config python3 --libs) -lpthread -ldl -lutil -lm" + make } package_mod_wsgi() {
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Wednesday, November 6, 2019 @ 15:07:29 Author: felixonmars Revision: 524391 Python 3.8 rebuild Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-06 15:06:06 UTC (rev 524390) +++ PKGBUILD2019-11-06 15:07:29 UTC (rev 524391) @@ -5,7 +5,7 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') pkgver=4.5.24 -pkgrel=2 +pkgrel=3 pkgdesc='Python WSGI adapter module for Apache' arch=('x86_64') url='http://www.modwsgi.org/'
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD python-3.8.patch)
Date: Wednesday, November 6, 2019 @ 15:06:06 Author: foutrelis Revision: 524390 Fix build with Python 3.8 Added: mod_wsgi/trunk/python-3.8.patch Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD | 12 -- python-3.8.patch | 97 + 2 files changed, 106 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-06 14:46:35 UTC (rev 524389) +++ PKGBUILD2019-11-06 15:06:06 UTC (rev 524390) @@ -12,12 +12,18 @@ license=('APACHE') makedepends=('apache' 'git' 'python' 'python2') install='mod_wsgi.install' -source=("git+https://github.com/GrahamDumpleton/mod_wsgi#tag=$pkgver;) -md5sums=('SKIP') +source=("git+https://github.com/GrahamDumpleton/mod_wsgi#tag=$pkgver; +python-3.8.patch) +md5sums=('SKIP' + '73ac9f44d14c04e4bd14eeb506313ec4') +prepare() { + cp -r "$pkgbase" py2 + patch -Np1 -d "$pkgbase" +Date: Tue, 14 May 2019 16:14:07 +1000 +Subject: [PATCH] Changed functions to pre/post actions when forking. + +--- + src/server/mod_wsgi.c | 13 - + 1 file changed, 12 insertions(+), 1 deletion(-) + +diff --git a/src/server/mod_wsgi.c b/src/server/mod_wsgi.c +index 2e4bb24d..bf55945a 100644 +--- a/src/server/mod_wsgi.c b/src/server/mod_wsgi.c +@@ -4345,8 +4345,13 @@ static void wsgi_python_child_init(apr_pool_t *p) + * do it if Python was initialised in parent process. + */ + +-if (wsgi_python_initialized && !wsgi_python_after_fork) ++if (wsgi_python_initialized && !wsgi_python_after_fork) { ++#if PY_MAJOR_VERSION > 3 || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 7) ++PyOS_AfterFork_Child(); ++#else + PyOS_AfterFork(); ++#endif ++} + + /* Finalise any Python objects required by child process. */ + +@@ -10422,6 +10427,12 @@ static int wsgi_start_process(apr_pool_t *p, WSGIDaemonProcess *daemon) + wsgi_exit_daemon_process(0); + } + ++if (wsgi_python_initialized) { ++#if PY_MAJOR_VERSION > 3 || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 7) ++PyOS_AfterFork_Parent(); ++#endif ++} ++ + apr_pool_note_subprocess(p, >process, APR_KILL_AFTER_TIMEOUT); + apr_proc_other_child_register(>process, wsgi_manage_process, + daemon, NULL, p); + +From b03b02df6318afe26052db5b0365732152cacea2 Mon Sep 17 00:00:00 2001 +From: Graham Dumpleton +Date: Tue, 14 May 2019 16:14:42 +1000 +Subject: [PATCH] Use official APIs for accessing interpreter list. + +--- + src/server/wsgi_interp.c | 18 -- + 1 file changed, 12 insertions(+), 6 deletions(-) + +diff --git a/src/server/wsgi_interp.c b/src/server/wsgi_interp.c +index 4a948509..3fbca04b 100644 +--- a/src/server/wsgi_interp.c b/src/server/wsgi_interp.c +@@ -338,9 +338,10 @@ static PyObject *ShutdownInterpreter_call( + + PyThreadState_Swap(NULL); + +-tstate = tstate->interp->tstate_head; ++tstate = PyInterpreterState_ThreadHead(tstate->interp); ++ + while (tstate) { +-tstate_next = tstate->next; ++tstate_next = PyThreadState_Next(tstate); + if (tstate != tstate_save) { + PyThreadState_Swap(tstate); + PyThreadState_Clear(tstate); +@@ -436,9 +437,13 @@ InterpreterObject *newInterpreterObject(const char *name) + */ + + if (!name) { ++#if PY_MAJOR_VERSION > 3 || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 7) ++interp = PyInterpreterState_Main(); ++#else + interp = PyInterpreterState_Head(); +-while (interp->next) +-interp = interp->next; ++while (PyInterpreterState_Next(interp)) ++interp = PyInterpreterState_Next(interp); ++#endif + + name = ""; + } +@@ -1883,9 +1888,10 @@ static void Interpreter_dealloc(InterpreterObject *self) + + PyThreadState_Swap(NULL); + +-tstate = tstate->interp->tstate_head; ++tstate = PyInterpreterState_ThreadHead(tstate->interp); ++ + while (tstate) { +-tstate_next = tstate->next; ++tstate_next = PyThreadState_Next(tstate); + if (tstate != tstate_save) { + PyThreadState_Swap(tstate); + PyThreadState_Clear(tstate);
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Saturday, June 30, 2018 @ 17:09:57 Author: felixonmars Revision: 348631 Python 3.7 rebuild Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-06-30 17:08:58 UTC (rev 348630) +++ PKGBUILD2018-06-30 17:09:57 UTC (rev 348631) @@ -6,7 +6,7 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') pkgver=4.5.24 -pkgrel=1 +pkgrel=2 pkgdesc='Python WSGI adapter module for Apache' arch=('x86_64') url='http://www.modwsgi.org/'
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD mod_wsgi.install)
Date: Friday, January 26, 2018 @ 14:10:00 Author: arodseth Revision: 287150 upgpkg: mod_wsgi 4.5.24-1 Modified: mod_wsgi/trunk/PKGBUILD mod_wsgi/trunk/mod_wsgi.install --+ PKGBUILD |2 +- mod_wsgi.install |6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-01-26 14:02:20 UTC (rev 287149) +++ PKGBUILD2018-01-26 14:10:00 UTC (rev 287150) @@ -5,7 +5,7 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') -pkgver=4.5.20 +pkgver=4.5.24 pkgrel=1 pkgdesc='Python WSGI adapter module for Apache' arch=('x86_64') Modified: mod_wsgi.install === --- mod_wsgi.install2018-01-26 14:02:20 UTC (rev 287149) +++ mod_wsgi.install2018-01-26 14:10:00 UTC (rev 287150) @@ -1,8 +1,8 @@ post_install() { - /bin/cat << dog + cat< ==> -==> To install mod_wsgi, add the following line in +==> To install mod_wsgi, add the following line in ==> /etc/httpd/conf/httpd.conf file : ==> ==> LoadModule wsgi_module modules/mod_wsgi.so @@ -10,5 +10,5 @@ ==> and restart/reload Apache. ==> ==> -dog +meow }
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD mod_wsgi.install)
Date: Wednesday, November 1, 2017 @ 11:18:27 Author: arodseth Revision: 264994 upgpkg: mod_wsgi 4.5.20-1 Modified: mod_wsgi/trunk/PKGBUILD mod_wsgi/trunk/mod_wsgi.install --+ PKGBUILD | 26 -- mod_wsgi.install |4 ++-- 2 files changed, 14 insertions(+), 16 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-11-01 11:16:12 UTC (rev 264993) +++ PKGBUILD2017-11-01 11:18:27 UTC (rev 264994) @@ -5,39 +5,36 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') -pkgver=4.5.17 -pkgrel=2 +pkgver=4.5.20 +pkgrel=1 pkgdesc='Python WSGI adapter module for Apache' arch=('x86_64' 'i686') url='http://www.modwsgi.org/' license=('APACHE') -makedepends=('apache' 'python' 'python2' 'git') +makedepends=('apache' 'git' 'python' 'python2') install='mod_wsgi.install' source=("git+https://github.com/GrahamDumpleton/mod_wsgi#tag=$pkgver;) md5sums=('SKIP') build() { + # Configure and build mod_wsgi for py2 cp -r "$pkgbase" py2 - - cd "$pkgbase" - + cd py2 ./configure \ --prefix=/usr \ --with-apxs=/usr/bin/apxs \ ---with-python=/usr/bin/python +--with-python=/usr/bin/python2 - # Build mod_wsgi for py3 - make LDLIBS="$(pkg-config python3 --libs) -lpthread -ldl -lutil -lm" + make - cd "$srcdir/py2" - + # Configure and build mod_wsgi for py3 + cd "$srcdir/$pkgbase" ./configure \ --prefix=/usr \ --with-apxs=/usr/bin/apxs \ ---with-python=/usr/bin/python2 +--with-python=/usr/bin/python - # Build mod_wsgi for py2 - make + make LDLIBS="$(pkg-config python3 --libs) -lpthread -ldl -lutil -lm" } package_mod_wsgi() { @@ -56,4 +53,5 @@ make -C py2 DESTDIR="$pkgdir" install } +# getver: github.com/GrahamDumpleton/mod_wsgi # vim: ts=2 sw=2 et: Modified: mod_wsgi.install === --- mod_wsgi.install2017-11-01 11:16:12 UTC (rev 264993) +++ mod_wsgi.install2017-11-01 11:18:27 UTC (rev 264994) @@ -1,5 +1,5 @@ post_install() { -/bin/cat << ENDOFMESSAGE + /bin/cat << dog ==> ==> ==> To install mod_wsgi, add the following line in @@ -10,5 +10,5 @@ ==> and restart/reload Apache. ==> ==> -ENDOFMESSAGE +dog }
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Tuesday, July 18, 2017 @ 14:58:52 Author: arodseth Revision: 245572 upgpkg: mod_wsgi 4.5.17-2 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-07-18 14:32:56 UTC (rev 245571) +++ PKGBUILD2017-07-18 14:58:52 UTC (rev 245572) @@ -6,14 +6,14 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') pkgver=4.5.17 -pkgrel=1 -pkgdesc='Python2 WSGI adapter module for Apache' +pkgrel=2 +pkgdesc='Python WSGI adapter module for Apache' arch=('x86_64' 'i686') url='http://www.modwsgi.org/' license=('APACHE') makedepends=('apache' 'python' 'python2' 'git') install='mod_wsgi.install' -source=("git://github.com/GrahamDumpleton/mod_wsgi#tag=$pkgver") +source=("git+https://github.com/GrahamDumpleton/mod_wsgi#tag=$pkgver;) md5sums=('SKIP') build() { @@ -27,7 +27,7 @@ --with-python=/usr/bin/python # Build mod_wsgi for py3 - make LDLIBS='-lpython3 -lpthread -ldl -lutil -lm' + make LDLIBS="$(pkg-config python3 --libs) -lpthread -ldl -lutil -lm" cd "$srcdir/py2"
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Sunday, July 16, 2017 @ 12:36:44 Author: arodseth Revision: 245351 upgpkg: mod_wsgi 4.5.17-1 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-07-16 12:26:45 UTC (rev 245350) +++ PKGBUILD2017-07-16 12:36:44 UTC (rev 245351) @@ -5,7 +5,7 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') -pkgver=4.4.22 +pkgver=4.5.17 pkgrel=1 pkgdesc='Python2 WSGI adapter module for Apache' arch=('x86_64' 'i686') @@ -19,19 +19,24 @@ build() { cp -r "$pkgbase" py2 - # Build the Python 3 version cd "$pkgbase" - ./configure --prefix=/usr \ + + ./configure \ +--prefix=/usr \ --with-apxs=/usr/bin/apxs \ --with-python=/usr/bin/python + + # Build mod_wsgi for py3 make LDLIBS='-lpython3 -lpthread -ldl -lutil -lm' - # Build the Python 2 version cd "$srcdir/py2" + ./configure \ --prefix=/usr \ --with-apxs=/usr/bin/apxs \ --with-python=/usr/bin/python2 + + # Build mod_wsgi for py2 make } @@ -51,4 +56,4 @@ make -C py2 DESTDIR="$pkgdir" install } -# vim:set ts=2 sw=2 et: +# vim: ts=2 sw=2 et:
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Saturday, March 12, 2016 @ 08:39:48 Author: arodseth Revision: 166200 upgpkg: mod_wsgi 4.4.22-1 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-03-12 07:33:44 UTC (rev 166199) +++ PKGBUILD2016-03-12 07:39:48 UTC (rev 166200) @@ -5,7 +5,7 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') -pkgver=4.4.21 +pkgver=4.4.22 pkgrel=1 pkgdesc='Python2 WSGI adapter module for Apache' arch=('x86_64' 'i686')
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Saturday, October 24, 2015 @ 17:29:26 Author: arodseth Revision: 144900 upgpkg: mod_wsgi 4.4.21-1 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-10-24 15:14:02 UTC (rev 144899) +++ PKGBUILD2015-10-24 15:29:26 UTC (rev 144900) @@ -1,11 +1,11 @@ # $Id$ -# Maintainer: Alexander Rødseth+# Maintainer: Alexander F Rødseth # Contributor: Andrea Scarpino # Contributor: Ryan Coyner pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') -pkgver=4.4.11 +pkgver=4.4.21 pkgrel=1 pkgdesc='Python2 WSGI adapter module for Apache' arch=('x86_64' 'i686')
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Sunday, April 12, 2015 @ 02:56:18 Author: arodseth Revision: 131203 upgpkg: mod_wsgi 4.4.11-1 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-04-12 00:31:10 UTC (rev 131202) +++ PKGBUILD2015-04-12 00:56:18 UTC (rev 131203) @@ -5,7 +5,7 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') -pkgver=4.4.8 +pkgver=4.4.11 pkgrel=1 pkgdesc='Python2 WSGI adapter module for Apache' arch=('x86_64' 'i686')
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Tuesday, February 10, 2015 @ 19:29:29 Author: arodseth Revision: 127529 upgpkg: mod_wsgi 4.4.8-1 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-02-10 17:50:47 UTC (rev 127528) +++ PKGBUILD2015-02-10 18:29:29 UTC (rev 127529) @@ -5,7 +5,7 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') -pkgver=4.4.7 +pkgver=4.4.8 pkgrel=1 pkgdesc='Python2 WSGI adapter module for Apache' arch=('x86_64' 'i686')
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Sunday, February 8, 2015 @ 00:21:42 Author: arodseth Revision: 127260 upgpkg: mod_wsgi 4.4.7-1 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-02-07 23:06:33 UTC (rev 127259) +++ PKGBUILD2015-02-07 23:21:42 UTC (rev 127260) @@ -5,7 +5,7 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') -pkgver=4.4.5 +pkgver=4.4.7 pkgrel=1 pkgdesc='Python2 WSGI adapter module for Apache' arch=('x86_64' 'i686') @@ -39,6 +39,7 @@ pkgdesc='Python WSGI adapter module for Apache' depends=('apache' 'python') conflicts=('mod_wsgi2') + make -C $pkgbase DESTDIR=$pkgdir install } @@ -46,6 +47,7 @@ pkgdesc='Python2 WSGI adapter module for Apache' depends=('apache' 'python2') conflicts=('mod_wsgi') + make -C py2 DESTDIR=$pkgdir install }
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Wednesday, January 14, 2015 @ 09:53:55 Author: arodseth Revision: 125893 upgpkg: mod_wsgi 4.4.5-1 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-01-14 08:33:59 UTC (rev 125892) +++ PKGBUILD2015-01-14 08:53:55 UTC (rev 125893) @@ -5,7 +5,7 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') -pkgver=4.3.2 +pkgver=4.4.5 pkgrel=1 pkgdesc='Python2 WSGI adapter module for Apache' arch=('x86_64' 'i686')
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Thursday, November 13, 2014 @ 15:51:28 Author: arodseth Revision: 122523 upgpkg: mod_wsgi 4.3.2-1 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2014-11-13 14:46:51 UTC (rev 122522) +++ PKGBUILD2014-11-13 14:51:28 UTC (rev 122523) @@ -5,7 +5,7 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') -pkgver=4.3.1 +pkgver=4.3.2 pkgrel=1 pkgdesc='Python2 WSGI adapter module for Apache' arch=('x86_64' 'i686')
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Monday, November 3, 2014 @ 14:48:17 Author: arodseth Revision: 121744 upgpkg: mod_wsgi 4.3.1-1 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2014-11-03 13:48:01 UTC (rev 121743) +++ PKGBUILD2014-11-03 13:48:17 UTC (rev 121744) @@ -5,7 +5,7 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') -pkgver=4.3.0 +pkgver=4.3.1 pkgrel=1 pkgdesc='Python2 WSGI adapter module for Apache' arch=('x86_64' 'i686')
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Sunday, November 2, 2014 @ 21:33:34 Author: arodseth Revision: 121727 upgpkg: mod_wsgi 4.3.0-1 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2014-11-02 20:03:09 UTC (rev 121726) +++ PKGBUILD2014-11-02 20:33:34 UTC (rev 121727) @@ -5,7 +5,7 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') -pkgver=4.2.8 +pkgver=4.3.0 pkgrel=1 pkgdesc='Python2 WSGI adapter module for Apache' arch=('x86_64' 'i686')
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Wednesday, September 10, 2014 @ 09:56:36 Author: arodseth Revision: 118744 upgpkg: mod_wsgi 4.2.8-1 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-09-10 07:47:01 UTC (rev 118743) +++ PKGBUILD2014-09-10 07:56:36 UTC (rev 118744) @@ -5,22 +5,22 @@ pkgbase=mod_wsgi pkgname=($pkgbase 'mod_wsgi2') -pkgver=3.5 +pkgver=4.2.8 pkgrel=1 pkgdesc='Python2 WSGI adapter module for Apache' arch=('x86_64' 'i686') url='http://www.modwsgi.org/' license=('APACHE') -makedepends=('apache' 'python' 'python2') +makedepends=('apache' 'python' 'python2' 'git') install='mod_wsgi.install' -source=(https://github.com/GrahamDumpleton/$pkgname/archive/$pkgver.tar.gz;) -sha256sums=('f0674c38f0f568ece55610bcc6a775c179835c4cba23aa7f876d2a2a8520bf93') +source=(git://github.com/GrahamDumpleton/mod_wsgi#tag=$pkgver) +md5sums=('SKIP') build() { - cp -r $pkgbase-$pkgver py2 + cp -r $pkgbase py2 # Build the Python 3 version - cd $pkgbase-$pkgver + cd $pkgbase ./configure --prefix=/usr \ --with-apxs=/usr/bin/apxs \ --with-python=/usr/bin/python @@ -39,7 +39,7 @@ pkgdesc='Python WSGI adapter module for Apache' depends=('apache' 'python') conflicts=('mod_wsgi2') - make -C $pkgbase-$pkgver DESTDIR=$pkgdir install + make -C $pkgbase DESTDIR=$pkgdir install } package_mod_wsgi2() {
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Sunday, May 25, 2014 @ 12:39:00 Author: arodseth Revision: 111822 upgpkg: mod_wsgi 3.5-1 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD | 43 +++ 1 file changed, 31 insertions(+), 12 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-05-25 10:37:22 UTC (rev 111821) +++ PKGBUILD2014-05-25 10:39:00 UTC (rev 111822) @@ -3,31 +3,50 @@ # Contributor: Andrea Scarpino and...@archlinux.org # Contributor: Ryan Coyner rcoy...@gmail.com -pkgname=mod_wsgi -pkgver=3.4 -pkgrel=4 -pkgdesc='Python WSGI adapter module for Apache' +pkgbase=mod_wsgi +pkgname=($pkgbase 'mod_wsgi2') +pkgver=3.5 +pkgrel=1 +pkgdesc='Python2 WSGI adapter module for Apache' arch=('x86_64' 'i686') url='http://www.modwsgi.org/' license=('APACHE') -depends=('apache' 'python') -install=mod_wsgi.install -source=(http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz;) -sha256sums=('ae85c98e9e146840ab3c3e4490e6774f9bef0f99b9f679fca786b2adb5b4b6e8') +makedepends=('apache' 'python' 'python2') +install='mod_wsgi.install' +source=(https://github.com/GrahamDumpleton/$pkgname/archive/$pkgver.tar.gz;) +sha256sums=('f0674c38f0f568ece55610bcc6a775c179835c4cba23aa7f876d2a2a8520bf93') build() { - cd $srcdir/$pkgbase-$pkgver + cp -r $pkgbase-$pkgver py2 + # Build the Python 3 version + cd $pkgbase-$pkgver ./configure --prefix=/usr \ --with-apxs=/usr/bin/apxs \ --with-python=/usr/bin/python make LDLIBS='-lpython3 -lpthread -ldl -lutil -lm' + + # Build the Python 2 version + cd $srcdir/py2 + ./configure \ +--prefix=/usr \ +--with-apxs=/usr/bin/apxs \ +--with-python=/usr/bin/python2 + make } -package() { - cd $srcdir/$pkgbase-$pkgver +package_mod_wsgi() { + pkgdesc='Python WSGI adapter module for Apache' + depends=('apache' 'python') + conflicts=('mod_wsgi2') + make -C $pkgbase-$pkgver DESTDIR=$pkgdir install +} - make DESTDIR=$pkgdir install +package_mod_wsgi2() { + pkgdesc='Python2 WSGI adapter module for Apache' + depends=('apache' 'python2') + conflicts=('mod_wsgi') + make -C py2 DESTDIR=$pkgdir install } # vim:set ts=2 sw=2 et:
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Thursday, February 27, 2014 @ 20:30:16 Author: anatolik Revision: 106314 upgpkg: mod_wsgi 3.4-4 Recompile with apache 2.4 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2014-02-27 17:50:17 UTC (rev 106313) +++ PKGBUILD2014-02-27 19:30:16 UTC (rev 106314) @@ -5,7 +5,7 @@ pkgname=mod_wsgi pkgver=3.4 -pkgrel=3 +pkgrel=4 pkgdesc='Python WSGI adapter module for Apache' arch=('x86_64' 'i686') url='http://www.modwsgi.org/'
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Friday, August 9, 2013 @ 13:42:12 Author: arodseth Revision: 95319 upgpkg: mod_wsgi 3.4-3 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-08-09 09:21:36 UTC (rev 95318) +++ PKGBUILD2013-08-09 11:42:12 UTC (rev 95319) @@ -5,13 +5,12 @@ pkgname=mod_wsgi pkgver=3.4 -pkgrel=2 +pkgrel=3 pkgdesc='Python WSGI adapter module for Apache' arch=('x86_64' 'i686') url='http://www.modwsgi.org/' license=('APACHE') depends=('apache' 'python') -makedepends=('setconf') install=mod_wsgi.install source=(http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz;) sha256sums=('ae85c98e9e146840ab3c3e4490e6774f9bef0f99b9f679fca786b2adb5b4b6e8') @@ -20,10 +19,9 @@ cd $srcdir/$pkgbase-$pkgver ./configure --prefix=/usr \ ---with-apxs=/usr/sbin/apxs \ +--with-apxs=/usr/bin/apxs \ --with-python=/usr/bin/python - setconf Makefile LDLIBS '-lpython3 -lpthread -ldl -lutil -lm' - make + make LDLIBS='-lpython3 -lpthread -ldl -lutil -lm' } package() {
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Sunday, October 14, 2012 @ 00:15:48 Author: eric Revision: 168686 upgpkg: mod_wsgi 3.4-1 Upstream update Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-10-14 03:44:54 UTC (rev 168685) +++ PKGBUILD2012-10-14 04:15:48 UTC (rev 168686) @@ -3,8 +3,8 @@ # Contributor: Ryan Coyner rcoy...@gmail.com pkgname=mod_wsgi -pkgver=3.3 -pkgrel=3 +pkgver=3.4 +pkgrel=1 pkgdesc=Python WSGI adapter module for Apache arch=('i686' 'x86_64') url=http://www.modwsgi.org/; @@ -12,7 +12,7 @@ depends=('apache' 'python2') install=mod_wsgi.install source=(http://modwsgi.googlecode.com/files/${pkgname}-${pkgver}.tar.gz;) -md5sums=('6172bb2bbabcd0c25867c2bc06f99dbb') +md5sums=('f42d69190ea0c337ef259cbe8d94d985') build() { cd ${srcdir}/${pkgname}-${pkgver}
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Saturday, February 18, 2012 @ 10:18:33 Author: pierre Revision: 150576 upgpkg: mod_wsgi 3.3-3 rebuild old package Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-02-18 15:15:18 UTC (rev 150575) +++ PKGBUILD2012-02-18 15:18:33 UTC (rev 150576) @@ -4,16 +4,15 @@ pkgname=mod_wsgi pkgver=3.3 -pkgrel=2 +pkgrel=3 pkgdesc=Python WSGI adapter module for Apache arch=('i686' 'x86_64') url=http://www.modwsgi.org/; license=('APACHE') depends=('apache' 'python2') install=mod_wsgi.install -source=(http://modwsgi.googlecode.com/files/${pkgname}-${pkgver}.tar.gz) +source=(http://modwsgi.googlecode.com/files/${pkgname}-${pkgver}.tar.gz;) md5sums=('6172bb2bbabcd0c25867c2bc06f99dbb') -sha1sums=('f32d38e5d3ed5de1efd5abefb52678f833dc9166') build() { cd ${srcdir}/${pkgname}-${pkgver}
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Sunday, December 5, 2010 @ 19:38:58 Author: ibiru Revision: 102102 upgpkg: mod_wsgi 3.3-2 python 2.7.1 rebuild. FS#21990 Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-12-05 21:19:39 UTC (rev 102101) +++ PKGBUILD2010-12-06 00:38:58 UTC (rev 102102) @@ -4,7 +4,7 @@ pkgname=mod_wsgi pkgver=3.3 -pkgrel=1 +pkgrel=2 pkgdesc=Python WSGI adapter module for Apache arch=('i686' 'x86_64') url=http://www.modwsgi.org/; @@ -19,8 +19,8 @@ cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr \ --with-apxs=/usr/sbin/apxs \ ---with-python=/usr/bin/python2 || return 1 - make || return 1 +--with-python=/usr/bin/python2 + make } package() {
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD mod_wsgi.install)
Date: Saturday, September 11, 2010 @ 17:38:01 Author: eric Revision: 90477 upgpkg: mod_wsgi 3.3-1 Upstream update, Built for python2, make .install file quieter Modified: mod_wsgi/trunk/PKGBUILD mod_wsgi/trunk/mod_wsgi.install --+ PKGBUILD | 21 + mod_wsgi.install |8 2 files changed, 13 insertions(+), 16 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-09-11 21:31:37 UTC (rev 90476) +++ PKGBUILD2010-09-11 21:38:01 UTC (rev 90477) @@ -3,22 +3,27 @@ # Contributor: Ryan Coyner rcoy...@gmail.com pkgname=mod_wsgi -pkgver=3.2 +pkgver=3.3 pkgrel=1 pkgdesc=Python WSGI adapter module for Apache arch=('i686' 'x86_64') url=http://www.modwsgi.org/; license=('APACHE') -depends=('apache' 'python') -install=$pkgname.install -source=(http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz) -md5sums=('7e4f7f443f562f21f61d1bd06defa1d8') +depends=('apache' 'python2') +install=mod_wsgi.install +source=(http://modwsgi.googlecode.com/files/${pkgname}-${pkgver}.tar.gz) +md5sums=('6172bb2bbabcd0c25867c2bc06f99dbb') +sha1sums=('f32d38e5d3ed5de1efd5abefb52678f833dc9166') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr \ --with-apxs=/usr/sbin/apxs \ ---with-python=/usr/bin/python || return 1 +--with-python=/usr/bin/python2 || return 1 make || return 1 - make DESTDIR=${pkgdir} install || return 1 } + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} Modified: mod_wsgi.install === --- mod_wsgi.install2010-09-11 21:31:37 UTC (rev 90476) +++ mod_wsgi.install2010-09-11 21:38:01 UTC (rev 90477) @@ -12,11 +12,3 @@ == ENDOFMESSAGE } - -post_upgrade() { -post_install -} - -op=$1 -shift -$op $*
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Friday, April 2, 2010 @ 19:17:55 Author: giovanni Revision: 75750 upgpkg: mod_wsgi 3.2-1 upstream release Modified: mod_wsgi/trunk/PKGBUILD (contents, properties) --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-04-02 23:12:10 UTC (rev 75749) +++ PKGBUILD2010-04-02 23:17:55 UTC (rev 75750) @@ -1,9 +1,9 @@ -# $Id: $ +# $Id$ # Maintainer: Andrea Scarpino and...@archlinux.org # Contributor: Ryan Coyner rcoy...@gmail.com pkgname=mod_wsgi -pkgver=3.1 +pkgver=3.2 pkgrel=1 pkgdesc=Python WSGI adapter module for Apache arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ depends=('apache' 'python') install=$pkgname.install source=(http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz) -md5sums=('f9aabdcd7a3f66a2319d10793477f9e9') +md5sums=('7e4f7f443f562f21f61d1bd06defa1d8') build() { cd ${srcdir}/${pkgname}-${pkgver} Property changes on: mod_wsgi/trunk/PKGBUILD ___ Added: svn:keywords + Id
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Wednesday, December 2, 2009 @ 03:49:24 Author: andrea Revision: 60209 upgpkg: mod_wsgi 3.1-1 upstream release Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2009-12-02 08:45:27 UTC (rev 60208) +++ PKGBUILD2009-12-02 08:49:24 UTC (rev 60209) @@ -1,9 +1,9 @@ -# $Id:$ +# $Id: $ # Maintainer: Andrea Scarpino and...@archlinux.org # Contributor: Ryan Coyner rcoy...@gmail.com pkgname=mod_wsgi -pkgver=3.0 +pkgver=3.1 pkgrel=1 pkgdesc=Python WSGI adapter module for Apache arch=('i686' 'x86_64') @@ -12,12 +12,9 @@ depends=('apache' 'python') install=$pkgname.install source=(http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz) -md5sums=('7e9c8cd79ebe9bc273dc520e9e87261b') +md5sums=('f9aabdcd7a3f66a2319d10793477f9e9') build() { - # http://code.google.com/p/modwsgi/issues/detail?id=166 - unset CFLAGS - cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr \ --with-apxs=/usr/sbin/apxs \
[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD)
Date: Sunday, November 22, 2009 @ 11:06:00 Author: andrea Revision: 59338 upgpkg: mod_wsgi 3.0-1 upstream release Modified: mod_wsgi/trunk/PKGBUILD --+ PKGBUILD | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2009-11-22 15:59:48 UTC (rev 59337) +++ PKGBUILD2009-11-22 16:06:00 UTC (rev 59338) @@ -1,9 +1,9 @@ -# $Id$ +# $Id:$ # Maintainer: Andrea Scarpino and...@archlinux.org # Contributor: Ryan Coyner rcoy...@gmail.com pkgname=mod_wsgi -pkgver=2.6 +pkgver=3.0 pkgrel=1 pkgdesc=Python WSGI adapter module for Apache arch=('i686' 'x86_64') @@ -12,13 +12,16 @@ depends=('apache' 'python') install=$pkgname.install source=(http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz) -md5sums=('c313cd7a662024866ce3376cb5a76cf6') +md5sums=('7e9c8cd79ebe9bc273dc520e9e87261b') -build() { -cd ${srcdir}/${pkgname}-${pkgver} -./configure --prefix=/usr \ - --with-apxs=/usr/sbin/apxs \ - --with-python=/usr/bin/python || return 1 -make || return 1 -make DESTDIR=${pkgdir} install || return 1 +build() { + # http://code.google.com/p/modwsgi/issues/detail?id=166 + unset CFLAGS + + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr \ +--with-apxs=/usr/sbin/apxs \ +--with-python=/usr/bin/python || return 1 + make || return 1 + make DESTDIR=${pkgdir} install || return 1 }