diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
commit | e68d405c5d712af4387159df07e226217bdda049 (patch) | |
tree | 009ab0f3d427f0813e62930d71802cb054c07e30 /dev-python/huawei-lte-api | |
parent | 401101f9c8077911929d3f2b60a37098460a5d89 (diff) |
gentoo resync : 06.04.2022
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.6.ebuild | 34 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/huawei-lte-api/Manifest b/dev-python/huawei-lte-api/Manifest index 8aad18d225e8..0dcda099046d 100644 --- a/dev-python/huawei-lte-api/Manifest +++ b/dev-python/huawei-lte-api/Manifest @@ -1,3 +1,5 @@ DIST huawei-lte-api-1.5.4.tar.gz 32433 BLAKE2B 36ba5729f7016c07955f87b85745314f683345e06e174efa90e2fdfd59a8a68c8425b549f8e25293dc2d65d0681a588feb062c3067b275d4e0ed2b56dc3ebbb6 SHA512 549373bf6d00aa1fb3f9f6443446520e068ec2c5412c84472b687102b2590cd22a742805f8c7fab67b7a4482e37cb3b03900aaf078ed777c3b1c111194e69da6 +DIST huawei-lte-api-1.6.tar.gz 32617 BLAKE2B 194d2d983e7bd5bd456d3557b16795cda350ea157545c1ce37aa6d4dd0bace8a8a0c724b9d0ae4315e6f95585598b147a03acb77d84837bf879fa9b83737cafc SHA512 62f70853bba0fbd863e07e2d91309fc15c41508857486d01a02ec30ed513567d0880551744eed5a61517cc33a2f56583df892d22cca45124e95e24605ab23678 EBUILD huawei-lte-api-1.5.4-r1.ebuild 790 BLAKE2B e988b09c36f03198b5236e4407f370c510147b64dde9a7dd9dcfb475f2f0a84dfad470c067c12138b828188a3d22ddc3ba627587eddbdc0f9fd003abf09b6092 SHA512 b5f90e135f7785acc9695379ed06033ad7dc505d4d991aa4d8a7e553676bb69873caf9b1603f43269d3eef30d4268ed3c335bafa4da3b2ed6ba8e6ed3b645158 +EBUILD huawei-lte-api-1.6.ebuild 818 BLAKE2B fc4573bd6757dd0c0cefeced0ab991d589724238e8e856bc2164eb30613ade82ff0f6ac112d73fb6022641e6d2142bca35a5d25ba5679f7108133128d7399101 SHA512 5eaf1cf40bfdaef4f65cf7cdb48707ccff950e111f715f2ddf0ba36ad31da345ddbe4cb39931c4c3cf5773de0e30b72bb81b3ab0a676aee51320f3cb9158fc4d MISC metadata.xml 487 BLAKE2B a4aa976286ea3cc4e02227109277faa4506f73a4b7f6c47ef9a318ae5d1c3fe61cc6eeb50ab99c0b10e5edb4ae02101d8e4d6267e7dc8f20520e9259b1d17fd2 SHA512 2ea5ccd73098a9c4d074340c9d6eb433bdaf4530d8fdb899f2a9632c097d2021d9162aa92fb9ffb54eaad2f41050d0323ddc68d0d29ec2f13060e5fe9e26f74d diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.6.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.6.ebuild new file mode 100644 index 000000000000..fc365b79c31f --- /dev/null +++ b/dev-python/huawei-lte-api/huawei-lte-api-1.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="API For huawei LAN/WAN LTE Modems" +HOMEPAGE="https://github.com/Salamek/huawei-lte-api" +SRC_URI="https://github.com/Salamek/${PN}/archive/${PV}.tar.gz -> ${P}.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 |