summaryrefslogtreecommitdiff
blob: 03f00e6a69a7b903cea294838eae35319403a279 (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymad/pymad-0.6-r1.ebuild,v 1.1 2013/08/10 11:14:42 mgorny Exp $

EAPI=5

PYTHON_COMPAT=( python{2_6,2_7} )

inherit distutils-r1

DESCRIPTION="Python wrapper for libmad MP3 decoding in python"
HOMEPAGE="http://www.spacepants.org/src/pymad/"
SRC_URI="http://www.spacepants.org/src/pymad/download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND="media-libs/libmad"
RDEPEND="${DEPEND}"

python_configure_all() {
	set -- "${PYTHON}" config_unix.py --prefix "${EPREFIX}/usr"
	echo "${@}"
	"${@}" || die "Configuration failed"
}