commit: 00b94b477df93fba54261c313bd3f611975dc340
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 16 06:31:51 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 16 06:47:44 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b94b47
dev-python/huawei-lte-api: Bump to 1.11.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/huawei-lte-api/Manifest | 1 +
.../huawei-lte-api/huawei-lte-api-1.11.0.ebuild | 40 ++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/dev-python/huawei-lte-api/Manifest
b/dev-python/huawei-lte-api/Manifest
index 3b24cca2c156..6534f100ac98 100644
--- a/dev-python/huawei-lte-api/Manifest
+++ b/dev-python/huawei-lte-api/Manifest
@@ -1 +1,2 @@
DIST huawei-lte-api-1.10.gh.tar.gz 43853 BLAKE2B
568da364ecc709716a040a5f6c32f79b028ceca42ffce29949d064115279a4653544df50e30ac07ad873a1e98ba203093fcf000bca65b4b1ea6f4f009217d4c8
SHA512
7ffe128817bf38d60ee5dcbdb6668516a3ab47a02d34868ab9c9cc6b26cfae10c334a779b4ba63f0ec635b834fce46b12409b913f7c9b45a746ff5ba875e1758
+DIST huawei-lte-api-1.11.0.gh.tar.gz 45445 BLAKE2B
8bb2deaeb91eb02fbafd6b177b0299f17b7d459b51c963bad938371daa47f66daeea11296f64a75ebf11608f9ca144857b5ba86a66bf3f2f1d0512e559cf8f4f
SHA512
04e01c54d6393b93947bd054a3f5723ebc77566bb384fdac6b9848000d4b5e398822e0ca91cc52fc643f64a6409113cf798c1f8b0e3931d5b2f5f1af90ffe344
diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.11.0.ebuild
b/dev-python/huawei-lte-api/huawei-lte-api-1.11.0.ebuild
new file mode 100644
index 000000000000..ff138891a1f4
--- /dev/null
+++ b/dev-python/huawei-lte-api/huawei-lte-api-1.11.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="API For huawei LAN/WAN LTE Modems"
+HOMEPAGE="
+ https://github.com/Salamek/huawei-lte-api/
+ https://pypi.org/project/huawei-lte-api/
+"
+SRC_URI="
+ https://github.com/Salamek/${PN}/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/xmltodict[${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
+
+ distutils-r1_python_prepare_all
+}
+
+distutils_enable_tests pytest