1 |
commit: 831d3cdf3639aa7dd708f262ed594d8736e6d033 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 29 22:49:37 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 29 23:14:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=831d3cdf |
7 |
|
8 |
dev-python/huawei-lte-api: Bump to 1.5.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/huawei-lte-api/Manifest | 1 + |
13 |
.../huawei-lte-api/huawei-lte-api-1.5.4.ebuild | 30 ++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/huawei-lte-api/Manifest b/dev-python/huawei-lte-api/Manifest |
17 |
index 427075993def..a59d2f9b5958 100644 |
18 |
--- a/dev-python/huawei-lte-api/Manifest |
19 |
+++ b/dev-python/huawei-lte-api/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST huawei-lte-api-1.5.2.tar.gz 31969 BLAKE2B ced0afc9c1b878d30ac4d3fb731cdebd6c2a658a7ace7d74f5e3641c049d5eaeab5fe1edd4678b791da0ebd22c78c4c7b10f56e2bb4f224788d1f1cdd8f31c6a SHA512 7d7b8b0248ef6080aa990ce06e196653f315605d771c312c490976cd950dfa962affe47f8df3366a645e0d499606514618e1e24976f434258ca22bd9ccf34237 |
22 |
+DIST huawei-lte-api-1.5.4.tar.gz 32433 BLAKE2B 36ba5729f7016c07955f87b85745314f683345e06e174efa90e2fdfd59a8a68c8425b549f8e25293dc2d65d0681a588feb062c3067b275d4e0ed2b56dc3ebbb6 SHA512 549373bf6d00aa1fb3f9f6443446520e068ec2c5412c84472b687102b2590cd22a742805f8c7fab67b7a4482e37cb3b03900aaf078ed777c3b1c111194e69da6 |
23 |
|
24 |
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.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..9f84cd2c71a0 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/huawei-lte-api/huawei-lte-api-1.5.4.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="API For huawei LAN/WAN LTE Modems" |
39 |
+HOMEPAGE="https://github.com/Salamek/huawei-lte-api" |
40 |
+SRC_URI="https://github.com/Salamek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64" |
45 |
+IUSE="" |
46 |
+ |
47 |
+RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}] |
48 |
+ dev-python/requests[${PYTHON_USEDEP}] |
49 |
+ dev-python/xmltodict[${PYTHON_USEDEP}]" |
50 |
+ |
51 |
+python_prepare_all() { |
52 |
+ # make cryptodome-friendly |
53 |
+ find -name '*.py' -exec \ |
54 |
+ sed -i -e 's:Cryptodome:Crypto:g' {} + || die |
55 |
+ |
56 |
+ distutils-r1_python_prepare_all |
57 |
+} |
58 |
+ |
59 |
+distutils_enable_tests pytest |