summaryrefslogtreecommitdiff
path: root/dev-python/pyalsaaudio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pyalsaaudio
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pyalsaaudio')
-rw-r--r--dev-python/pyalsaaudio/Manifest5
-rw-r--r--dev-python/pyalsaaudio/metadata.xml12
-rw-r--r--dev-python/pyalsaaudio/pyalsaaudio-0.7-r2.ebuild38
-rw-r--r--dev-python/pyalsaaudio/pyalsaaudio-0.8.2.ebuild45
4 files changed, 100 insertions, 0 deletions
diff --git a/dev-python/pyalsaaudio/Manifest b/dev-python/pyalsaaudio/Manifest
new file mode 100644
index 000000000000..4bcdbc969259
--- /dev/null
+++ b/dev-python/pyalsaaudio/Manifest
@@ -0,0 +1,5 @@
+DIST pyalsaaudio-0.7.tar.gz 124577 BLAKE2B d6a5d29f3d8eee7d016441ecb7dd418a8061484a72dfc8ea4cbdcc102fc70aa12f09ff7136380a50ca5149772d3c0d8d6c2d950a5d26877664371e30fbe90857 SHA512 aea46ebc4a59c791e318e58fa7c307b73ea7e1eafdd6b2055df312e26e8d4868ca582b76dd2f203cb7c632a25e1bfd066f6f9522484aa5db51f404e5f99a38cc
+DIST pyalsaaudio-0.8.2.tar.gz 212747 BLAKE2B 59eeb2fce58d035cb59e36c717cbe6ec367906728c04dc4c4a63d05aaa6eca41fc530b587ad5d3d33161b9f0794ee4e8af0b7efbc1203584564e00efc080dfc6 SHA512 cba4acaf18b74f990547a590da5bbb824398518444cd09cf80d2e4dcb1176fd5469b107c96b3696ca98ef8ef4d1026feb22b01f730b2558c9dd60ee58500d4b5
+EBUILD pyalsaaudio-0.7-r2.ebuild 866 BLAKE2B a013d9f39e3546f1f6c18add80ef2783cd01516a95fcbf759f40827e0fd8a17dfffebdaba83d07c51fb0a97ada8e4f8df0e39b38d02bdab1a0601c4088e56477 SHA512 4caf3eaec9fde5a0d18c144d41f740fe3bb534d89bdbc637d149d24b7a55654f9eae1bea48c3b481637d6a2a930a3787d6fda5df0bf4ed802c187cd54c6bd7d4
+EBUILD pyalsaaudio-0.8.2.ebuild 1066 BLAKE2B fa2aba25e8bc054c3be940a50bf53425a527a4fecdfa46cbd211c891e36234da7240b7e54f6301e957121950d3dfc6ed2543a62477ba8b68d9f5e9632bb0a185 SHA512 d994029367a8c93a3edd479b305f33818dc2f8cd9c17ca3b9249262f5294362c73cc24ed10ae10faacdd154c4a8561194bca1a9aa6121267e78168167895e8af
+MISC metadata.xml 370 BLAKE2B 40c4cbfd6dab8c228180d1c80b37ba7989ffc9ba5db1cfba21f0ffe47b013b88ab6206939340e1d0b776f6f54fcbcba410f25b41d07f8c890ffcd4c97dbdf113 SHA512 8f63acae6a202a3d23c7b7c1777db4734de9e630630d679417ff2f9ea1c3595d855c6bb3d21f5ea6e889bc005fb500cdc95c2b7247725ebb14d0dc66dc8e4ff8
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..46e93bfe9d2c
--- /dev/null
+++ b/dev-python/pyalsaaudio/pyalsaaudio-0.7-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 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="https://www.sourceforge.net/projects/pyalsaaudio
+ https://pypi.org/project/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..eb17553e3bdf
--- /dev/null
+++ b/dev-python/pyalsaaudio/pyalsaaudio-0.8.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 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="https://www.sourceforge.net/projects/pyalsaaudio
+ https://pypi.org/project/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
+}