# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils DESCRIPTION="pyalsaaudio: wrappers for accessing the ALSA api from Python" HOMEPAGE="http://www.sourceforge.net/projects/pyalsaaudio" SRC_URI="mirror://sourceforge/pyalsaaudio/${P}.tgz" # perhaps need updated license in licenses? LICENSE="PSF-2.4" SLOT="0" KEYWORDS="~x86" IUSE="alsa" # virtual python already pulled in by distutils DEPEND="media-libs/alsa-lib" # test files TESTFILES="mixertest.py playbacktest.py recordtest.py test.py" src_install() { distutils_src_install # html documentation dohtml -A tex -r doc/* #copy examples and test files dodir /usr/share/${PN} cp ${TESTFILES} ${D}/usr/share/${PN} }