[arch-commits] Commit in python2-tagpy/repos (6 files)
Date: Saturday, November 30, 2013 @ 14:22:34 Author: jelle Revision: 101709 archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: python2-tagpy/repos/community-staging-i686/ python2-tagpy/repos/community-staging-i686/PKGBUILD (from rev 101708, python2-tagpy/trunk/PKGBUILD) python2-tagpy/repos/community-staging-i686/taglib1.7.patch (from rev 101708, python2-tagpy/trunk/taglib1.7.patch) python2-tagpy/repos/community-staging-x86_64/ python2-tagpy/repos/community-staging-x86_64/PKGBUILD (from rev 101708, python2-tagpy/trunk/PKGBUILD) python2-tagpy/repos/community-staging-x86_64/taglib1.7.patch (from rev 101708, python2-tagpy/trunk/taglib1.7.patch) --+ community-staging-i686/PKGBUILD | 57 + community-staging-i686/taglib1.7.patch | 37 ++ community-staging-x86_64/PKGBUILD| 57 + community-staging-x86_64/taglib1.7.patch | 37 ++ 4 files changed, 188 insertions(+) Copied: python2-tagpy/repos/community-staging-i686/PKGBUILD (from rev 101708, python2-tagpy/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-11-30 13:22:34 UTC (rev 101709) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Alexander Rødseth rods...@gmail.com +# Contributor: Andrea Scarpino and...@archlinux.org +# Contributor: Callan Barrett wizzomafi...@gmail.com +# Contributor: Scott Horowitz stonecr...@gmail.com + +pkgname=python2-tagpy +pkgver=2013.1 +pkgrel=1 +pkgdesc='Python bindings for TagLib' +arch=('x86_64' 'i686') +url='http://pypi.python.org/pypi/tagpy' +license=('MIT') +depends=('python2' 'taglib' 'boost-libs') +makedepends=('python2-setuptools' 'boost') +replaces=('tagpy') +conflicts=('tagpy') +source=(http://pypi.python.org/packages/source/t/tagpy/tagpy-$pkgver.tar.gz; +'taglib1.7.patch') +sha256sums=('80481c78ce34878e7a1f3231acd781a3bf1b0b569c70ce0e8d63af58061152f4' +'f6cc34f8d4d1186270943cd7e1ad3c9478ae7064ab9b2cddf7760d493295cd26') + +prepare() { + cd tagpy-$pkgver + +# patch -p1 -i $srcdir/taglib1.7.patch + sed -i -e s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2| \ +$(find . -name '*.py') + +} + +build() { + cd tagpy-$pkgver + + ./configure.py \ +--taglib-lib-dir=/usr/lib/ \ +--taglib-inc-dir=/usr/include/taglib/ \ +--boost-inc-dir=/usr/include/boost/ \ +--boost-lib-dir=/usr/lib/ \ +--boost-python-libname=boost_python + python2 setup.py build +} + +check(){ + cd tagpy-$pkgver + + python2 setup.py test +} + +package(){ + cd tagpy-$pkgver + + python2 setup.py install --root=$pkgdir --optimize=1 + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: Copied: python2-tagpy/repos/community-staging-i686/taglib1.7.patch (from rev 101708, python2-tagpy/trunk/taglib1.7.patch) === --- community-staging-i686/taglib1.7.patch (rev 0) +++ community-staging-i686/taglib1.7.patch 2013-11-30 13:22:34 UTC (rev 101709) @@ -0,0 +1,37 @@ +From: Andreas Kloeckner inf...@tiker.net +Date: Tue, 25 Dec 2012 19:36:42 + (+0100) +Subject: Update tagpy for TagLib 1.7 compatibility. (patch by unknown Gentoo user, via Lars... +X-Git-Tag: v2013.1~6 +X-Git-Url: http://git.tiker.net/tagpy.git/commitdiff_plain/d0759c0ec7d24ae8d1af395a1032521eb00b4d1f?hp=c2801c31493f77d7c33d20fa20f0b298b0f322ef + +Update tagpy for TagLib 1.7 compatibility. (patch by unknown Gentoo user, via Lars Wendler) +--- + +diff --git a/src/wrapper/id3.cpp b/src/wrapper/id3.cpp +index a76f7ef..5c08ae1 100644 +--- a/src/wrapper/id3.cpp b/src/wrapper/id3.cpp +@@ -79,6 +79,10 @@ namespace + MF_OL(setVolumeAdjustment, 1, 2); + MF_OL(setPeakVolume, 1, 2); + ++ #if (TAGPY_TAGLIB_HEX_VERSION = 0x10700) ++MF_OL(render, 0, 1) ++ #endif ++ + // - + // MPEG + // - +@@ -212,7 +216,11 @@ void exposeID3() + .DEF_SIMPLE_METHOD(removeFrame) + .DEF_SIMPLE_METHOD(removeFrames) + +- .DEF_SIMPLE_METHOD(render) ++ #if (TAGPY_TAGLIB_HEX_VERSION = 0x10700) ++.DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)(int) const) ++ #else ++.DEF_SIMPLE_METHOD(render) ++ #endif + ; + } + Copied: python2-tagpy/repos/community-staging-x86_64/PKGBUILD (from rev 101708, python2-tagpy/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2013-11-30 13:22:34 UTC (rev 101709) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Alexander
[arch-commits] Commit in python2-tagpy/repos (6 files)
Date: Tuesday, July 9, 2013 @ 16:13:22 Author: arodseth Revision: 93744 archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: python2-tagpy/repos/community-staging-i686/ python2-tagpy/repos/community-staging-i686/PKGBUILD (from rev 93743, python2-tagpy/trunk/PKGBUILD) python2-tagpy/repos/community-staging-i686/taglib1.7.patch (from rev 93743, python2-tagpy/trunk/taglib1.7.patch) python2-tagpy/repos/community-staging-x86_64/ python2-tagpy/repos/community-staging-x86_64/PKGBUILD (from rev 93743, python2-tagpy/trunk/PKGBUILD) python2-tagpy/repos/community-staging-x86_64/taglib1.7.patch (from rev 93743, python2-tagpy/trunk/taglib1.7.patch) --+ community-staging-i686/PKGBUILD | 56 + community-staging-i686/taglib1.7.patch | 37 +++ community-staging-x86_64/PKGBUILD| 56 + community-staging-x86_64/taglib1.7.patch | 37 +++ 4 files changed, 186 insertions(+) Copied: python2-tagpy/repos/community-staging-i686/PKGBUILD (from rev 93743, python2-tagpy/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-07-09 14:13:22 UTC (rev 93744) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Alexander Rødseth rods...@gmail.com +# Contributor: Andrea Scarpino and...@archlinux.org +# Contributor: Callan Barrett wizzomafi...@gmail.com +# Contributor: Scott Horowitz stonecr...@gmail.com + +pkgname=python2-tagpy +pkgver=0.94.8 +pkgrel=4 +pkgdesc='Python bindings for TagLib' +arch=('x86_64' 'i686') +url='http://pypi.python.org/pypi/tagpy' +license=('MIT') +depends=('python2' 'taglib' 'boost-libs') +makedepends=('python2-distribute' 'boost') +replaces=('tagpy') +conflicts=('tagpy') +source=(http://pypi.python.org/packages/source/t/tagpy/tagpy-$pkgver.tar.gz; +'taglib1.7.patch') +sha256sums=('56eab8dd81510f8af18e19375a0ffd5cd25c8e555104be46a92c3dc08634a0dc' +'f6cc34f8d4d1186270943cd7e1ad3c9478ae7064ab9b2cddf7760d493295cd26') + +prepare() { + cd tagpy-$pkgver + + patch -p1 -i $srcdir/taglib1.7.patch + sed -i -e s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2| \ +$(find . -name '*.py') +} + +build() { + cd tagpy-$pkgver + + ./configure.py \ +--taglib-lib-dir=/usr/lib/ \ +--taglib-inc-dir=/usr/include/taglib/ \ +--boost-inc-dir=/usr/include/boost/ \ +--boost-lib-dir=/usr/lib/ \ +--boost-python-libname=boost_python + python2 setup.py build +} + +check(){ + cd tagpy-$pkgver + + python2 setup.py test +} + +package(){ + cd tagpy-$pkgver + + python2 setup.py install --root=$pkgdir --optimize=1 + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: Copied: python2-tagpy/repos/community-staging-i686/taglib1.7.patch (from rev 93743, python2-tagpy/trunk/taglib1.7.patch) === --- community-staging-i686/taglib1.7.patch (rev 0) +++ community-staging-i686/taglib1.7.patch 2013-07-09 14:13:22 UTC (rev 93744) @@ -0,0 +1,37 @@ +From: Andreas Kloeckner inf...@tiker.net +Date: Tue, 25 Dec 2012 19:36:42 + (+0100) +Subject: Update tagpy for TagLib 1.7 compatibility. (patch by unknown Gentoo user, via Lars... +X-Git-Tag: v2013.1~6 +X-Git-Url: http://git.tiker.net/tagpy.git/commitdiff_plain/d0759c0ec7d24ae8d1af395a1032521eb00b4d1f?hp=c2801c31493f77d7c33d20fa20f0b298b0f322ef + +Update tagpy for TagLib 1.7 compatibility. (patch by unknown Gentoo user, via Lars Wendler) +--- + +diff --git a/src/wrapper/id3.cpp b/src/wrapper/id3.cpp +index a76f7ef..5c08ae1 100644 +--- a/src/wrapper/id3.cpp b/src/wrapper/id3.cpp +@@ -79,6 +79,10 @@ namespace + MF_OL(setVolumeAdjustment, 1, 2); + MF_OL(setPeakVolume, 1, 2); + ++ #if (TAGPY_TAGLIB_HEX_VERSION = 0x10700) ++MF_OL(render, 0, 1) ++ #endif ++ + // - + // MPEG + // - +@@ -212,7 +216,11 @@ void exposeID3() + .DEF_SIMPLE_METHOD(removeFrame) + .DEF_SIMPLE_METHOD(removeFrames) + +- .DEF_SIMPLE_METHOD(render) ++ #if (TAGPY_TAGLIB_HEX_VERSION = 0x10700) ++.DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)(int) const) ++ #else ++.DEF_SIMPLE_METHOD(render) ++ #endif + ; + } + Copied: python2-tagpy/repos/community-staging-x86_64/PKGBUILD (from rev 93743, python2-tagpy/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2013-07-09 14:13:22 UTC (rev 93744) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Alexander Rødseth
[arch-commits] Commit in python2-tagpy/repos (6 files)
Date: Wednesday, March 27, 2013 @ 20:18:33 Author: arodseth Revision: 87131 archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: python2-tagpy/repos/community-staging-i686/ python2-tagpy/repos/community-staging-i686/PKGBUILD (from rev 87130, python2-tagpy/trunk/PKGBUILD) python2-tagpy/repos/community-staging-i686/taglib1.7.patch (from rev 87130, python2-tagpy/trunk/taglib1.7.patch) python2-tagpy/repos/community-staging-x86_64/ python2-tagpy/repos/community-staging-x86_64/PKGBUILD (from rev 87130, python2-tagpy/trunk/PKGBUILD) python2-tagpy/repos/community-staging-x86_64/taglib1.7.patch (from rev 87130, python2-tagpy/trunk/taglib1.7.patch) --+ community-staging-i686/PKGBUILD | 53 + community-staging-i686/taglib1.7.patch | 37 community-staging-x86_64/PKGBUILD| 53 + community-staging-x86_64/taglib1.7.patch | 37 4 files changed, 180 insertions(+) Copied: python2-tagpy/repos/community-staging-i686/PKGBUILD (from rev 87130, python2-tagpy/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-03-27 19:18:33 UTC (rev 87131) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Alexander Rødseth rods...@gmail.com +# Contributor: Andrea Scarpino and...@archlinux.org +# Contributor: Callan Barrett wizzomafi...@gmail.com +# Contributor: Scott Horowitz stonecr...@gmail.com + +pkgname=python2-tagpy +pkgver=0.94.8 +pkgrel=3 +pkgdesc='Python bindings for TagLib' +arch=('x86_64' 'i686') +url='http://pypi.python.org/pypi/tagpy' +license=('MIT') +depends=('python2' 'taglib' 'boost-libs') +makedepends=('python2-distribute' 'boost') +replaces=('tagpy') +conflicts=('tagpy') +source=(http://pypi.python.org/packages/source/t/tagpy/tagpy-$pkgver.tar.gz; +'taglib1.7.patch') +sha256sums=('56eab8dd81510f8af18e19375a0ffd5cd25c8e555104be46a92c3dc08634a0dc' +'f6cc34f8d4d1186270943cd7e1ad3c9478ae7064ab9b2cddf7760d493295cd26') + +build() { + cd tagpy-$pkgver + + patch -p1 -i $srcdir/taglib1.7.patch + + sed -i -e s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2| \ +$(find . -name '*.py') + + ./configure.py \ +--taglib-lib-dir=/usr/lib/ \ +--taglib-inc-dir=/usr/include/taglib/ \ +--boost-inc-dir=/usr/include/boost/ \ +--boost-lib-dir=/usr/lib/ \ +--boost-python-libname=boost_python + python2 setup.py build +} + +check(){ + cd tagpy-$pkgver + + python2 setup.py test +} + +package(){ + cd tagpy-$pkgver + + python2 setup.py install --root=$pkgdir --optimize=1 + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: Copied: python2-tagpy/repos/community-staging-i686/taglib1.7.patch (from rev 87130, python2-tagpy/trunk/taglib1.7.patch) === --- community-staging-i686/taglib1.7.patch (rev 0) +++ community-staging-i686/taglib1.7.patch 2013-03-27 19:18:33 UTC (rev 87131) @@ -0,0 +1,37 @@ +From: Andreas Kloeckner inf...@tiker.net +Date: Tue, 25 Dec 2012 19:36:42 + (+0100) +Subject: Update tagpy for TagLib 1.7 compatibility. (patch by unknown Gentoo user, via Lars... +X-Git-Tag: v2013.1~6 +X-Git-Url: http://git.tiker.net/tagpy.git/commitdiff_plain/d0759c0ec7d24ae8d1af395a1032521eb00b4d1f?hp=c2801c31493f77d7c33d20fa20f0b298b0f322ef + +Update tagpy for TagLib 1.7 compatibility. (patch by unknown Gentoo user, via Lars Wendler) +--- + +diff --git a/src/wrapper/id3.cpp b/src/wrapper/id3.cpp +index a76f7ef..5c08ae1 100644 +--- a/src/wrapper/id3.cpp b/src/wrapper/id3.cpp +@@ -79,6 +79,10 @@ namespace + MF_OL(setVolumeAdjustment, 1, 2); + MF_OL(setPeakVolume, 1, 2); + ++ #if (TAGPY_TAGLIB_HEX_VERSION = 0x10700) ++MF_OL(render, 0, 1) ++ #endif ++ + // - + // MPEG + // - +@@ -212,7 +216,11 @@ void exposeID3() + .DEF_SIMPLE_METHOD(removeFrame) + .DEF_SIMPLE_METHOD(removeFrames) + +- .DEF_SIMPLE_METHOD(render) ++ #if (TAGPY_TAGLIB_HEX_VERSION = 0x10700) ++.DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)(int) const) ++ #else ++.DEF_SIMPLE_METHOD(render) ++ #endif + ; + } + Copied: python2-tagpy/repos/community-staging-x86_64/PKGBUILD (from rev 87130, python2-tagpy/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2013-03-27 19:18:33 UTC (rev 87131) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Alexander Rødseth rods...@gmail.com +# Contributor: Andrea
[arch-commits] Commit in python2-tagpy/repos (6 files)
Date: Friday, January 25, 2013 @ 09:19:37 Author: andrea Revision: 82869 archrelease: copy trunk to community-i686, community-x86_64 Added: python2-tagpy/repos/community-i686/ python2-tagpy/repos/community-i686/PKGBUILD (from rev 82868, python2-tagpy/trunk/PKGBUILD) python2-tagpy/repos/community-i686/taglib1.7.patch (from rev 82868, python2-tagpy/trunk/taglib1.7.patch) python2-tagpy/repos/community-x86_64/ python2-tagpy/repos/community-x86_64/PKGBUILD (from rev 82868, python2-tagpy/trunk/PKGBUILD) python2-tagpy/repos/community-x86_64/taglib1.7.patch (from rev 82868, python2-tagpy/trunk/taglib1.7.patch) --+ community-i686/PKGBUILD | 47 + community-i686/taglib1.7.patch | 37 + community-x86_64/PKGBUILD| 47 + community-x86_64/taglib1.7.patch | 37 + 4 files changed, 168 insertions(+) Copied: python2-tagpy/repos/community-i686/PKGBUILD (from rev 82868, python2-tagpy/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-01-25 08:19:37 UTC (rev 82869) @@ -0,0 +1,47 @@ +# $Id$ +# Contributor: Andrea Scarpino and...@archlinux.org +# Contributor: Callan Barrett wizzomafi...@gmail.com +# Contributor: Scott Horowitz stonecr...@gmail.com + +pkgname=python2-tagpy +pkgver=0.94.8 +pkgrel=1 +pkgdesc=Python bindings for TagLib +arch=('i686' 'x86_64') +url=http://pypi.python.org/pypi/tagpy; +license=('MIT') +depends=('python2' 'taglib' 'boost-libs') +makedepends=('python2-distribute' 'boost') +replaces=('tagpy') +conflicts=('tagpy') +source=(http://pypi.python.org/packages/source/t/tagpy/tagpy-$pkgver.tar.gz; +'taglib1.7.patch') +md5sums=('6baff63318cf90b9bc5a2497a0597802' + '5b47cefe5fad98a093232256779da345') + +build() { + cd tagpy-${pkgver} + + patch -p1 -i ${srcdir}/taglib1.7.patch + + sed -i -e s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2| \ +$(find . -name '*.py') + + ./configure.py --taglib-lib-dir=/usr/lib/ \ + --taglib-inc-dir=/usr/include/taglib/ \ + --boost-inc-dir=/usr/include/boost/ \ + --boost-lib-dir=/usr/lib/ \ + --boost-python-libname=boost_python + python2 setup.py build +} + +package(){ + cd tagpy-${pkgver} + python2 setup.py install --root=${pkgdir} --optimize=1 + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} + +check(){ + cd tagpy-${pkgver} + python2 setup.py test +} Copied: python2-tagpy/repos/community-i686/taglib1.7.patch (from rev 82868, python2-tagpy/trunk/taglib1.7.patch) === --- community-i686/taglib1.7.patch (rev 0) +++ community-i686/taglib1.7.patch 2013-01-25 08:19:37 UTC (rev 82869) @@ -0,0 +1,37 @@ +From: Andreas Kloeckner inf...@tiker.net +Date: Tue, 25 Dec 2012 19:36:42 + (+0100) +Subject: Update tagpy for TagLib 1.7 compatibility. (patch by unknown Gentoo user, via Lars... +X-Git-Tag: v2013.1~6 +X-Git-Url: http://git.tiker.net/tagpy.git/commitdiff_plain/d0759c0ec7d24ae8d1af395a1032521eb00b4d1f?hp=c2801c31493f77d7c33d20fa20f0b298b0f322ef + +Update tagpy for TagLib 1.7 compatibility. (patch by unknown Gentoo user, via Lars Wendler) +--- + +diff --git a/src/wrapper/id3.cpp b/src/wrapper/id3.cpp +index a76f7ef..5c08ae1 100644 +--- a/src/wrapper/id3.cpp b/src/wrapper/id3.cpp +@@ -79,6 +79,10 @@ namespace + MF_OL(setVolumeAdjustment, 1, 2); + MF_OL(setPeakVolume, 1, 2); + ++ #if (TAGPY_TAGLIB_HEX_VERSION = 0x10700) ++MF_OL(render, 0, 1) ++ #endif ++ + // - + // MPEG + // - +@@ -212,7 +216,11 @@ void exposeID3() + .DEF_SIMPLE_METHOD(removeFrame) + .DEF_SIMPLE_METHOD(removeFrames) + +- .DEF_SIMPLE_METHOD(render) ++ #if (TAGPY_TAGLIB_HEX_VERSION = 0x10700) ++.DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)(int) const) ++ #else ++.DEF_SIMPLE_METHOD(render) ++ #endif + ; + } + Copied: python2-tagpy/repos/community-x86_64/PKGBUILD (from rev 82868, python2-tagpy/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-01-25 08:19:37 UTC (rev 82869) @@ -0,0 +1,47 @@ +# $Id$ +# Contributor: Andrea Scarpino and...@archlinux.org +# Contributor: Callan Barrett wizzomafi...@gmail.com +# Contributor: Scott Horowitz stonecr...@gmail.com + +pkgname=python2-tagpy +pkgver=0.94.8 +pkgrel=1 +pkgdesc=Python bindings for TagLib +arch=('i686' 'x86_64') +url=http://pypi.python.org/pypi/tagpy; +license=('MIT') +depends=('python2' 'taglib'
[arch-commits] Commit in python2-tagpy/repos (6 files)
Date: Friday, January 25, 2013 @ 09:24:58 Author: andrea Revision: 82871 archrelease: copy trunk to staging-i686, staging-x86_64 Added: python2-tagpy/repos/staging-i686/ python2-tagpy/repos/staging-i686/PKGBUILD (from rev 82870, python2-tagpy/trunk/PKGBUILD) python2-tagpy/repos/staging-i686/taglib1.7.patch (from rev 82870, python2-tagpy/trunk/taglib1.7.patch) python2-tagpy/repos/staging-x86_64/ python2-tagpy/repos/staging-x86_64/PKGBUILD (from rev 82870, python2-tagpy/trunk/PKGBUILD) python2-tagpy/repos/staging-x86_64/taglib1.7.patch (from rev 82870, python2-tagpy/trunk/taglib1.7.patch) + staging-i686/PKGBUILD | 47 +++ staging-i686/taglib1.7.patch | 37 ++ staging-x86_64/PKGBUILD| 47 +++ staging-x86_64/taglib1.7.patch | 37 ++ 4 files changed, 168 insertions(+) Copied: python2-tagpy/repos/staging-i686/PKGBUILD (from rev 82870, python2-tagpy/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2013-01-25 08:24:58 UTC (rev 82871) @@ -0,0 +1,47 @@ +# $Id$ +# Contributor: Andrea Scarpino and...@archlinux.org +# Contributor: Callan Barrett wizzomafi...@gmail.com +# Contributor: Scott Horowitz stonecr...@gmail.com + +pkgname=python2-tagpy +pkgver=0.94.8 +pkgrel=2 +pkgdesc=Python bindings for TagLib +arch=('i686' 'x86_64') +url=http://pypi.python.org/pypi/tagpy; +license=('MIT') +depends=('python2' 'taglib' 'boost-libs') +makedepends=('python2-distribute' 'boost') +replaces=('tagpy') +conflicts=('tagpy') +source=(http://pypi.python.org/packages/source/t/tagpy/tagpy-$pkgver.tar.gz; +'taglib1.7.patch') +md5sums=('6baff63318cf90b9bc5a2497a0597802' + '5b47cefe5fad98a093232256779da345') + +build() { + cd tagpy-${pkgver} + + patch -p1 -i ${srcdir}/taglib1.7.patch + + sed -i -e s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2| \ +$(find . -name '*.py') + + ./configure.py --taglib-lib-dir=/usr/lib/ \ + --taglib-inc-dir=/usr/include/taglib/ \ + --boost-inc-dir=/usr/include/boost/ \ + --boost-lib-dir=/usr/lib/ \ + --boost-python-libname=boost_python + python2 setup.py build +} + +package(){ + cd tagpy-${pkgver} + python2 setup.py install --root=${pkgdir} --optimize=1 + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} + +check(){ + cd tagpy-${pkgver} + python2 setup.py test +} Copied: python2-tagpy/repos/staging-i686/taglib1.7.patch (from rev 82870, python2-tagpy/trunk/taglib1.7.patch) === --- staging-i686/taglib1.7.patch(rev 0) +++ staging-i686/taglib1.7.patch2013-01-25 08:24:58 UTC (rev 82871) @@ -0,0 +1,37 @@ +From: Andreas Kloeckner inf...@tiker.net +Date: Tue, 25 Dec 2012 19:36:42 + (+0100) +Subject: Update tagpy for TagLib 1.7 compatibility. (patch by unknown Gentoo user, via Lars... +X-Git-Tag: v2013.1~6 +X-Git-Url: http://git.tiker.net/tagpy.git/commitdiff_plain/d0759c0ec7d24ae8d1af395a1032521eb00b4d1f?hp=c2801c31493f77d7c33d20fa20f0b298b0f322ef + +Update tagpy for TagLib 1.7 compatibility. (patch by unknown Gentoo user, via Lars Wendler) +--- + +diff --git a/src/wrapper/id3.cpp b/src/wrapper/id3.cpp +index a76f7ef..5c08ae1 100644 +--- a/src/wrapper/id3.cpp b/src/wrapper/id3.cpp +@@ -79,6 +79,10 @@ namespace + MF_OL(setVolumeAdjustment, 1, 2); + MF_OL(setPeakVolume, 1, 2); + ++ #if (TAGPY_TAGLIB_HEX_VERSION = 0x10700) ++MF_OL(render, 0, 1) ++ #endif ++ + // - + // MPEG + // - +@@ -212,7 +216,11 @@ void exposeID3() + .DEF_SIMPLE_METHOD(removeFrame) + .DEF_SIMPLE_METHOD(removeFrames) + +- .DEF_SIMPLE_METHOD(render) ++ #if (TAGPY_TAGLIB_HEX_VERSION = 0x10700) ++.DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)(int) const) ++ #else ++.DEF_SIMPLE_METHOD(render) ++ #endif + ; + } + Copied: python2-tagpy/repos/staging-x86_64/PKGBUILD (from rev 82870, python2-tagpy/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2013-01-25 08:24:58 UTC (rev 82871) @@ -0,0 +1,47 @@ +# $Id$ +# Contributor: Andrea Scarpino and...@archlinux.org +# Contributor: Callan Barrett wizzomafi...@gmail.com +# Contributor: Scott Horowitz stonecr...@gmail.com + +pkgname=python2-tagpy +pkgver=0.94.8 +pkgrel=2 +pkgdesc=Python bindings for TagLib +arch=('i686' 'x86_64') +url=http://pypi.python.org/pypi/tagpy; +license=('MIT') +depends=('python2' 'taglib' 'boost-libs')