add yolink-api-0.0.5

This commit is contained in:
Andreas Billmeier 2022-05-26 16:29:28 +02:00 committed by Andreas Billmeier
parent ee0b6661d1
commit 4bfff82a8c
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 53 additions and 2 deletions

View File

@ -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 1741 Ebuilds in total, 1734 of them have in total 1741 (35 different) licenses assigned.
There are 1742 Ebuilds in total, 1735 of them have in total 1742 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1066|
|MIT|1067|
|Apache-2.0|307|
|GPL-3|109|
|BSD|96|

View File

@ -0,0 +1,3 @@
DIST yolink-api-0.0.5.tar.gz 5813 BLAKE2B 668964eebc4f29656dacb83924dbda1b097e4eabce8e847e4b3a3bb4918e2b4cbb678d51650140aa273f3ad0d1ccbd74fe6506bb03268997cb174d1537a9b0f2 SHA512 881f6a3ae2212545e703a40065978ee818011a8bc1ef10b9386facb2fc81348de447e31ed565e226bcaf285fcc019ba2581d42395340cc4e8cff52a8a535ba13
EBUILD yolink-api-0.0.5.ebuild 891 BLAKE2B 522f9a304b7634bfd163af5f8b75f15e495dd25c5db8c7a8e34cc3750a3b67e8e6e0f76a7417fc516620c90cd5913fd01d0e899ecdc78df2c618c58c9b03f60c SHA512 07397d682861885e2c25c6881f18f3ebc1fb888cc15a6f094fe105a0097d90cd98207ce409ac3021f4392ff41d49195259380ee217d4f1b46991921c639e7754
MISC metadata.xml 329 BLAKE2B 47b03705f8bceedaf681e5e0cfa74151e7b8365c8495749844bb2f390cacac529c9d31723e93f46c73f744cfb3f4c051bb5ca5d1489c2a01bc6c11945057ebff SHA512 1112e81c737f06baa2e9c45829b3183652fecafe494e5ddc1752f423f6642adeb7d22091819dcb3989b6bb4fb8d050404ffa9eaa1f86d78a6127d66354dc4ef6

View File

@ -0,0 +1,11 @@
<?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">yolink-api</remote-id>
</upstream>
</pkgmetadata>

View File

@ -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..10} )
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 ~amd64-linux ~x86-linux"
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