dev-python/huawei-lte-api: Fix pycryptodome requirement

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-02-22 09:45:39 +01:00
parent eb538617f1
commit e6fb38a072

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -21,6 +21,7 @@ RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]
python_prepare_all() {
# make cryptodome-friendly
sed -i -e 's:pycryptodomex:pycryptodome:' setup.py || die
find -name '*.py' -exec \
sed -i -e 's:Cryptodome:Crypto:g' {} + || die