Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/huawei-lte-api/
Date: Tue, 22 Feb 2022 09:38:34
Message-Id: 1645522703.e6fb38a072d5be219cf5eacea942f949113ff14d.mgorny@gentoo
1 commit: e6fb38a072d5be219cf5eacea942f949113ff14d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 22 08:45:39 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 22 09:38:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6fb38a0
7
8 dev-python/huawei-lte-api: Fix pycryptodome requirement
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../{huawei-lte-api-1.5.4.ebuild => huawei-lte-api-1.5.4-r1.ebuild} | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15 diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.5.4.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.5.4-r1.ebuild
16 similarity index 87%
17 rename from dev-python/huawei-lte-api/huawei-lte-api-1.5.4.ebuild
18 rename to dev-python/huawei-lte-api/huawei-lte-api-1.5.4-r1.ebuild
19 index 9f84cd2c71a0..e391e88edb3f 100644
20 --- a/dev-python/huawei-lte-api/huawei-lte-api-1.5.4.ebuild
21 +++ b/dev-python/huawei-lte-api/huawei-lte-api-1.5.4-r1.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 +# Copyright 1999-2022 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=8
28 @@ -21,6 +21,7 @@ RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]
29
30 python_prepare_all() {
31 # make cryptodome-friendly
32 + sed -i -e 's:pycryptodomex:pycryptodome:' setup.py || die
33 find -name '*.py' -exec \
34 sed -i -e 's:Cryptodome:Crypto:g' {} + || die