blob: bc9eea64f6c2563006bcdb776183665056862e4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/eyeD3/eyeD3-0.7.4-r2.ebuild,v 1.4 2014/06/19 11:24:11 klausman Exp $
EAPI=5
# For python3_{2,3}, see bugs 501338, 501340
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="Module for manipulating ID3 (v1 + v2) tags in Python"
HOMEPAGE="http://eyed3.nicfit.net/"
SRC_URI="http://eyed3.nicfit.net/releases/${P}.tgz"
LICENSE="GPL-2"
SLOT="0.7"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
IUSE=""
RDEPEND="!<${CATEGORY}/${PN}-0.6.18-r1:0"
DEPEND="${RDEPEND}
dev-python/paver[${PYTHON_USEDEP}]"
python_prepare_all() {
# prevent the build system from installing unwrapped bash script
# and prevent it from pulling optional python-magic
sed -i -e '/scripts/d' \
-e '/install_requires/d' pavement.py || die
distutils-r1_python_prepare_all
}
python_install() {
distutils-r1_python_install
sed -e "s:python:${EPYTHON}:" bin/eyeD3 > "${TMPDIR}"/eyeD3 || die
python_doexe "${TMPDIR}"/eyeD3
}
python_install_all() {
dodoc AUTHORS ChangeLog README.rst
distutils-r1_python_install_all
}
|