diff --git a/README.md b/README.md index 0c0aa0ebc..30cf166fa 100644 --- a/README.md +++ b/README.md @@ -524,11 +524,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 1735 Ebuilds in total, 1728 of them have in total 1735 (35 different) licenses assigned. +There are 1736 Ebuilds in total, 1729 of them have in total 1736 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1061| +|MIT|1062| |Apache-2.0|306| |GPL-3|109| |BSD|96| diff --git a/dev-python/HATasmota/HATasmota-0.5.0.ebuild b/dev-python/HATasmota/HATasmota-0.5.0.ebuild new file mode 100644 index 000000000..e531de3bb --- /dev/null +++ b/dev-python/HATasmota/HATasmota-0.5.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Python module to help parse and construct Tasmota MQTT messages." +HOMEPAGE="https://github.com/emontnemery/hatasmota https://pypi.org/project/HATasmota/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86 amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/attrs-19.3.0[${PYTHON_USEDEP}] + >=dev-python/voluptuous-0.12.0[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +} + +distutils_enable_tests pytest diff --git a/dev-python/HATasmota/Manifest b/dev-python/HATasmota/Manifest index e8933c55a..7ba3de337 100644 --- a/dev-python/HATasmota/Manifest +++ b/dev-python/HATasmota/Manifest @@ -1,7 +1,9 @@ DIST HATasmota-0.3.1.tar.gz 26429 BLAKE2B c5ad8032224c5bd3ac8f33699a60dba3d2fd5cce4462952d358f9e0e7a264c29fdf6a7bea57a600cd37fe337041b20db1701908c5a35158a120bdc4fc3c80bfd SHA512 ec3ad96141af8f93e3d6c0bb618f5afe89bc3eb8acc707721a221fa105f213d6067ea31e619d66866b7c3c77efaf54d608d072eb57d295e5ded20bbb1297a227 DIST HATasmota-0.4.0.tar.gz 26538 BLAKE2B 46f4b8e8f572db17a798f82960fcde8c11458f068ba7d46d2e4776809fc2373455f6fe5eab75c1b808dd04871e197f25d7637bde92dad4d1d8b2eb88c172c44c SHA512 4e2a2da3004bf75da52c09b2323f5f944e696e104ca7ccd1ab7e1199685b4be987914838b40ef4956b50a139661a9d32e6d3101814d11adc28e7bfc4c4dedd09 DIST HATasmota-0.4.1.tar.gz 26817 BLAKE2B 7f3941fa6538105879bb5bc61820a957a7b06c8a06818c06ddaf1748936a0012a57a4c88abb64618fba95f9df04379aebf824edbc59b080f74e99aad0abf420f SHA512 728dc6500dc224747efd46e115fba9f8ce606e31b35df6ce6dd890a21344751898d3db28329a10b7f48f5deb2a4379c7a6e3cf92d475c4f5aa46f519afc9bd50 +DIST HATasmota-0.5.0.tar.gz 27143 BLAKE2B 81e683c938f15bd10298e997073d01e7b0ac98d9837e8d5614b27cf28dceb751c8a12aad69fc03466f5e1e719099703c9acb23c9adb8b4293e8627a39a2b21fc SHA512 a4c3dd3e727a69c126bd9e3842c4586565df515cd4c0a056797083d44d3ab28b140e66991f34bea7397454d526b97cc5931644e3d13b9a911852129143886c8e EBUILD HATasmota-0.3.1.ebuild 835 BLAKE2B 1153b676113b031eb43320776d1b7524426f88ec9395923cd16c87c2dd4a2a167f299008570fe5ea07d67a9ca3d42e34659cecbd25bb0af540c7d091bc82c22f SHA512 04ad93343cc406b358715f1716ebea2cad376d7d7d003464324d503a11f7b60b5c81810f020f2843e71527541679c7652c52cc04edaebeeb67740cbfda695a08 EBUILD HATasmota-0.4.0.ebuild 835 BLAKE2B 1153b676113b031eb43320776d1b7524426f88ec9395923cd16c87c2dd4a2a167f299008570fe5ea07d67a9ca3d42e34659cecbd25bb0af540c7d091bc82c22f SHA512 04ad93343cc406b358715f1716ebea2cad376d7d7d003464324d503a11f7b60b5c81810f020f2843e71527541679c7652c52cc04edaebeeb67740cbfda695a08 EBUILD HATasmota-0.4.1.ebuild 835 BLAKE2B 1153b676113b031eb43320776d1b7524426f88ec9395923cd16c87c2dd4a2a167f299008570fe5ea07d67a9ca3d42e34659cecbd25bb0af540c7d091bc82c22f SHA512 04ad93343cc406b358715f1716ebea2cad376d7d7d003464324d503a11f7b60b5c81810f020f2843e71527541679c7652c52cc04edaebeeb67740cbfda695a08 +EBUILD HATasmota-0.5.0.ebuild 866 BLAKE2B 2bfe90fecc328bf26f9e5b6ca292cdd5376f6efe58e3108e41b7023c4512cea1825412f1c8cdc6effb62bc0e59a911ce60f1ff63ed3c0fb2dfc6bfe3665d2f2d SHA512 2d5629abe61a9470d1a0440a9772951eb9fb1c211b21334aea1cee765bf3eb131160bbca1aeffbf504bd99fe51b4acf90ea97ddbc313ff4489c562cae6e9d861 MISC metadata.xml 328 BLAKE2B 7a57d96bd715634edcaf2662c408256d903748784185470d08b17771e43f07362faa697d96238e5152fea1856fcf5553078366153c5bb7039774a3ffeac6a0d3 SHA512 c2315766ece9bb3728914f6885d397142155364d68c66dc370262c7d3032dccca028e96c7115a182eecab02a0eae85b513dbb10d345fd3a61aa592d868d59363