dev-python/pytrydan: new package, add 0.4.0

Closes: #2504
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-12-10 14:32:56 +01:00 committed by Andreas Billmeier
parent 34407f1d67
commit 50c7cfecea
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 59 additions and 2 deletions

View File

@ -612,11 +612,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 1732 Ebuilds in total, 1721 of them have in total 1741 (43 different) licenses assigned.
There are 1733 Ebuilds in total, 1722 of them have in total 1742 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1017|
|MIT|1018|
|Apache-2.0|363|
|GPL-3|98|
|BSD|96|

View File

@ -0,0 +1,3 @@
DIST pytrydan-0.4.0.tar.gz 11460 BLAKE2B e35eb186a54b15a47c433287947ed0b6c3ab2b1144a1413403abef5e1fb1b51710e35bc2e4edbf2be36b183ad8c37b8275b2a6b57648efcb2ce17ab664d07d4b SHA512 501758e2ddd86206f7276b0e55da6e34d6fff1928da52e5a15fe204f88cb4b2b15e77ad8195e61b5552522f07b890358d84ee7f777eedd03ea692ce24348ccbf
EBUILD pytrydan-0.4.0.ebuild 936 BLAKE2B 5f338ee02bc122a8acf4ced9fb004a59fb8cfe21352fc7d71e1179ae5a5c3d200f86feb0309ea3f3ef553e2f0fbc8cd5b524a0d99e040b0c456eef343bfa4452 SHA512 91e18e52ee650bb01a2da9e0c8584ef0b03fbd588f61814eb366fdaf4c88b8f80565e057cb077fad3883e91da5770e8b6a0ceb9cb0563b6feef48a44c0887ca2
MISC metadata.xml 509 BLAKE2B 261b03657f4a6a880f37b2f23a095159877910da5b0bdd2df0de670789cb6d2e8e01a00d5a6755678163e8f0ee22311ef9bbceded6cb77052d39a0d3381ed3fc SHA512 db81888484f12f916121b0ff584b515310bd8fde69f929611b70c6d8713c11f9e0e9c74414c95875e4cffecf133e7666eb9fcd322bc5823f984b1ae4e1d91a9a

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">pytrydan</remote-id>
<remote-id type="github">dgomes/pytrydan</remote-id>
<maintainer status="unknown">
<email>diogogomes@gmail.com</email>
<name>Diogo Gomes</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,38 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi
DESCRIPTION="Library to interface with V2C EVSE Trydan"
HOMEPAGE="https://github.com/dgomes/pytrydan https://pypi.org/project/pytrydan/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/rich[${PYTHON_USEDEP}]
>=dev-python/typer-0.7.0[${PYTHON_USEDEP}]
>=dev-python/tenacity-8.2.2[${PYTHON_USEDEP}]
>=dev-python/httpx-0.24.0[${PYTHON_USEDEP}]
>=dev-python/orjson-3.9.2[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/respx[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest