add sensor-state-data-2.0.2

This commit is contained in:
Andreas Billmeier 2022-08-06 13:44:32 +02:00 committed by Andreas Billmeier
parent 2e7ad05797
commit 1669062a05
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 55 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 1824 Ebuilds in total, 1817 of them have in total 1828 (35 different) licenses assigned.
There are 1825 Ebuilds in total, 1818 of them have in total 1829 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1108|
|Apache-2.0|332|
|Apache-2.0|333|
|GPL-3|109|
|BSD|103|
|LGPL-3|30|

View File

@ -0,0 +1,3 @@
DIST sensor-state-data-2.0.2.tar.gz 14516 BLAKE2B 7f157b1852a3a2ef434b7ab2960e7a9ed587642e1a24fd1589a9eb189b2474a86b015b1200528e8b8367d7e7b6bf5e48caa266dae523cb33060bd1d34930533b SHA512 1141b5e4c1e573ab9cbcc9ce8746911095d316cfce416ddfb3d75fceb712a8f733389bbaabe4309d2d2123e5e70bb21b7d414742d0f1ecee8528b43d20aa0b62
EBUILD sensor-state-data-2.0.2.ebuild 766 BLAKE2B 095dcb63909196ed2c71babc59c2703a94892975da600983fb13d706fd6a99dc3dc1ed045f8487782f6ee25ca06828fc660345b654d5d1924c85ac629de52b02 SHA512 b06a61cd9d677b8efa58019e28dd561e7e550bcae5114600a0906c8ecd4550114e577fdf88f6fa71d8be632deea6be63214eda2f1b40d26d62674026b4b413a2
MISC metadata.xml 459 BLAKE2B faa8ad4dddd4dc6e530775b7b772a43c844d97d53dd13a74d71abdff7233aeb2201de290837e308d866d66005bb7a1ca95974caec349c1a66af9239e706378f5 SHA512 234e366bfb6c355de21e3a06e864f850938d911dd36359e9b67fbdeeb3924ad2141a129203d748c3af41dc68e9e25b20d908b0b3d3d81981044a69fc484c6146

View File

@ -0,0 +1,15 @@
<?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">sensor-state-data</remote-id>
<maintainer status="unknown">
<email>nick@koston.org</email>
<name>J. Nick Koston</name>
</maintainer>
</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="Models for storing and converting Sensor Data state"
HOMEPAGE="https://github.com/bluetooth-devices/sensor-state-data https://pypi.org/project/sensor-state-data/"
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=""
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