mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] python3-pyyaml: install missing cyaml library
Date: Fri, 10 Dec 2021 14:07:07 +0100	[thread overview]
Message-ID: <20211210130707.3900647-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20211201162730.2510267-1-bst@pengutronix.de>

Thanks, applied as 8eb6598ec747be1ef49e20ccecc2a452f6f4fdde.

Michael

[sent from post-receive hook]

On Fri, 10 Dec 2021 14:07:07 +0100, Bastian Krause <bst@pengutronix.de> wrote:
> _yaml.cpython-*.so was accidentally omitted before. Now make sure to
> install this library to make the libyaml bindings work.
> 
> Before:
>   >>> from yaml.cyaml import *
>   Traceback (most recent call last):
>     File "<stdin>", line 1, in <module>
>     File "/usr/lib/python3.7/site-packages/yaml/cyaml.py", line 5, in <module>
>   ModuleNotFoundError: No module named '_yaml'
> 
> Now:
>   >>> from yaml.cyaml import *
>   >>>
> 
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20211201162730.2510267-1-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-pyyaml.make b/rules/python3-pyyaml.make
> index 971fc79a9bec..a9cdda248616 100644
> --- a/rules/python3-pyyaml.make
> +++ b/rules/python3-pyyaml.make
> @@ -43,7 +43,7 @@ $(STATEDIR)/python3-pyyaml.targetinstall:
>  	@$(call install_fixup, python3-pyyaml, DESCRIPTION, missing)
>  
>  	@$(call install_glob, python3-pyyaml, 0, 0, -, \
> -		$(PYTHON3_SITEPACKAGES)/yaml,, *.py)
> +		$(PYTHON3_SITEPACKAGES), *.pyc *.so,)
>  
>  	@$(call install_finish, python3-pyyaml)
>  

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


      reply	other threads:[~2021-12-10 13:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-01 16:27 [ptxdist] [PATCH] " Bastian Krause
2021-12-10 13:07 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211210130707.3900647-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=bst@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox