diff -Nru moin-1.9.7/debian/changelog moin-1.9.7/debian/changelog --- moin-1.9.7/debian/changelog 2015-08-24 14:53:46.000000000 +0000 +++ moin-1.9.7/debian/changelog 2015-08-25 19:30:39.000000000 +0000 @@ -1,3 +1,10 @@ +moin (1.9.7-2ubuntu3) wily; urgency=medium + + * debian/patches/pymysql-replacement.patch: Use pymysql as drop in + replacement for MySQLdb. + + -- Corey Bryant Tue, 25 Aug 2015 15:30:19 -0400 + moin (1.9.7-2ubuntu2) wily; urgency=medium * debian/control: Drop python-mysqldb in favor of python-pymysql. diff -Nru moin-1.9.7/debian/patches/pymysql-replacement.patch moin-1.9.7/debian/patches/pymysql-replacement.patch --- moin-1.9.7/debian/patches/pymysql-replacement.patch 1970-01-01 00:00:00.000000000 +0000 +++ moin-1.9.7/debian/patches/pymysql-replacement.patch 2015-08-25 19:30:13.000000000 +0000 @@ -0,0 +1,16 @@ +Description: Use pymysql as a drop-in replacement for MySQLdb. +Author: Corey Bryant +Forwarded: not-needed + +--- a/MoinMoin/auth/mysql_group.py ++++ b/MoinMoin/auth/mysql_group.py +@@ -8,6 +8,9 @@ + @license: GNU GPL, see COPYING for details. + """ + ++import pymysql ++pymysql.install_as_MySQLdb() ++ + import MySQLdb + + from MoinMoin import log diff -Nru moin-1.9.7/debian/patches/series moin-1.9.7/debian/patches/series --- moin-1.9.7/debian/patches/series 2015-08-24 13:39:40.000000000 +0000 +++ moin-1.9.7/debian/patches/series 2015-08-25 19:28:38.000000000 +0000 @@ -7,3 +7,4 @@ mail-verification.patch external_account_creation_check.patch avoid_empty_dir_creation.patch +pymysql-replacement.patch