summaryrefslogtreecommitdiff
path: root/dev-python/pyalsaaudio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pyalsaaudio
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyalsaaudio')
-rw-r--r--dev-python/pyalsaaudio/Manifest7
-rw-r--r--dev-python/pyalsaaudio/metadata.xml12
-rw-r--r--dev-python/pyalsaaudio/pyalsaaudio-0.7-r2.ebuild36
-rw-r--r--dev-python/pyalsaaudio/pyalsaaudio-0.8.2.ebuild43
4 files changed, 98 insertions, 0 deletions
diff --git a/dev-python/pyalsaaudio/Manifest b/dev-python/pyalsaaudio/Manifest
new file mode 100644
index 000000000000..113ca5746c17
--- /dev/null
+++ b/dev-python/pyalsaaudio/Manifest
@@ -0,0 +1,7 @@
+DIST pyalsaaudio-0.7.tar.gz 124577 SHA256 bbd5a9eb351def673800707f48e64680685f397e29da72ea4c9355e1a2b2a0fd SHA512 aea46ebc4a59c791e318e58fa7c307b73ea7e1eafdd6b2055df312e26e8d4868ca582b76dd2f203cb7c632a25e1bfd066f6f9522484aa5db51f404e5f99a38cc WHIRLPOOL 80dd871e66e21ebe34581a0c7ec846dea8b5c5ada93c0b0811334dcf2e90ab97e63852cc47a5355d03e546f335751e949d725f86bc3d26d76ea7aa8e4db9a718
+DIST pyalsaaudio-0.8.2.tar.gz 212747 SHA256 b6df486f1c4035041a5f3800496b86c64e48e4a7d47f94dcbca11b0187aa3a15 SHA512 cba4acaf18b74f990547a590da5bbb824398518444cd09cf80d2e4dcb1176fd5469b107c96b3696ca98ef8ef4d1026feb22b01f730b2558c9dd60ee58500d4b5 WHIRLPOOL 4526ffa3eae6834aa97e8bf55dc90e25c6de5bf6f8345f853a5006a9c7bb1bcb8bd42bbe677d246443213de314400e8e17ef84ef4653d7e7c207151d5a03be33
+EBUILD pyalsaaudio-0.7-r2.ebuild 866 SHA256 5086d61556a3299aa7514f9259add429a5a18c266592b56ade22091e0d2b9a46 SHA512 8c5def961bd6f65d2b0e2a6d0e07bb76209a91839c92f74f31d7aa74ccc3703076539ff2171d26eaf2437fe43143a1c7ca4b7dcb47fe9084db829a72db17ea0a WHIRLPOOL 306f347d9b14fa4f4c9716e2589a4241da1a746713aa39b19d799ae01fd68cd1e96af192936f0da0635a364fed77e40510eedef49a3fb881acff4980cbd29bb1
+EBUILD pyalsaaudio-0.8.2.ebuild 1066 SHA256 12f82fcae2267f0dc6391471b48860776fccb6f69081e14423fef3709d144249 SHA512 a509a92889988503a9074e45d62fa73885141ea390c2730c752929f0657a7e4a3809a2c57f8b23a622661a2b6bbd16ad0bd556748732c8fdfb98dc14d4085eb2 WHIRLPOOL c3f3033e64df7966c6163ed9bbec991e809e0e9b599b938adbfe690f773d9ace3953a27519b83c7367843cfdc439d85d13ce32f383dbcdee6ba2a0ec735d52d0
+MISC ChangeLog 2840 SHA256 9aa6dcce86273dd0054de0012093129b509648983580937c8d6bdeb968fb0ca1 SHA512 9b0b2c142b776fb4067a71700de4f752e37ba21f5820491639f6a4264943f84582d110cd50cd5e5282300beb86e6097da18b739823fef1b5d574da87925216af WHIRLPOOL e0413b7067cc4cd84ae4cf78901be50558129006cca93e41e5998700d97efeec04b303e8c5763d64eac2ac698eba1a78ae1581795bb5d0e99f095a469ed2f299
+MISC ChangeLog-2015 5810 SHA256 18c1e5e3d0a1dd6d5da1fb41262523418554ad50648c30e81ddf553c98174dc7 SHA512 2f71f5c67edde33395631fd6bb206f167efe6332f12e3a12c72ec0d22a8e2e5aaa70561e224ba2590b688063dbae90ae7872120510e7d73c1404f8704722ff8f WHIRLPOOL 199d84b73f35a2f59209839b69ded53d21f9d8d36ab550d20d6aac36473996d3d25993ddd7bcf773851eb9dfcea973d0acebe01887bd51af2b99d7d91263abbf
+MISC metadata.xml 370 SHA256 9e714e20e8b9c247087d2b9bad32ecfe37ae67f535b8afda2316d6f8d62a4ac1 SHA512 8f63acae6a202a3d23c7b7c1777db4734de9e630630d679417ff2f9ea1c3595d855c6bb3d21f5ea6e889bc005fb500cdc95c2b7247725ebb14d0dc66dc8e4ff8 WHIRLPOOL ca8d22e6a434413b446df62433dc74af268e8f9c7e148caa0717c6f3763b044f8c284b6a7cce8bbd718889614842ba29e97e00e0030c7253aa98e6ca092ca2cc
diff --git a/dev-python/pyalsaaudio/metadata.xml b/dev-python/pyalsaaudio/metadata.xml
new file mode 100644
index 000000000000..ee4de466b8ce
--- /dev/null
+++ b/dev-python/pyalsaaudio/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">pyalsaaudio</remote-id>
+ <remote-id type="sourceforge">pyalsaaudio</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyalsaaudio/pyalsaaudio-0.7-r2.ebuild b/dev-python/pyalsaaudio/pyalsaaudio-0.7-r2.ebuild
new file mode 100644
index 000000000000..d189c982ed9a
--- /dev/null
+++ b/dev-python/pyalsaaudio/pyalsaaudio-0.7-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python wrapper for the ALSA API"
+HOMEPAGE="http://www.sourceforge.net/projects/pyalsaaudio https://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[${PYTHON_USEDEP}] )"
+
+RESTRICT="test" # Direct access to ALSA, shouln't be used
+
+DOCS=( CHANGES README )
+
+python_compile_all() {
+ use doc && emake -C doc html
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/html/. )
+ local EXAMPLES=( *test.py )
+
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/pyalsaaudio/pyalsaaudio-0.8.2.ebuild b/dev-python/pyalsaaudio/pyalsaaudio-0.8.2.ebuild
new file mode 100644
index 000000000000..35756563f285
--- /dev/null
+++ b/dev-python/pyalsaaudio/pyalsaaudio-0.8.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
+
+inherit distutils-r1 toolchain-funcs
+
+DESCRIPTION="A Python wrapper for the ALSA API"
+HOMEPAGE="http://www.sourceforge.net/projects/pyalsaaudio https://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[${PYTHON_USEDEP}] )"
+
+RESTRICT="test" # Direct access to ALSA, shouln't be used
+
+python_compile_all() {
+ use doc && emake -C doc html
+}
+
+python_compile() {
+ python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ distutils-r1_python_compile
+}
+
+python_test() {
+ "${PYTHON}" test.py -v || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/html/. )
+ local EXAMPLES=( *test.py )
+
+ distutils-r1_python_install_all
+}