mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/huawei-lte-api: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST huawei-lte-api-1.6.11.gh.tar.gz 38037 BLAKE2B be2da7d8918d367e589937cdd70222afdafd6082e6c25c7238a7ba6bb160bc1410cf682a79b41c4d9e0eca3c337130e5a33a3a7985f9cb1ff6c78fe5bfbf6358 SHA512 4e7248438882988c6eadb61c57e53a773f65737ca4ee770cf1a9a8e99a10d1a930c412f3d3d3235edb5061d00a56da75e92a58af095fe79db98ce024a2acb773
|
||||
DIST huawei-lte-api-1.7.3.gh.tar.gz 39166 BLAKE2B 52e2ab89a2ab6aadccd92192c73f1ef5ac4aa376dc6b5e29f9460881ccd3e600744789d33d490efa86315b5ad9f6090d56a45132ae3dc421dc5025032319ed59 SHA512 83bdfae0b8d44789ebfe8f94233b4d5b49fe3e379f25205fe71970d533ecbd0611c13cfbe3471c9331b4bcde6c737aaf53156c397d7016e5de5cc053f221374b
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 python3_{9..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