diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
commit | c719fdcee603a5a706a45d10cb598762d56a727d (patch) | |
tree | 620cbf137661399a3fb1eff92914204f9a970713 /dev-python/huawei-lte-api | |
parent | cc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff) |
gentoo resync : 25.09.2021
Diffstat (limited to 'dev-python/huawei-lte-api')
-rw-r--r-- | dev-python/huawei-lte-api/Manifest | 4 | ||||
-rw-r--r-- | dev-python/huawei-lte-api/huawei-lte-api-1.5.2.ebuild | 30 | ||||
-rw-r--r-- | dev-python/huawei-lte-api/huawei-lte-api-1.5.ebuild | 33 |
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/huawei-lte-api/Manifest b/dev-python/huawei-lte-api/Manifest index b6965517cd78..a6c9b58e1271 100644 --- a/dev-python/huawei-lte-api/Manifest +++ b/dev-python/huawei-lte-api/Manifest @@ -1,3 +1,7 @@ DIST huawei-lte-api-1.4.18.tar.gz 29701 BLAKE2B 0e242f2f2208646c9f3291dab8397a80934bce3757fb79b58fdcee389a087788962cfaea3350d7b95e53ff3e0f1fbefdf7ea6714266872fc1591848a4fb84462 SHA512 4750fcc84fff46c76f42715e6668d402b9057f8dd826276ad0682e9bac76742c86566794d4aaab7aa9ebf17d06246c4d4cc9385ee1fff9642ff5c995491fc646 +DIST huawei-lte-api-1.5.2.tar.gz 31969 BLAKE2B ced0afc9c1b878d30ac4d3fb731cdebd6c2a658a7ace7d74f5e3641c049d5eaeab5fe1edd4678b791da0ebd22c78c4c7b10f56e2bb4f224788d1f1cdd8f31c6a SHA512 7d7b8b0248ef6080aa990ce06e196653f315605d771c312c490976cd950dfa962affe47f8df3366a645e0d499606514618e1e24976f434258ca22bd9ccf34237 +DIST huawei-lte-api-1.5.tar.gz 31741 BLAKE2B eded2f2ba04dfa8973a5ccd627996770b93e2509aeb2d0ff40dafc9a5ee0f6d242d032d310102297a1f56ee255b10f0e6e02c3a0ad687b6006e31ad8b53fb32e SHA512 f235664464abc23da85a36b17f356c7be65e686e06bbaba9aa06c728fa04ae5ab4fa32168c4fb2914a22472564d8f3365f9fe47f33e1892f923e6934dbd692b0 EBUILD huawei-lte-api-1.4.18.ebuild 727 BLAKE2B 60256ea1a5c5a1b3df80900537f46c5db2c2708a58ae5e73a1682c7a548fbe6bbc2b390e2d67d9036ffda63880b78f6a9e049f8a8ec73ad9b92d26ad64ac006a SHA512 f92c89bd54dd7c9fd7dbd3c2ff1498f9930dcfa5afb4baea9895c21574fce444ee937b33cf9c6aa8ae696bfe43e5a453fe36ebe5add4c22da5318f40abd46e9d +EBUILD huawei-lte-api-1.5.2.ebuild 731 BLAKE2B abda1f70d37413686993f5c5f62439cb4f9485ec58be630024d2743b6c0a2d75bf600cf72b6e2656cac6a6ff0b8bcccedcdd870ad1e0c95ea71966d258a741f7 SHA512 02d27058c175b4f1bb6fad1eda0636540a2907fe231a2342426b5ec99ba4f17882730ea775afb9c3c1169684c082680df4cbf9e197a6e6f00837961a4974ee5d +EBUILD huawei-lte-api-1.5.ebuild 833 BLAKE2B 8e4496bc1a7e4f5c27e9e2d398dcb72fbd6b3ca0c1770a809dc42205f1669ef0700bdc620177ac2ed6bb55d121116b01bdcb1113b39575cfacae1cac7d6468f7 SHA512 418c879eade8acc0e0d909b2499c12f68a910a9727bc3d767f2d100c7a39dc5cc5678eb1b8c16887ce6aae42d0d267db336632781345085b09bb0112c596a919 MISC metadata.xml 487 BLAKE2B a4aa976286ea3cc4e02227109277faa4506f73a4b7f6c47ef9a318ae5d1c3fe61cc6eeb50ab99c0b10e5edb4ae02101d8e4d6267e7dc8f20520e9259b1d17fd2 SHA512 2ea5ccd73098a9c4d074340c9d6eb433bdaf4530d8fdb899f2a9632c097d2021d9162aa92fb9ffb54eaad2f41050d0323ddc68d0d29ec2f13060e5fe9e26f74d diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.5.2.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.5.2.ebuild new file mode 100644 index 000000000000..9f84cd2c71a0 --- /dev/null +++ b/dev-python/huawei-lte-api/huawei-lte-api-1.5.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" +IUSE="" + +RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}]" + +python_prepare_all() { + # make cryptodome-friendly + find -name '*.py' -exec \ + sed -i -e 's:Cryptodome:Crypto:g' {} + || die + + distutils-r1_python_prepare_all +} + +distutils_enable_tests pytest diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.5.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.5.ebuild new file mode 100644 index 000000000000..70850fbcf204 --- /dev/null +++ b/dev-python/huawei-lte-api/huawei-lte-api-1.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" +IUSE="" + +RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}]" + +python_prepare_all() { + # https://github.com/Salamek/huawei-lte-api/issues/86 + sed "s:'pytest-runner'::" -i setup.py || die + + # make cryptodome-friendly + find -name '*.py' -exec \ + sed -i -e 's:Cryptodome:Crypto:g' {} + || die + + distutils-r1_python_prepare_all +} + +distutils_enable_tests pytest |