Skip to content

Commit bdb3090

Browse files
committed
dev-python/mypermobil: new package, add 0.1.6
Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/2476 Signed-off-by: Andreas Billmeier <[email protected]>
1 parent 2d2d753 commit bdb3090

File tree

4 files changed

+54
-2
lines changed

4 files changed

+54
-2
lines changed

README.md

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

613613
## Licenses
614614
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.
615-
There are 1717 Ebuilds in total, 1706 of them have in total 1726 (43 different) licenses assigned.
615+
There are 1718 Ebuilds in total, 1707 of them have in total 1727 (43 different) licenses assigned.
616616

617617
|License| Ebuilds using it|
618618
|-------|-----|
619-
|MIT|1002|
619+
|MIT|1003|
620620
|Apache-2.0|363|
621621
|GPL-3|98|
622622
|BSD|96|

dev-python/mypermobil/Manifest

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DIST mypermobil-0.1.6.tar.gz 11617 BLAKE2B 5d88cfc3a8865876b91ba72c4cd3c2661d38d0a0baf4520d332fcec0fdbd2063c182bb5c0c4979a236444562b67eb6f56f4f58af8d92eb4c585fd66732acbb79 SHA512 7b90cbe6be96c89ca8fb25f8b856d014e8802f49635dc5022f7f3c2463aa2bedda2606be4fa0d74a287ad5933b6aa11396d3956a85a8aa7e2b52c874c07d18e8
2+
EBUILD mypermobil-0.1.6.ebuild 729 BLAKE2B e72c1ac57d0dab74dfb6eccdaddc875eb37b04c0dd94166c6225657bbef64775984fdcc004f2ea8dfb198ed629fb12186ebc11667e94441119063a2ac2a34a1b SHA512 1aaaa98ad4e1bee0d512dab26071b0678b0c79ff663c0252bb7011008cf2247ad796c3dff1204ad9a3cc20a145a09a4f3590bea8ec5b26a3a48768d8f2f1b53a
3+
MISC metadata.xml 516 BLAKE2B 65af0d0f2a154b8de3edb7133ef79cbae8869e92b81a86c9db2a7db5761dccee32c703defc2dd2b3205fdac10dec7b1628174479f243656c687355117e7659fe SHA512 91a0b13372ee823a261521045bd04ecf991be214e2cf1b992f2a89ba9e9244824227ba7e28a7e30609719fc1b57d7a99f330697ca2e287e4c40ec505bfec3007

dev-python/mypermobil/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">mypermobil</remote-id>
10+
<remote-id type="github">IsakNyberg/MyPermobil-API</remote-id>
11+
<maintainer status="unknown">
12+
<email>[email protected]</email>
13+
<name>Isak Nyberg</name>
14+
</maintainer>
15+
</upstream>
16+
</pkgmetadata>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Copyright 1999-2023 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
PYTHON_COMPAT=( python3_{10..12} )
7+
DISTUTILS_USE_PEP517=setuptools
8+
inherit distutils-r1 pypi
9+
10+
DESCRIPTION="A Python wrapper for the MyPermobil API"
11+
HOMEPAGE="https://github.com/IsakNyberg/MyPermobil-API https://pypi.org/project/mypermobil/"
12+
13+
LICENSE="MIT"
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+
dev-python/aiocache[${PYTHON_USEDEP}]"
23+
BDEPEND="
24+
test? (
25+
dev-python/pytest[${PYTHON_USEDEP}]
26+
dev-python/aiounittest[${PYTHON_USEDEP}]
27+
)"
28+
29+
python_test() {
30+
py.test -v -v || die
31+
}
32+
33+
distutils_enable_tests pytest

0 commit comments

Comments
 (0)