| Message ID | 20251128115800.2757259-1-jan.claussen10@web.de |
|---|---|
| State | Accepted |
| Headers | show |
| Series | [meta-python,master] python3-soundcard: Add recipe | expand |
results in
ERROR: ParseError at
/mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/
python3-soundcard_0.4.5.bb:13: Unparsed lines
/mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/
python3-soundcard_0.4.5.bb: ['RDEPENDS:${PN} += " ', ' libpulse ']
ERROR: Parsing halted due to errors, see error messages above
On Fri, Nov 28, 2025 at 3:58 AM Jan Claußen via lists.openembedded.org
<jan.claussen10=web.de@lists.openembedded.org> wrote:
> Signed-off-by: Jan Claußen <jan.claussen10@web.de>
> ---
> .../python/python3-soundcard_0.4.5.bb | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
> create mode 100644 meta-python/recipes-devtools/python/
> python3-soundcard_0.4.5.bb
>
> diff --git a/meta-python/recipes-devtools/python/
> python3-soundcard_0.4.5.bb b/meta-python/recipes-devtools/python/
> python3-soundcard_0.4.5.bb
> new file mode 100644
> index 0000000000..632b54eaef
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
> @@ -0,0 +1,12 @@
> +SUMMARY = "Python library for accessing soundcards"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
> +
> +SRC_URI[sha256sum] =
> "07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"
> +
> +inherit pypi setuptools3
> +
> +REQUIRED_DISTRO_FEATURES = "pulseaudio"
> +
> +RDEPENDS:${PN} += " \
> + libpulse \
> + pulseaudio-server \
> + python3-cffi \
> + python3-numpy \
> +"
>
> --
> 2.52.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#122121):
> https://lists.openembedded.org/g/openembedded-devel/message/122121
> Mute This Topic: https://lists.openembedded.org/mt/116512050/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
And REQUIRED_DISTRO_FEATURES = "pulseaudio" probably doesn't do anything without features_check inherit On Fri, Nov 28, 2025 at 9:01 PM Khem Raj via lists.openembedded.org <raj.khem=gmail.com@lists.openembedded.org> wrote: > > results in > > ERROR: ParseError at /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb:13: Unparsed lines /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb: ['RDEPENDS:${PN} += " ', ' libpulse '] > ERROR: Parsing halted due to errors, see error messages above > > > On Fri, Nov 28, 2025 at 3:58 AM Jan Claußen via lists.openembedded.org <jan.claussen10=web.de@lists.openembedded.org> wrote: >> >> Signed-off-by: Jan Claußen <jan.claussen10@web.de> >> --- >> .../python/python3-soundcard_0.4.5.bb | 12 ++++++++++++ >> 1 file changed, 12 insertions(+) >> create mode 100644 meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb >> >> diff --git a/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb >> new file mode 100644 >> index 0000000000..632b54eaef >> --- /dev/null >> +++ b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb >> @@ -0,0 +1,12 @@ >> +SUMMARY = "Python library for accessing soundcards" >> +LICENSE = "BSD-3-Clause" >> +LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c" >> + >> +SRC_URI[sha256sum] = "07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa" >> + >> +inherit pypi setuptools3 >> + >> +REQUIRED_DISTRO_FEATURES = "pulseaudio" >> + >> +RDEPENDS:${PN} += " \ >> + libpulse \ >> + pulseaudio-server \ >> + python3-cffi \ >> + python3-numpy \ >> +" > > > > >> >> -- >> 2.52.0 >> >> >> >> > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#122127): https://lists.openembedded.org/g/openembedded-devel/message/122127 > Mute This Topic: https://lists.openembedded.org/mt/116512050/3617156 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [martin.jansa@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
@Martin: Thanks, for pointing that out
I fixed the recipe added inherit features_check. Should maybe also add a
meaningful commit message, but I didn't know what to add.
Signed-off-by: Jan Claußen <jan.claussen10@web.de>
---
.../python/python3-soundcard_0.4.5.bb | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644
meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
diff --git
a/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
new file mode 100644
index 0000000000..e25f13a116
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
@@ -0,0 +1,16 @@
+SUMMARY = "Python library for accessing soundcards"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] =
"07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"
+
+inherit pypi setuptools3 features_check
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+ libpulse \
+ pulseaudio-server \
+ python3-cffi \
+ python3-numpy \
+"
I added a longer DESCRIPTION, HOMEPAGE and added SECTION = "devel/python".
---
SoundCard is a library for playing and recording audio without resorting to a CPython extension.
Signed-off-by: Jan Claußen <jan.claussen10@web.de>
---
.../python/python3-soundcard_0.4.5.bb | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
diff --git a/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
new file mode 100644
index 0000000000..5116892dad
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Python library for accessing soundcards"
+DESCRIPTION = "SoundCard is a library for playing and recording audio without resorting to a CPython extension"
+HOMEPAGE = "https://github.com/bastibe/SoundCard"
+SECTION = "devel/python"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] = "07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"
+
+inherit pypi setuptools3 features_check
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+ libpulse \
+ pulseaudio-server \
+ python3-cffi \
+ python3-numpy \
+"
Please send patches with git send-email On Fri, Nov 28, 2025 at 2:27 PM <jan.claussen10@web.de> wrote: > I added a longer DESCRIPTION, HOMEPAGE and added SECTION = "devel/python". > > --- > > SoundCard is a library for playing and recording audio without resorting > to a CPython extension. > > Signed-off-by: Jan Claußen <jan.claussen10@web.de> > --- > .../python/python3-soundcard_0.4.5.bb | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 meta-python/recipes-devtools/python/ > python3-soundcard_0.4.5.bb > > diff --git a/meta-python/recipes-devtools/python/ > python3-soundcard_0.4.5.bb b/meta-python/recipes-devtools/python/ > python3-soundcard_0.4.5.bb > new file mode 100644 > index 0000000000..5116892dad > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb > @@ -0,0 +1,20 @@ > +SUMMARY = "Python library for accessing soundcards" > +DESCRIPTION = "SoundCard is a library for playing and recording audio > without resorting to a CPython extension" > +HOMEPAGE = "https://github.com/bastibe/SoundCard" > +SECTION = "devel/python" > + > +LICENSE = "BSD-3-Clause" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c" > + > +SRC_URI[sha256sum] = > "07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa" > + > +inherit pypi setuptools3 features_check > + > +REQUIRED_DISTRO_FEATURES = "pulseaudio" > + > +RDEPENDS:${PN} += " \ > + libpulse \ > + pulseaudio-server \ > + python3-cffi \ > + python3-numpy \ > +" > -- > 2.52.0 > > On 28.11.25 21:27, Jan Claußen <jan.claussen10@web.de> wrote: > > @Martin: Thanks, for pointing that out > > > > I fixed the recipe added inherit features_check. Should maybe also add a > > meaningful commit message, but I didn't know what to add. > > > > > > Signed-off-by: Jan Claußen <jan.claussen10@web.de> > > --- > > .../python/python3-soundcard_0.4.5.bb | 16 ++++++++++++++++ > > 1 file changed, 16 insertions(+) > > create mode 100644 meta-python/recipes-devtools/python/python3- > > soundcard_0.4.5.bb > > > > diff --git a/meta-python/recipes-devtools/python/python3- > > soundcard_0.4.5.bb b/meta-python/recipes-devtools/python/python3- > > soundcard_0.4.5.bb > > new file mode 100644 > > index 0000000000..e25f13a116 > > --- /dev/null > > +++ b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb > > @@ -0,0 +1,16 @@ > > +SUMMARY = "Python library for accessing soundcards" > > +LICENSE = "BSD-3-Clause" > > +LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c" > > + > > +SRC_URI[sha256sum] = > > "07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa" > > + > > +inherit pypi setuptools3 features_check > > + > > +REQUIRED_DISTRO_FEATURES = "pulseaudio" > > + > > +RDEPENDS:${PN} += " \ > > + libpulse \ > > + pulseaudio-server \ > > + python3-cffi \ > > + python3-numpy \ > > +" > > -- > > 2.52.0 > > > > Am 28.11.25 um 21:18 schrieb Martin Jansa: > > > And REQUIRED_DISTRO_FEATURES = "pulseaudio" probably doesn't do > > > anything without features_check inherit > > > > > > On Fri, Nov 28, 2025 at 9:01 PM Khem Raj via lists.openembedded.org > > > <raj.khem=gmail.com@lists.openembedded.org> wrote: > > >> results in > > >> > > >> ERROR: ParseError at > /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/ > python3-soundcard_0.4.5.bb:13: Unparsed lines > /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/ > python3-soundcard_0.4.5.bb: ['RDEPENDS:${PN} += " ', ' libpulse '] > > >> ERROR: Parsing halted due to errors, see error messages above > > >> > > >> > > >> On Fri, Nov 28, 2025 at 3:58 AM Jan Claußen via > lists.openembedded.org<jan.claussen10=web.de@lists.openembedded.org> > wrote: > > >>> Signed-off-by: Jan Claußen<jan.claussen10@web.de> > > >>> --- > > >>> .../python/python3-soundcard_0.4.5.bb | 12 > ++++++++++++ > > >>> 1 file changed, 12 insertions(+) > > >>> create mode 100644 meta-python/recipes-devtools/python/ > python3-soundcard_0.4.5.bb > > >>> > > >>> diff --git a/meta-python/recipes-devtools/python/ > python3-soundcard_0.4.5.bb b/meta-python/recipes-devtools/python/ > python3-soundcard_0.4.5.bb > > >>> new file mode 100644 > > >>> index 0000000000..632b54eaef > > >>> --- /dev/null > > >>> +++ b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb > > >>> @@ -0,0 +1,12 @@ > > >>> +SUMMARY = "Python library for accessing soundcards" > > >>> +LICENSE = "BSD-3-Clause" > > >>> +LIC_FILES_CHKSUM > ="file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c" > > >>> + > > >>> +SRC_URI[sha256sum] = > "07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa" > > >>> + > > >>> +inherit pypi setuptools3 > > >>> + > > >>> +REQUIRED_DISTRO_FEATURES = "pulseaudio" > > >>> + > > >>> +RDEPENDS:${PN} += " \ > > >>> + libpulse \ > > >>> + pulseaudio-server \ > > >>> + python3-cffi \ > > >>> + python3-numpy \ > > >>> +" > > >> > > >>> -- > > >>> 2.52.0 > > >>> > > >>> > > >>> > > >>> > > >> -=-=-=-=-=-=-=-=-=-=-=- > > >> Links: You receive all messages sent to this group. > > >> View/Reply Online (#122127): > https://lists.openembedded.org/g/openembedded-devel/message/122127 > > >> Mute This Topic:https://lists.openembedded.org/mt/116512050/3617156 > > >> Group Owner:openembedded-devel+owner@lists.openembedded.org > > >> Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub > [martin.jansa@gmail.com] > > >> -=-=-=-=-=-=-=-=-=-=-=- > > >> > > >
diff --git a/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb new file mode 100644 index 0000000000..632b54eaef --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb @@ -0,0 +1,12 @@ +SUMMARY = "Python library for accessing soundcards" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c" + +SRC_URI[sha256sum] = "07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa" + +inherit pypi setuptools3 + +REQUIRED_DISTRO_FEATURES = "pulseaudio" + +RDEPENDS:${PN} += " \ + libpulse \
Signed-off-by: Jan Claußen <jan.claussen10@web.de> --- .../python/python3-soundcard_0.4.5.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb + pulseaudio-server \ + python3-cffi \ + python3-numpy \ +"