f2088413e0
Yes, the EAPI numbers are actually strings, as defined in PMS: https://projects.gentoo.org/pms/6/pms.html#x1-290003.1.8
31 lines
650 B
Bash
31 lines
650 B
Bash
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
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
|
|
}
|