diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-07 18:53:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-07 18:53:56 +0000 |
commit | c577a55e80fbc5ba7f9f0124a354335a98e4bf4a (patch) | |
tree | 247ea00560bad9c5ae6e4706d41222629f40db0f /dev-python/huawei-lte-api | |
parent | 02814fd00146251691678aa18d9937665c677086 (diff) |
gentoo auto-resync : 07:01:2024 - 18:53:56
Diffstat (limited to 'dev-python/huawei-lte-api')
-rw-r--r-- | dev-python/huawei-lte-api/Manifest | 2 | ||||
-rw-r--r-- | dev-python/huawei-lte-api/huawei-lte-api-1.8.1.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/huawei-lte-api/Manifest b/dev-python/huawei-lte-api/Manifest index 2afc0a2c6d1e..15cb88ca2876 100644 --- a/dev-python/huawei-lte-api/Manifest +++ b/dev-python/huawei-lte-api/Manifest @@ -1,3 +1,5 @@ DIST huawei-lte-api-1.7.3.gh.tar.gz 39166 BLAKE2B 52e2ab89a2ab6aadccd92192c73f1ef5ac4aa376dc6b5e29f9460881ccd3e600744789d33d490efa86315b5ad9f6090d56a45132ae3dc421dc5025032319ed59 SHA512 83bdfae0b8d44789ebfe8f94233b4d5b49fe3e379f25205fe71970d533ecbd0611c13cfbe3471c9331b4bcde6c737aaf53156c397d7016e5de5cc053f221374b +DIST huawei-lte-api-1.8.1.gh.tar.gz 40698 BLAKE2B 61e2e6399b106e7efe68ed50d0d3e17ca4b243d62c2b4d00215141931f806ef09c7bee826e50b2b37f7bc8cdb663912019470932a1aa491e0ca582f4ea7baa8d SHA512 704c9f18db74aaa544888c761a934e9886460ce5e1848e1e221ed05cedf1357a0bcce758d2afe126dfd39739d7819520a5fc82a19315647f38f058fbe60d0511 EBUILD huawei-lte-api-1.7.3.ebuild 873 BLAKE2B 1776b3fa9a10cf3c3a1c912f80b87845ffef50da84618a0e671dc5d12116aae57cfb8fa937f16b549cd85263aae72addaec67d505f3a1be71a9cec48b73f47ca SHA512 0c92c79a2e2c35b3029d64521d63848b3d1d308dd817400dae89ee5bb252d3063da047aefe3ce397ee65230a26a4676bd5f94a5124790f4282eaa1b9f4ebc6a7 +EBUILD huawei-lte-api-1.8.1.ebuild 873 BLAKE2B dd8992e3658610d0d0c1967d77999739e56f26e6dff75e027f7332632ddb23bab0a93250e2e79943bcf1e00d0a1adc74a1616e303c30ba4cb48cb5345bfcdd26 SHA512 f379f7aa101e4ac0b7c6380ab30b107e520e76d5e41d4588304a4efbe1588be63431b4e858a42f13969dbb2f88c20b54d6043c590746804f01f540c2aa46c9ab MISC metadata.xml 487 BLAKE2B a4aa976286ea3cc4e02227109277faa4506f73a4b7f6c47ef9a318ae5d1c3fe61cc6eeb50ab99c0b10e5edb4ae02101d8e4d6267e7dc8f20520e9259b1d17fd2 SHA512 2ea5ccd73098a9c4d074340c9d6eb433bdaf4530d8fdb899f2a9632c097d2021d9162aa92fb9ffb54eaad2f41050d0323ddc68d0d29ec2f13060e5fe9e26f74d diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.8.1.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.8.1.ebuild new file mode 100644 index 000000000000..8793f24f8b46 --- /dev/null +++ b/dev-python/huawei-lte-api/huawei-lte-api-1.8.1.ebuild @@ -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=( pypy3 python3_{10..12} ) + +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 |