mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/huawei-lte-api: Bump to 1.6.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST huawei-lte-api-1.6.7.gh.tar.gz 34677 BLAKE2B 289f9aefbf0c9491dcaa3a0afc120a70d578092e4bcf1ae66d30cff528dfa8231dbfc60c4660d8862b82801429b61bb97f584319e49307cbd44051cbf1c80239 SHA512 184c3e05e5d1b3b19ebdd3caaceb79fecbe8ed7f2337d7d4b0dc392f6e6ca8f45f663c8d6056d8660e8167f357d329015fd13b521093ae92b0a9a6b04c42e352
|
||||
DIST huawei-lte-api-1.6.9.gh.tar.gz 35605 BLAKE2B e81e3769fdd6307ae69cb0ff59bbe5e6c8e1cfe2a9629c683859c0ff0dfb9d44376f0d0cb33c40f7ed0211ca7ea4f990d8f471a154605475db2f126ec9bcf080 SHA512 224236356f899e8d621e87320e58faef7a4a313105d1938ba3fdc0fbe9f8e2b1135eac62aca39cd2f7c677e1aaa822821677adbbd18df4f00b7cf475c986a1f8
|
||||
|
||||
40
dev-python/huawei-lte-api/huawei-lte-api-1.6.9.ebuild
Normal file
40
dev-python/huawei-lte-api/huawei-lte-api-1.6.9.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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..11} )
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user