diff --git a/README.md b/README.md index f1a2f3fae..62de60f44 100644 --- a/README.md +++ b/README.md @@ -538,11 +538,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 1929 Ebuilds in total, 1922 of them have in total 1934 (35 different) licenses assigned. +There are 1930 Ebuilds in total, 1923 of them have in total 1935 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1162| +|MIT|1163| |Apache-2.0|363| |GPL-3|121| |BSD|106| diff --git a/dev-python/yolink-api/Manifest b/dev-python/yolink-api/Manifest index 1ff090402..98b5bb069 100644 --- a/dev-python/yolink-api/Manifest +++ b/dev-python/yolink-api/Manifest @@ -1,5 +1,7 @@ DIST yolink-api-0.0.8.tar.gz 6002 BLAKE2B a91914f052f3876a3db5c03d207cf2db76e8a68bb4d219f060a20b1f96a909b9e3c507f2914f9c04f7defcff7f15b2f365dd22de57be566f7c7d4c8a6e1b46f7 SHA512 8f0f12d8c815ea175a094e6a7290fe0909445f3b735a9b27ae94f28f22583e59ec8f82603ee9ddf9ec7df66b972945d36c914425ff2144eaaa804293de9cd1df DIST yolink-api-0.0.9.tar.gz 6073 BLAKE2B 1662ed059f4134700da3f7d1644e21a495f15c3c3a1bec709a2a5d1f6627afa1ce44bb114ed4f63aac0bbf64e2eaff5a11ea4bf113740ef7b22b2340bf6d6016 SHA512 2e549d9e6605fbd4fd3edda80ac8548190ced07c0694322a235eee4ea31e346de8b7d3031d9867fda85e3a9e56187b728d3e512df937782ef1676f7fae141310 +DIST yolink-api-0.1.0.tar.gz 6380 BLAKE2B b81ea4dc2c3c760fb9bb6b5c23e544e39f18470f1b9b7cc379d0f67b4ec21885920de9855273aa8a71e84399bc36a06554eb9d03011008911276135318928d83 SHA512 7edf1cfb4562126eb88d494a5b154a31be6f3b36d7c105382bf4f7cde043f467a94822c5aeee2c0db1d9bd18e159593d95f21188843f69a27e4ca0dfa9b839fe EBUILD yolink-api-0.0.8.ebuild 863 BLAKE2B 6b5383f0055b76992d805e2e2abba4e8bdc8f0477958b9395177fa55cc13e45582d90d47b65289c4c3f588ee63ed4785449c336c2cb2a2ea8bd95a701a2fba56 SHA512 65ce634ab10ebdd9e275c77da0b9ea227478f74b379de137118420fe92f8fdb32c037d4d9d910f44959c957ecb9d22fd16a848d1a307485e802bbe4d10d9dff3 EBUILD yolink-api-0.0.9.ebuild 863 BLAKE2B 6b5383f0055b76992d805e2e2abba4e8bdc8f0477958b9395177fa55cc13e45582d90d47b65289c4c3f588ee63ed4785449c336c2cb2a2ea8bd95a701a2fba56 SHA512 65ce634ab10ebdd9e275c77da0b9ea227478f74b379de137118420fe92f8fdb32c037d4d9d910f44959c957ecb9d22fd16a848d1a307485e802bbe4d10d9dff3 +EBUILD yolink-api-0.1.0.ebuild 863 BLAKE2B 6b5383f0055b76992d805e2e2abba4e8bdc8f0477958b9395177fa55cc13e45582d90d47b65289c4c3f588ee63ed4785449c336c2cb2a2ea8bd95a701a2fba56 SHA512 65ce634ab10ebdd9e275c77da0b9ea227478f74b379de137118420fe92f8fdb32c037d4d9d910f44959c957ecb9d22fd16a848d1a307485e802bbe4d10d9dff3 MISC metadata.xml 329 BLAKE2B 47b03705f8bceedaf681e5e0cfa74151e7b8365c8495749844bb2f390cacac529c9d31723e93f46c73f744cfb3f4c051bb5ca5d1489c2a01bc6c11945057ebff SHA512 1112e81c737f06baa2e9c45829b3183652fecafe494e5ddc1752f423f6642adeb7d22091819dcb3989b6bb4fb8d050404ffa9eaa1f86d78a6127d66354dc4ef6 diff --git a/dev-python/yolink-api/yolink-api-0.1.0.ebuild b/dev-python/yolink-api/yolink-api-0.1.0.ebuild new file mode 100644 index 000000000..6388681c7 --- /dev/null +++ b/dev-python/yolink-api/yolink-api-0.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="A library to authenticate with yolink device" +HOMEPAGE="https://github.com/YoSmart-Inc/yolink-api https://pypi.org/project/yolink-api/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}] + >=dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.9.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