dev-python/huawei-lte-api: add 1.9.3

Closes: #4029
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2024-11-02 11:13:34 +01:00
parent 602c10a4b2
commit a6e2a41b88
4 changed files with 46 additions and 4 deletions

View File

@@ -606,11 +606,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 2282 Ebuilds in total, 2268 of them have in total 2307 (43 different) licenses assigned.
There are 2283 Ebuilds in total, 2269 of them have in total 2308 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1297|
|MIT|1298|
|Apache-2.0|527|
|GPL-3|145|
|BSD|124|

View File

@@ -1,3 +1,5 @@
DIST huawei-lte-api-1.7.3.gh.tar.gz 39166 BLAKE2B 52e2ab89a2ab6aadccd92192c73f1ef5ac4aa376dc6b5e29f9460881ccd3e600744789d33d490efa86315b5ad9f6090d56a45132ae3dc421dc5025032319ed59 SHA512 83bdfae0b8d44789ebfe8f94233b4d5b49fe3e379f25205fe71970d533ecbd0611c13cfbe3471c9331b4bcde6c737aaf53156c397d7016e5de5cc053f221374b
EBUILD huawei-lte-api-1.7.3.ebuild 880 BLAKE2B 449e5ceb1cf8cb1636166de04e3ec6a35afb88f6d330d69c5ce3b3ebb77aedd7227c0e6e6fb0c758d5347108e3829b40d24fb023c55726955961bbf1b6645aeb SHA512 6a645d2bdb6808de46e0fa831130c4d442fef7cef423618056f3f63176c3626fcc7223ec5daa8aeff381491dcfd2d094567bae47409116ebf3df93a68b420863
DIST huawei-lte-api-1.9.3.gh.tar.gz 41344 BLAKE2B 3812c2dd5404320eb24bbe6e1e5819effad06641e96289ac279e5fe96add8880d837bf6770816f1bdce553cbf1aad73d370377c7f0713428d6ac46906d88602c SHA512 4f5f00dd416b017422753940ae69a1c24b424692fdf9e6ea29073035d381b5434462b022ebe44bf4d911eafe07f9ff57b8d349bf7140e0f33daba6384a73cd24
EBUILD huawei-lte-api-1.7.3.ebuild 880 BLAKE2B 8aed539a103dc01edbb61382e7836e0578e742d36ada41308e33f4f53579c462a5c0db4574eaff6b34ef54a2874f4e39f669394eaa07198ca52e53bf84c80a28 SHA512 b6417335c3834eb6ef788ba19fc95b963696e850311387bb8f1b2c1a53a92cb7aa692d3252f330372bdeb89f2c213c7fd53dbfde743938ebcd1be22d2ff96016
EBUILD huawei-lte-api-1.9.3.ebuild 880 BLAKE2B 8aed539a103dc01edbb61382e7836e0578e742d36ada41308e33f4f53579c462a5c0db4574eaff6b34ef54a2874f4e39f669394eaa07198ca52e53bf84c80a28 SHA512 b6417335c3834eb6ef788ba19fc95b963696e850311387bb8f1b2c1a53a92cb7aa692d3252f330372bdeb89f2c213c7fd53dbfde743938ebcd1be22d2ff96016
MISC metadata.xml 530 BLAKE2B 4168edc15f1a84fc19c1aab22e6cb1ffe548cc72ba7053e43f14adcd9fdd9164186316775d6d86c3c29ade6a3e14256de0b66497c63a3f95a20db5c67ea68932 SHA512 ef5be02f0102e8c75e317fb9a57a31afbeaba4540cd364fda4e41581d096c9daf8b2fb984e7acfd6c538de564970d110649c18c05563ea79de9e3bfe3bd77346

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..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 arm arm64 x86"
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