dev-python/tuya-device-sharing-sdk: new package, add 0.1.9

Closes: #2872
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-02-17 19:15:49 +01:00
parent dbc454d1dc
commit 7a3069ae97
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 51 additions and 2 deletions

View File

@ -617,11 +617,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 1728 Ebuilds in total, 1717 of them have in total 1736 (42 different) licenses assigned.
There are 1729 Ebuilds in total, 1718 of them have in total 1737 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|982|
|MIT|983|
|Apache-2.0|379|
|GPL-3|115|
|BSD|100|

View File

@ -0,0 +1,3 @@
DIST tuya-device-sharing-sdk-0.1.9.tar.gz 23165 BLAKE2B 5dcc94e38f0391d9f64aea152aefad3742028cf69f241bcf66d3b1c15622a0c61711cc575b4c1d1708942511419a4bc8066e40767fc5910b882e233d6a8a9951 SHA512 336ecc0c9ce7c54e48dfee099847c0035f37ce717d0940dc200b997e1218e4e9208fabac844ca05ee2d8d64c821a94c5946590339091cfe3bbee1c72d8108789
EBUILD tuya-device-sharing-sdk-0.1.9.ebuild 760 BLAKE2B e9062984032021b4824179ef932dd7b67dc842cf6201d935526a626cc256940de3700caf6f775debcbb79485c2f41e4417c121fdf312c8a18da7392b945977cd SHA512 cca0842153ce0a5319b271f98f43395236388b457db5b167c389ae7539d9f4b9d8a687584324c6a3435f533bcc09e9a1588bfa0150c050bf7a363afd7aac668c
MISC metadata.xml 533 BLAKE2B b9f4593454194321d504fa3a32e3b387280e4f95763b3ebe980f87eff9ececae328872b8ac38fe3776939ea8fe64e5a0f8d816955bf4665a8cc5b26b731b750b SHA512 f0bf14e30a6c403f49a7d580b0181268b18f04abeb06993db4b30e45bda131ce1afee62d01416d27b8cd99d0b8c8ca9408d7d2699c4545e3f3bd757740b4e356

View File

@ -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">tuya-device-sharing-sdk</remote-id>
<remote-id type="github">tuya/tuya-device-sharing-sdk</remote-id>
<maintainer status="unknown">
<email>developer@tuya.com</email>
<name>Tuya Inc.</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,30 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="A Python sdk for Tuya Open API, which provides IoT capabilities, maintained by Tuya official"
HOMEPAGE="https://github.com/tuya/tuya-device-sharing-sdk https://pypi.org/project/tuya-device-sharing-sdk/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
src_prepare() {
echo -ne "requests\npaho-mqtt\n" > requirements.txt
eapply_user
}
RDEPEND="dev-python/paho-mqtt[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
distutils_enable_tests pytest