Summary: | euse in app-portage/gentoolkit can't handle dev-python/PyQt5 | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Pengcheng Xu <i> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | aklhfex, arthur, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | euse patch |
Description
Pengcheng Xu
2017-07-12 08:43:55 UTC
It is purposely designed this way and is looking for versioned atoms. Since 99% of my package.use files are not versioned, this restriction does not make sense to me. I will look at removing that restriction from the program. Created attachment 488906 [details, diff]
euse patch
The attached patch fixes euse for this specific case. However, euse is still broken for other package names and versions. While euse is an excellent bash script, it really needs to be rewritten in Python and use the portage API.
In the meantime, I am looking at what it would take to use python inline in the script to replace the regular expressions that are causing the problems.
|