From f5147c1408551c658400c2e71fcdac9d5bc0f6d9 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Fri, 21 Feb 2025 10:45:27 +0100 Subject: [PATCH] dev-python/tuya-device-sharing-sdk: add 0.2.1 Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/4302 Signed-off-by: Andreas Billmeier --- README.md | 4 +-- dev-python/tuya-device-sharing-sdk/Manifest | 4 ++- .../tuya-device-sharing-sdk-0.1.9.ebuild | 2 +- .../tuya-device-sharing-sdk-0.2.1.ebuild | 30 +++++++++++++++++++ 4 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 dev-python/tuya-device-sharing-sdk/tuya-device-sharing-sdk-0.2.1.ebuild diff --git a/README.md b/README.md index f241ed84c..06c438fc4 100644 --- a/README.md +++ b/README.md @@ -606,11 +606,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 2374 Ebuilds in total, 2360 of them have in total 2403 (43 different) licenses assigned. +There are 2375 Ebuilds in total, 2361 of them have in total 2404 (43 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1354| +|MIT|1355| |Apache-2.0|554| |GPL-3|149| |BSD|127| diff --git a/dev-python/tuya-device-sharing-sdk/Manifest b/dev-python/tuya-device-sharing-sdk/Manifest index a643946d1..f755bcf2d 100644 --- a/dev-python/tuya-device-sharing-sdk/Manifest +++ b/dev-python/tuya-device-sharing-sdk/Manifest @@ -1,3 +1,5 @@ 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 +DIST tuya-device-sharing-sdk-0.2.1.tar.gz 23382 BLAKE2B db2dc042abf7a45b7e8d9d8567a0eba95a9035169fa9093cc63358f453fb2ec09ac98ebb43104fd4e5030f27b7c52de16262acedef744cedee18ec6111bdc43f SHA512 65c13e64ac192b2f3d3f00126bbc718557523b6b79e58a794286ffb63b54fab71f9450c0328a4575be5251441a3e63501f2ae30961515b03da6fcbfce6a3f345 +EBUILD tuya-device-sharing-sdk-0.1.9.ebuild 760 BLAKE2B fa02f28291531aa044d2fbee5ec827c4a6282a60570fd4859d0f9b88ee0651484286e106e17ac2c04afc7fe1e0501befb48b55109e868953c46a277663ab944c SHA512 6d38dfe06b248213e336cf86e2825d7fb676cd4d6550a40aa37b92961e31cd869b1bba3cff62cd4ce886993bffc11b69e968f7fc0473cfb0ee8c771ca01ab512 +EBUILD tuya-device-sharing-sdk-0.2.1.ebuild 760 BLAKE2B fa02f28291531aa044d2fbee5ec827c4a6282a60570fd4859d0f9b88ee0651484286e106e17ac2c04afc7fe1e0501befb48b55109e868953c46a277663ab944c SHA512 6d38dfe06b248213e336cf86e2825d7fb676cd4d6550a40aa37b92961e31cd869b1bba3cff62cd4ce886993bffc11b69e968f7fc0473cfb0ee8c771ca01ab512 MISC metadata.xml 533 BLAKE2B b9f4593454194321d504fa3a32e3b387280e4f95763b3ebe980f87eff9ececae328872b8ac38fe3776939ea8fe64e5a0f8d816955bf4665a8cc5b26b731b750b SHA512 f0bf14e30a6c403f49a7d580b0181268b18f04abeb06993db4b30e45bda131ce1afee62d01416d27b8cd99d0b8c8ca9408d7d2699c4545e3f3bd757740b4e356 diff --git a/dev-python/tuya-device-sharing-sdk/tuya-device-sharing-sdk-0.1.9.ebuild b/dev-python/tuya-device-sharing-sdk/tuya-device-sharing-sdk-0.1.9.ebuild index 7deab8958..61aebc45b 100644 --- a/dev-python/tuya-device-sharing-sdk/tuya-device-sharing-sdk-0.1.9.ebuild +++ b/dev-python/tuya-device-sharing-sdk/tuya-device-sharing-sdk-0.1.9.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{11..13} ) DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 inherit distutils-r1 pypi diff --git a/dev-python/tuya-device-sharing-sdk/tuya-device-sharing-sdk-0.2.1.ebuild b/dev-python/tuya-device-sharing-sdk/tuya-device-sharing-sdk-0.2.1.ebuild new file mode 100644 index 000000000..61aebc45b --- /dev/null +++ b/dev-python/tuya-device-sharing-sdk/tuya-device-sharing-sdk-0.2.1.ebuild @@ -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_{11..13} ) +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