mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
python_dependencies.py: bug fixes
This commit is contained in:
parent
2b3316cb42
commit
bc9cf8f7a3
1 changed files with 4 additions and 2 deletions
|
|
@ -19,11 +19,13 @@ __email__ = "blshkv@pentoo.ch"
|
|||
#requires: dev-python/tomli
|
||||
|
||||
def portage_mapping(search):
|
||||
result = ""
|
||||
mapping = {
|
||||
"dev-python/androguard": "dev-util/androguard",
|
||||
"dev-python/async_timeout": "dev-python/async-timeout",
|
||||
"dev-python/Brotli": "app-arch/brotli[python]",
|
||||
"dev-python/bs4": "dev-python/beautifulsoup4",
|
||||
"dev-python/cached_property": "dev-python/cached-property",
|
||||
"dev-python/capstone": "dev-libs/capstone[python]",
|
||||
"dev-python/colored_traceback": "dev-python/colored-traceback",
|
||||
"dev-python/Django": "dev-python/django",
|
||||
|
|
@ -79,8 +81,8 @@ def portage_mapping(search):
|
|||
}
|
||||
|
||||
for key in mapping:
|
||||
search = search.replace(key, mapping[key])
|
||||
return search
|
||||
result = search.replace(key, mapping[key])
|
||||
return result
|
||||
|
||||
def pyproject_toml():
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue