Some new dependencies for py7r

This commit is contained in:
Kovid Goyal 2021-11-30 12:19:04 +05:30
parent 9d550c5763
commit f61a394fdc
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 46 additions and 0 deletions

View File

@ -806,6 +806,48 @@
} }
}, },
{
"name": "multivolumefile",
"comment": "Needed by py7zr",
"unix": {
"filename": "multivolumefile-0.2.3.tar.gz",
"hash": "sha256:a0648d0aafbc96e59198d5c17e9acad7eb531abea51035d08ce8060dcad709d6",
"urls": ["pypi"]
}
},
{
"name": "python-brotli",
"comment": "Needed by py7zr",
"unix": {
"filename": "brotli-1.0.9.zip",
"hash": "sha256:4d1b810aa0ed773f81dceda2cc7b403d01057458730e309856356d4ef4188438",
"urls": ["pypi"]
}
},
{
"name": "pyzstd",
"comment": "Needed by py7zr",
"unix": {
"filename": "pyzstd-0.15.0.tar.gz",
"hash": "sha256:bf15a39cb3c9b662775e22ffa8c4da09fdde6a15ece5e0ed710b6d3b4329cf36",
"urls": ["pypi"]
}
},
{
"name": "pyppmd",
"comment": "Needed by py7zr",
"unix": {
"filename": "pyppmd-0.17.3.tar.gz",
"hash": "sha256:05a4765833623d5cc1c9afc27d9b05fb64f0319711beffe0b44d9695eb1beb0a",
"urls": ["pypi"]
}
},
{ {
"name": "py7zr", "name": "py7zr",
"unix": { "unix": {

View File

@ -206,6 +206,10 @@ class DeVendor:
if fullname.startswith('PyQt5.'): if fullname.startswith('PyQt5.'):
# this is present for third party plugin compat # this is present for third party plugin compat
return ModuleSpec(fullname, DeVendorLoader('qt.webengine' if 'QWebEngine' in fullname else 'qt.core')) return ModuleSpec(fullname, DeVendorLoader('qt.webengine' if 'QWebEngine' in fullname else 'qt.core'))
if fullname.startswith('Cryptodome'):
# this is needed for py7zr which uses pycryptodomex instead of
# pycryptodome for some reason
return ModuleSpec(fullname, DeVendorLoader(fullname.replace('dome', '', 1)))
class ExtensionsPackageLoader: class ExtensionsPackageLoader: