Commit ea9292ba authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-restore: a few lines to the pip filter

parent 4239602d
...@@ -31,7 +31,7 @@ __epm_restore_print_comment() ...@@ -31,7 +31,7 @@ __epm_restore_print_comment()
# https://bugzilla.altlinux.org/show_bug.cgi?id=39003 # https://bugzilla.altlinux.org/show_bug.cgi?id=39003
__epm_filter_pip_to_rpm() __epm_filter_pip_to_rpm()
{ {
tr "A-Z" "a-z" | sed -e "s|_|-|g" -e "s|^python[-_]||" \ tr "A-Z" "a-z" | sed -e "s|_|-|g" -e "s|^python[-_]||" -e "s|python$||" \
-e "s|bs4|beautifulsoup4|" \ -e "s|bs4|beautifulsoup4|" \
-e "s|pillow|Pillow|" \ -e "s|pillow|Pillow|" \
-e "s|sqlalchemy|SQLAlchemy|" \ -e "s|sqlalchemy|SQLAlchemy|" \
...@@ -45,6 +45,7 @@ __epm_filter_pip_to_rpm() ...@@ -45,6 +45,7 @@ __epm_filter_pip_to_rpm()
-e "s|pymacaroons|pymacaroons-pynacl|" \ -e "s|pymacaroons|pymacaroons-pynacl|" \
-e "s|pygments|Pygments|" \ -e "s|pygments|Pygments|" \
-e "s|memcached|memcache|" \ -e "s|memcached|memcache|" \
-e "s|pyinstaller||" \
-e "s|pyopenssl|OpenSSL|" -e "s|pyopenssl|OpenSSL|"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment