dev-python/monzopy: new package, add 1.2.0

Closes: #3434
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-06-16 11:00:15 +02:00
parent 5a86eaf9e0
commit f831b3e297
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 47 additions and 2 deletions

View File

@ -606,13 +606,13 @@ 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 1900 Ebuilds in total, 1889 of them have in total 1911 (42 different) licenses assigned.
There are 1900 Ebuilds in total, 1889 of them have in total 1912 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1088|
|Apache-2.0|428|
|GPL-3|110|
|GPL-3|111|
|BSD|108|
|LGPL-3|25|
|GPL-2|23|

View File

@ -0,0 +1,3 @@
DIST monzopy-1.2.0.tar.gz 15669 BLAKE2B 38bc4bb628cf4e5fa0aff1bb4fe91d161284b3e8ea8764df9bc3bc68df4f14bb61caba603035426ebfe6102d682066dd13e978874258e8f25686a139eee644eb SHA512 7c974959e23c10a0c3766b5d8ceb20332640260c08d2a6f2728412d19ac06854cf5a5a49302b12d6a949ac3f6dace0cb85b9483a75d8a7f1bf20441fb28e7ac8
EBUILD monzopy-1.2.0.ebuild 727 BLAKE2B 1f147e8b63f56a559d0b81ecdd4a07645f3e807ff6e90e7a05b6ff702494e39f2740f38c2ce524dd52844b8cb308390c608fdc892f65cccb29bb405d1cc1a1d2 SHA512 445c14213956f022a264cc6ae77cacf99ec953bf773f63a9dcb64a84733f7057a321e72b9a3e46ab7f3a842cede3f86fd6807ba4eb2cca1b2542cb71a937401b
MISC metadata.xml 519 BLAKE2B 9b6dd9aa1cfd20f4c4211a81baf6fbf824047aedb479144c72ed3a60c350a947f24b00c4a2aef31003869c1921f08c9e9bd4ccbd40bda5b7a13d70e37962ede5 SHA512 fa0754eb974e27e83dc4eb8961ddab0c973dcc90720f75d0abbce52874126bcfc5093df0c9f424814402c2f3eb2cf9da9094962f2cfd65e4a838555ff29b6c14

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">monzopy</remote-id>
<remote-id type="github">JakeMartin-ICL/monzopy</remote-id>
<maintainer status="unknown">
<email>jake_martin_@outlook.com</email>
<name>Jake Martin</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,26 @@
# 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
inherit distutils-r1 pypi
DESCRIPTION="A simple async python wrapper for the Monzo API, used primarily by the Monzo Home Assistant integration."
HOMEPAGE="https://github.com/JakeMartin-ICL/monzopy https://pypi.org/project/monzopy/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]"
src_prepare() {
echo -ne '\n[build-system]\nrequires = ["setuptools"]\nbuild-backend = "setuptools.build_meta"\n' >> pyproject.toml || die
default
}