From 41d450c89b1c67c037c7f6fc1e91cfb4072c4c95 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sat, 8 Dec 2012 13:50:21 -0600 Subject: mythv: cherry picked python bindings error suppression by brfransen --- abs/core/mythtv/stable-0.25/mythtv/PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD index efe04ec..36c8bab 100644 --- a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD +++ b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD @@ -14,7 +14,7 @@ url="http://www.mythtv.org/" license=('GPL') depends=('mysql-clients' 'qt' - 'qtwebkit' + 'qtwebkit' 'lame' 'lirc-utils' 'ffmpeg' @@ -102,6 +102,9 @@ build() { #sed -i -e "s/\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`/$pkgver/" version.pro #find bindings/python contrib -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' + + #Fix Python DepreciationWarning + sed -i 's/return super(Artwork, cls).__new__(cls, attr, parent, imagetype)/return super(Artwork, cls).__new__(cls)/' ${srcdir}/mythtv/bindings/python/MythTV/dataheap.py ARCH=${CARCH/_/-} ./configure --prefix=/usr --cpu=${ARCH} \ -- cgit v0.12