From 7aa20ff616a737e55a13277c4ab92e7d2cd5168f Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sat, 8 Dec 2012 13:50:21 -0600 Subject: mythtv: latest 0.25-fixes and fix Python DepreciationWarning --- abs/core/mythtv/stable-0.25/git_src/git_hash | 2 +- abs/core/mythtv/stable-0.25/mythtv/PKGBUILD | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/abs/core/mythtv/stable-0.25/git_src/git_hash b/abs/core/mythtv/stable-0.25/git_src/git_hash index 5ec817f..a355c36 100644 --- a/abs/core/mythtv/stable-0.25/git_src/git_hash +++ b/abs/core/mythtv/stable-0.25/git_src/git_hash @@ -1 +1 @@ -fe9f6fab3b9c43c98067ff0c3d62f136f2858d60 +0b6040610e74eb01146f37e0f0630f503f8b6e78 diff --git a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD index ddf6407..6134767 100644 --- a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD +++ b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD @@ -6,7 +6,7 @@ pkgname=mythtv pkgver=0.25 -pkgrel=15 +pkgrel=16 commit_hash=`cat ../git_src/git_hash` pkgdesc="A Homebrew PVR project $commit_hash" arch=('i686' 'x86_64') @@ -92,6 +92,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