mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/tagpy: Drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST tagpy-0.94.8.tar.gz 151986 SHA256 56eab8dd81510f8af18e19375a0ffd5cd25c8e555104be46a92c3dc08634a0dc SHA512 430ae545065e5358dab6021a47b3b176934bc0901058daace35f98b645f7b087859930566d951c30e0e03d91ad46771a5bddc2a6f48a7196cf66b994699b39f1 WHIRLPOOL 164a2c56f86c7174976c9c5d55cf4097a0b992809812524a63a6c2bf4476d189fdb8dad01431ce2b62337a57d25efea90081a2291bb396345dac15f79a3d3056
|
||||
DIST tagpy-2013.1.tar.gz 151463 SHA256 80481c78ce34878e7a1f3231acd781a3bf1b0b569c70ce0e8d63af58061152f4 SHA512 4068b33fcbee2d5037149fda3ad0b256a31187ee35146392d0e187acb1d8e57c249da5356cb396cb9f027ed47ff44016466a1faaea0912494535c631f8271d58 WHIRLPOOL b47f349bc7f328ee4c18856e7f817f35868529afa0b7a820ec614cb003b3f4c4c84fabc4bd6c5a93ce12d0721e9127cf0dc806df4977fbb505934b9ba5233c20
|
||||
|
||||
@@ -1,29 +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,11 @@
|
||||
.DEF_SIMPLE_METHOD(removeFrame)
|
||||
.DEF_SIMPLE_METHOD(removeFrames)
|
||||
|
||||
- .DEF_SIMPLE_METHOD(render)
|
||||
+ #if (TAGPY_TAGLIB_HEX_VERSION >= 0x10800)
|
||||
+ .DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)(int) const)
|
||||
+ #else
|
||||
+ .DEF_SIMPLE_METHOD(render)
|
||||
+ #endif
|
||||
;
|
||||
}
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.5 3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="Python Bindings for TagLib"
|
||||
HOMEPAGE="http://mathema.tician.de//software/tagpy https://pypi.python.org/pypi/tagpy"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 ~sparc x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND=">=dev-libs/boost-1.48[python,threads]
|
||||
>=media-libs/taglib-1.4"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
|
||||
src_prepare() {
|
||||
# bug #440740
|
||||
epatch "${FILESDIR}"/${P}-taglib-1.8_compat.patch
|
||||
|
||||
# Disable broken check for Distribute.
|
||||
sed -e "s/if 'distribute' not in setuptools.__file__:/if False:/" -i aksetup_helper.py
|
||||
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
"$(PYTHON)" configure.py \
|
||||
--taglib-inc-dir="${EPREFIX}/usr/include/taglib" \
|
||||
--boost-python-libname="boost_python-${PYTHON_ABI}-mt"
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins test/*
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user