diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-09-02 00:26:17 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 90ba8b97676fbb066f1cd0879a35e6ed884bbd5e (patch) | |
tree | dfc7ca16c97038c1e1aac46925d621f964f02a1e | |
parent | 39f0bf4de293d47e6d051163e970844d838ef6aa (diff) | |
download | slackbuilds-90ba8b97676fbb066f1cd0879a35e6ed884bbd5e.tar.gz |
python/tagpy: Updated for version 2013.1.
Fixes build failure with boost-1.58 on -current.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | python/tagpy/tagpy-0.94.8-taglib-1.8_compat.patch | 30 | ||||
-rw-r--r-- | python/tagpy/tagpy.SlackBuild | 4 | ||||
-rw-r--r-- | python/tagpy/tagpy.info | 6 |
3 files changed, 4 insertions, 36 deletions
diff --git a/python/tagpy/tagpy-0.94.8-taglib-1.8_compat.patch b/python/tagpy/tagpy-0.94.8-taglib-1.8_compat.patch deleted file mode 100644 index e6c9bef1d0..0000000000 --- a/python/tagpy/tagpy-0.94.8-taglib-1.8_compat.patch +++ /dev/null @@ -1,30 +0,0 @@ -https://github.com/inducer/tagpy/commit/d0759c0ec7d24ae8d1af395a1032521eb00b4d1f -https://github.com/inducer/tagpy/commit/813ec4f03bb4411c7ffd15dcb3974da04a3f109c - ---- tagpy-0.94.8/src/wrapper/id3.cpp -+++ tagpy-0.94.8/src/wrapper/id3.cpp -@@ -79,6 +79,10 @@ - MF_OL(setVolumeAdjustment, 1, 2); - MF_OL(setPeakVolume, 1, 2); - -+ #if (TAGPY_TAGLIB_HEX_VERSION >= 0x10800) -+ MF_OL(render, 0, 1) -+ #endif -+ - // ------------------------------------------------------------- - // MPEG - // ------------------------------------------------------------- -@@ -212,7 +216,12 @@ - .DEF_SIMPLE_METHOD(removeFrame) - .DEF_SIMPLE_METHOD(removeFrames) - -- .DEF_SIMPLE_METHOD(render) -+ #if (TAGPY_TAGLIB_HEX_VERSION >= 0x10800) -+ .DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)() const) -+ .DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)(int) const) -+ #else -+ .def("render", (ByteVector (cl::*)() const) &cl::render) -+ #endif - ; - } - diff --git a/python/tagpy/tagpy.SlackBuild b/python/tagpy/tagpy.SlackBuild index 7952f52f95..b4f8b61bb0 100644 --- a/python/tagpy/tagpy.SlackBuild +++ b/python/tagpy/tagpy.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=tagpy -VERSION=${VERSION:-0.94.8} +VERSION=${VERSION:-2013.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,8 +67,6 @@ find -L . \ # Remove ez_setup. We don't want to download distribute. sed -i -e '/distribute_setup/d' -e "s/^if.*/if False:/" aksetup_helper.py -patch -p1 < $CWD/tagpy-0.94.8-taglib-1.8_compat.patch - ./configure.py \ --taglib-inc-dir="/usr/include/taglib" \ --boost-python-libname="boost_python" \ diff --git a/python/tagpy/tagpy.info b/python/tagpy/tagpy.info index 34045f7289..a15756d2e9 100644 --- a/python/tagpy/tagpy.info +++ b/python/tagpy/tagpy.info @@ -1,8 +1,8 @@ PRGNAM="tagpy" -VERSION="0.94.8" +VERSION="2013.1" HOMEPAGE="http://mathema.tician.de/software/tagpy" -DOWNLOAD="http://pypi.python.org/packages/source/t/tagpy/tagpy-0.94.8.tar.gz" -MD5SUM="6baff63318cf90b9bc5a2497a0597802" +DOWNLOAD="https://pypi.python.org/packages/source/t/tagpy/tagpy-2013.1.tar.gz" +MD5SUM="96cbbd8adb8a6c0b9c21851979cc7c64" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |