add psutil-home-assistant-0.0.1

This commit is contained in:
Andreas Billmeier 2022-09-03 11:43:49 +02:00 committed by Andreas Billmeier
parent 52209019f6
commit 650103eb55
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 51 additions and 2 deletions

View File

@ -523,12 +523,12 @@ 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 1862 Ebuilds in total, 1855 of them have in total 1867 (35 different) licenses assigned.
There are 1863 Ebuilds in total, 1856 of them have in total 1868 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1129|
|Apache-2.0|342|
|Apache-2.0|343|
|GPL-3|114|
|BSD|106|
|LGPL-3|29|

View File

@ -0,0 +1,3 @@
DIST psutil-home-assistant-0.0.1.tar.gz 6045 BLAKE2B f20f10e90584f29cab91a4735f6e070824290e7541ae787e7bdf479dd1e2806dbc7acbbb3de0a08dfea04421c440b9b61d32bdad1bf43c7a46fee624ec69411e SHA512 d67216ed2a0a11d8e2ebded47680e7d0c390edd76db0dee79b9388dd79f82112c0c9a8493d3518cd47de6e111b40e7fec94c0a35caf5742e50084100aae93938
EBUILD psutil-home-assistant-0.0.1.ebuild 836 BLAKE2B 4f118136f28e10ca1b32fd72e8fd4a0c7a5e0ddd9f9cfaa6fb788cab119b31e37985c2590d2a8988769d2a88a938c53a1a239e4ab031a8aa443e79d916cda9c8 SHA512 5578eab1665faa4ff4c9dcd82f4b7a4497f690aa50e1585aad0eb4107e344d8db9b257d13ebbad124acab7e4b0b7b89aa9ff1aaf69bc33a391d769f1e1c3c284
MISC metadata.xml 340 BLAKE2B 176d945494a4fa5868b74a1a1db6001fafd87724209624efe0e99f5ae0e99056dd0c625b3e826deb44c1c5f7fd75f963d73f4350d6b220669d6266f193049937 SHA512 56ef74a2dbcce2b3d4cd52406c029cd86b17a8e9c8285e3c192cb5cf482d8aa18e10450067a1f68b03f55c18d6ee3a541d588545c4b85d2009a0b4102d117451

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">psutil-home-assistant</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,35 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Wrapper for psutil to allow it to be used several times in the same process."
HOMEPAGE="https://github.com/home-assistant-libs/psutil-home-assistant https://pypi.org/project/psutil-home-assistant/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/psutil[${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