1 |
commit: fb18932c7331feaae665d68ebff708f3c9c9d185 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 18 13:57:15 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 18 14:04:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb18932c |
7 |
|
8 |
dev-python/huawei-lte-api: Bump to 1.4.18 |
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.4.18.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 3cb8cdf775b..563e78f1e5f 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.4.17.tar.gz 29441 BLAKE2B 75615092a1d8ee598a99e9ae7a0567e11a72fad21a8304005364bd21e4ecb9bf9efa9a2d5c8de86c6d7442ec12f06079819c20ca9e2e4646255ede961b1a1275 SHA512 bf4a6a43d02b56f0aa799e2936d7fd0afa88da4dc18c152c635b0ccb87a7ca9afcf1fcdee3a37d7ab232d5cd4688e24499ad35a1969d97db405b818cf17d33c4 |
22 |
+DIST huawei-lte-api-1.4.18.tar.gz 29701 BLAKE2B 0e242f2f2208646c9f3291dab8397a80934bce3757fb79b58fdcee389a087788962cfaea3350d7b95e53ff3e0f1fbefdf7ea6714266872fc1591848a4fb84462 SHA512 4750fcc84fff46c76f42715e6668d402b9057f8dd826276ad0682e9bac76742c86566794d4aaab7aa9ebf17d06246c4d4cc9385ee1fff9642ff5c995491fc646 |
23 |
|
24 |
diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.4.18.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.4.18.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..cea09d4633e |
27 |
--- /dev/null |
28 |
+++ b/dev-python/huawei-lte-api/huawei-lte-api-1.4.18.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=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( pypy3 python3_{7..9} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="API For huawei LAN/WAN LTE Modems" |
40 |
+HOMEPAGE="https://github.com/Salamek/huawei-lte-api" |
41 |
+SRC_URI="https://github.com/Salamek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+IUSE="" |
47 |
+ |
48 |
+RDEPEND="dev-python/dicttoxml[${PYTHON_USEDEP}] |
49 |
+ dev-python/requests[${PYTHON_USEDEP}] |
50 |
+ dev-python/xmltodict[${PYTHON_USEDEP}]" |
51 |
+ |
52 |
+python_prepare_all() { |
53 |
+ # https://github.com/Salamek/huawei-lte-api/issues/86 |
54 |
+ sed "s:'pytest-runner'::" -i setup.py || die |
55 |
+ |
56 |
+ distutils-r1_python_prepare_all |
57 |
+} |
58 |
+ |
59 |
+distutils_enable_tests pytest |