summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2013-05-20 00:41:54 +0000
committerMatthew Thode <prometheanfire@gentoo.org>2013-05-20 00:41:54 +0000
commit63299669473ad11c437e93fd37487377bff073b7 (patch)
tree9258a1d7d14aca6b92f7d1f15b765da0f2656203 /dev-python/pyalsaaudio
parentversion bump (diff)
downloadgentoo-2-63299669473ad11c437e93fd37487377bff073b7.tar.gz
gentoo-2-63299669473ad11c437e93fd37487377bff073b7.tar.bz2
gentoo-2-63299669473ad11c437e93fd37487377bff073b7.zip
updating pyalsaaudio-0.7 to eapi5 via revbump to r1
(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
Diffstat (limited to 'dev-python/pyalsaaudio')
-rw-r--r--dev-python/pyalsaaudio/ChangeLog8
-rw-r--r--dev-python/pyalsaaudio/pyalsaaudio-0.7-r1.ebuild52
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-python/pyalsaaudio/ChangeLog b/dev-python/pyalsaaudio/ChangeLog
index e6143742642a..b3b6ba8125fb 100644
--- a/dev-python/pyalsaaudio/ChangeLog
+++ b/dev-python/pyalsaaudio/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pyalsaaudio
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyalsaaudio/ChangeLog,v 1.27 2013/04/05 17:37:33 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyalsaaudio/ChangeLog,v 1.28 2013/05/20 00:41:54 prometheanfire Exp $
+
+*pyalsaaudio-0.7-r1 (20 May 2013)
+
+ 20 May 2013; Matthew Thode <prometheanfire@gentoo.org>
+ +pyalsaaudio-0.7-r1.ebuild:
+ updating pyalsaaudio-0.7 to eapi5 via revbump to r1
05 Apr 2013; Agostino Sarubbo <ago@gentoo.org> pyalsaaudio-0.7.ebuild:
Stable for ppc, wrt bug #463451
diff --git a/dev-python/pyalsaaudio/pyalsaaudio-0.7-r1.ebuild b/dev-python/pyalsaaudio/pyalsaaudio-0.7-r1.ebuild
new file mode 100644
index 000000000000..8a9ccbcac1f8
--- /dev/null
+++ b/dev-python/pyalsaaudio/pyalsaaudio-0.7-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyalsaaudio/pyalsaaudio-0.7-r1.ebuild,v 1.1 2013/05/20 00:41:54 prometheanfire Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python wrapper for the ALSA API"
+HOMEPAGE="http://www.sourceforge.net/projects/pyalsaaudio http://pypi.python.org/pypi/pyalsaaudio"
+SRC_URI="mirror://sourceforge/pyalsaaudio/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND="media-libs/alsa-lib"
+DEPEND="${RDEPEND}
+ doc? ( >=dev-python/sphinx-0.6 )"
+RESTRICT="test"
+
+DOCS=( CHANGES README )
+
+src_compile() {
+ distutils_src_compile-r1
+
+ if use doc; then
+ cd doc
+ emake html || die "emake html failed"
+ fi
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" test.py -v
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install-r1
+
+ if use doc; then
+ dohtml -r doc/html/
+ fi
+
+ insinto /usr/share/doc/${PF}/examples
+ doins *test.py
+}