dev-python/huawei-lte-api: new package, add 1.6.11
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
f595d201e7
commit
baee84f78e
|
@ -576,11 +576,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
|||
|
||||
## Licenses
|
||||
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
|
||||
There are 1811 Ebuilds in total, 1800 of them have in total 1817 (40 different) licenses assigned.
|
||||
There are 1812 Ebuilds in total, 1801 of them have in total 1818 (40 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1055|
|
||||
|MIT|1056|
|
||||
|Apache-2.0|373|
|
||||
|GPL-3|116|
|
||||
|BSD|102|
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
DIST huawei-lte-api-1.6.11.gh.tar.gz 38037 BLAKE2B be2da7d8918d367e589937cdd70222afdafd6082e6c25c7238a7ba6bb160bc1410cf682a79b41c4d9e0eca3c337130e5a33a3a7985f9cb1ff6c78fe5bfbf6358 SHA512 4e7248438882988c6eadb61c57e53a773f65737ca4ee770cf1a9a8e99a10d1a930c412f3d3d3235edb5061d00a56da75e92a58af095fe79db98ce024a2acb773
|
||||
EBUILD huawei-lte-api-1.6.11.ebuild 880 BLAKE2B afc3492a4f62b795aa191f99d13a7f9406531f2fcb402be2e3370b9793eb3ab6b82752afcb2766c6d5831cd39addc8a69fd84e60917c7af53cdea3d2eef3cf39 SHA512 41abdff2979858c265b7ba74927b6ecd267ef4708a13748d29723caba7916cc070e625600bed5dd3acf66977c539d938430278be86e5fdb71c1a0248c4cb8c85
|
||||
MISC metadata.xml 530 BLAKE2B 4168edc15f1a84fc19c1aab22e6cb1ffe548cc72ba7053e43f14adcd9fdd9164186316775d6d86c3c29ade6a3e14256de0b66497c63a3f95a20db5c67ea68932 SHA512 ef5be02f0102e8c75e317fb9a57a31afbeaba4540cd364fda4e41581d096c9daf8b2fb984e7acfd6c538de564970d110649c18c05563ea79de9e3bfe3bd77346
|
|
@ -0,0 +1,40 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( 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 arm arm64 x86"
|
||||
|
||||
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
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">huawei-lte-api</remote-id>
|
||||
<remote-id type="github">Salamek/huawei-lte-api</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>adam.schubert@sg1-game.net</email>
|
||||
<name>Adam Schubert</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue