summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.25
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2012-12-08 19:50:21 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-11 19:44:25 (GMT)
commit41d450c89b1c67c037c7f6fc1e91cfb4072c4c95 (patch)
treeee44bea2b7c9e00ca159fe568fcc3502436b7372 /abs/core/mythtv/stable-0.25
parent913803756a75fd9d97fbf2f5c298b8fa61a29ec2 (diff)
downloadlinhes_pkgbuild-41d450c89b1c67c037c7f6fc1e91cfb4072c4c95.zip
linhes_pkgbuild-41d450c89b1c67c037c7f6fc1e91cfb4072c4c95.tar.gz
linhes_pkgbuild-41d450c89b1c67c037c7f6fc1e91cfb4072c4c95.tar.bz2
mythv: cherry picked python bindings error suppression by brfransen
Diffstat (limited to 'abs/core/mythtv/stable-0.25')
-rw-r--r--abs/core/mythtv/stable-0.25/mythtv/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
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} \