32 lines
655 B
Bash
32 lines
655 B
Bash
|
# Copyright 1999-2016 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Id$
|
||
|
|
||
|
EAPI=6
|
||
|
|
||
|
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||
|
|
||
|
inherit distutils-r1
|
||
|
|
||
|
MY_PN="PySoundFile"
|
||
|
MY_P="${MY_PN}-${PV}"
|
||
|
|
||
|
DESCRIPTION="PySoundFile is an audio library based on libsndfile, CFFI, and NumPy"
|
||
|
HOMEPAGE="https://github.com/bastibe/PySoundFile"
|
||
|
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${PN}.${PV}.tar.gz"
|
||
|
|
||
|
LICENSE="PySoundFile-BSD-3"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~x86 ~amd64"
|
||
|
IUSE=""
|
||
|
|
||
|
DEPEND="dev-python/cffi
|
||
|
dev-python/numpy
|
||
|
media-libs/libsndfile"
|
||
|
|
||
|
S="${WORKDIR}/${MY_P}"
|
||
|
|
||
|
python_test() {
|
||
|
esetup.py test
|
||
|
}
|