Skip to content

Commit f831b3e

Browse files
committed
dev-python/monzopy: new package, add 1.2.0
Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3434 Signed-off-by: Andreas Billmeier <[email protected]>
1 parent 5a86eaf commit f831b3e

File tree

4 files changed

+47
-2
lines changed

4 files changed

+47
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,13 +606,13 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
606606

607607
## Licenses
608608
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.
609-
There are 1900 Ebuilds in total, 1889 of them have in total 1911 (42 different) licenses assigned.
609+
There are 1900 Ebuilds in total, 1889 of them have in total 1912 (42 different) licenses assigned.
610610

611611
|License| Ebuilds using it|
612612
|-------|-----|
613613
|MIT|1088|
614614
|Apache-2.0|428|
615-
|GPL-3|110|
615+
|GPL-3|111|
616616
|BSD|108|
617617
|LGPL-3|25|
618618
|GPL-2|23|

dev-python/monzopy/Manifest

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DIST monzopy-1.2.0.tar.gz 15669 BLAKE2B 38bc4bb628cf4e5fa0aff1bb4fe91d161284b3e8ea8764df9bc3bc68df4f14bb61caba603035426ebfe6102d682066dd13e978874258e8f25686a139eee644eb SHA512 7c974959e23c10a0c3766b5d8ceb20332640260c08d2a6f2728412d19ac06854cf5a5a49302b12d6a949ac3f6dace0cb85b9483a75d8a7f1bf20441fb28e7ac8
2+
EBUILD monzopy-1.2.0.ebuild 727 BLAKE2B 1f147e8b63f56a559d0b81ecdd4a07645f3e807ff6e90e7a05b6ff702494e39f2740f38c2ce524dd52844b8cb308390c608fdc892f65cccb29bb405d1cc1a1d2 SHA512 445c14213956f022a264cc6ae77cacf99ec953bf773f63a9dcb64a84733f7057a321e72b9a3e46ab7f3a842cede3f86fd6807ba4eb2cca1b2542cb71a937401b
3+
MISC metadata.xml 519 BLAKE2B 9b6dd9aa1cfd20f4c4211a81baf6fbf824047aedb479144c72ed3a60c350a947f24b00c4a2aef31003869c1921f08c9e9bd4ccbd40bda5b7a13d70e37962ede5 SHA512 fa0754eb974e27e83dc4eb8961ddab0c973dcc90720f75d0abbce52874126bcfc5093df0c9f424814402c2f3eb2cf9da9094962f2cfd65e4a838555ff29b6c14

dev-python/monzopy/metadata.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3+
<pkgmetadata>
4+
<maintainer type="project">
5+
<email>[email protected]</email>
6+
<name>Andreas Billmeier</name>
7+
</maintainer>
8+
<upstream>
9+
<remote-id type="pypi">monzopy</remote-id>
10+
<remote-id type="github">JakeMartin-ICL/monzopy</remote-id>
11+
<maintainer status="unknown">
12+
<email>[email protected]</email>
13+
<name>Jake Martin</name>
14+
</maintainer>
15+
</upstream>
16+
</pkgmetadata>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright 1999-2024 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
PYTHON_COMPAT=( python3_{11..13} )
7+
DISTUTILS_USE_PEP517=setuptools
8+
inherit distutils-r1 pypi
9+
10+
DESCRIPTION="A simple async python wrapper for the Monzo API, used primarily by the Monzo Home Assistant integration."
11+
HOMEPAGE="https://github.com/JakeMartin-ICL/monzopy https://pypi.org/project/monzopy/"
12+
13+
LICENSE="GPL-3"
14+
SLOT="0"
15+
KEYWORDS="amd64 arm arm64 x86"
16+
IUSE="test"
17+
RESTRICT="!test? ( test )"
18+
19+
DOCS="README.md"
20+
21+
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]"
22+
23+
src_prepare() {
24+
echo -ne '\n[build-system]\nrequires = ["setuptools"]\nbuild-backend = "setuptools.build_meta"\n' >> pyproject.toml || die
25+
default
26+
}

0 commit comments

Comments
 (0)