diff options
Diffstat (limited to 'python')
-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 e6c9bef1d003f..0000000000000 --- 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 7952f52f956a7..b4f8b61bb0724 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 34045f7289dd6..a15756d2e9638 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="" |