[oe-commits] [meta-openembedded] 07/43: python-pyalsaaudio: Extend recipe to support Python 3

git at git.openembedded.org git at git.openembedded.org
Tue Apr 18 12:25:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit 104f811a096af0f4a2ddf4359df3fa10d9dd1709
Author: Stefan Agner <stefan.agner at toradex.com>
AuthorDate: Fri Apr 7 10:32:22 2017 -0700

    python-pyalsaaudio: Extend recipe to support Python 3
    
    alsaaudio support Python 3 already, add a Python 3 recipe so we
    can build alsaaudio for Python 3.
    
    Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 .../{python-pyalsaaudio_0.8.4.bb => python-pyalsaaudio.inc} |  2 --
 .../recipes-devtools/python/python-pyalsaaudio_0.8.4.bb     | 13 +------------
 .../recipes-devtools/python/python3-pyalsaaudio_0.8.4.bb    |  2 ++
 3 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb b/meta-python/recipes-devtools/python/python-pyalsaaudio.inc
similarity index 93%
copy from meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb
copy to meta-python/recipes-devtools/python/python-pyalsaaudio.inc
index b443570..d150409 100644
--- a/meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb
+++ b/meta-python/recipes-devtools/python/python-pyalsaaudio.inc
@@ -8,6 +8,4 @@ SRC_URI[sha256sum] = "84e8f8da544d7f4bd96479ce4a237600077984d9be1d7f16c1d9a492ec
 
 DEPENDS += "alsa-lib"
 
-inherit pypi setuptools
-
 RDEPENDS_${PN} += "libasound"
diff --git a/meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb b/meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb
index b443570..e515342 100644
--- a/meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb
+++ b/meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb
@@ -1,13 +1,2 @@
-SUMMARY = "Support for the Linux 2.6.x ALSA Sound System"
-SECTION = "devel/python"
-LICENSE = "PSF"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1a3b161aa0fcec32a0c8907a2219ad9d"
-
-SRC_URI[md5sum] = "b46f69561bc85fc52e698b2440ca251e"
-SRC_URI[sha256sum] = "84e8f8da544d7f4bd96479ce4a237600077984d9be1d7f16c1d9a492ecf50085"
-
-DEPENDS += "alsa-lib"
-
+require python-pyalsaaudio.inc
 inherit pypi setuptools
-
-RDEPENDS_${PN} += "libasound"
diff --git a/meta-python/recipes-devtools/python/python3-pyalsaaudio_0.8.4.bb b/meta-python/recipes-devtools/python/python3-pyalsaaudio_0.8.4.bb
new file mode 100644
index 0000000..b7da1a4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyalsaaudio_0.8.4.bb
@@ -0,0 +1,2 @@
+require python-pyalsaaudio.inc
+inherit pypi setuptools3

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list