2017-03-31 16:57:00 +02:00
|
|
|
# Copyright 1999-2016 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2017-07-05 22:41:09 +02:00
|
|
|
EAPI="6"
|
2017-03-31 16:57:00 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|