From 1669062a05a800570c71bb9f1b8fa4a4ebb42a70 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 6 Aug 2022 13:44:32 +0200 Subject: [PATCH] add sensor-state-data-2.0.2 --- README.md | 4 +-- dev-python/sensor-state-data/Manifest | 3 ++ dev-python/sensor-state-data/metadata.xml | 15 ++++++++ .../sensor-state-data-2.0.2.ebuild | 35 +++++++++++++++++++ 4 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 dev-python/sensor-state-data/Manifest create mode 100644 dev-python/sensor-state-data/metadata.xml create mode 100644 dev-python/sensor-state-data/sensor-state-data-2.0.2.ebuild diff --git a/README.md b/README.md index 212ee4509..6db096705 100644 --- a/README.md +++ b/README.md @@ -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| diff --git a/dev-python/sensor-state-data/Manifest b/dev-python/sensor-state-data/Manifest new file mode 100644 index 000000000..741fab1ba --- /dev/null +++ b/dev-python/sensor-state-data/Manifest @@ -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 diff --git a/dev-python/sensor-state-data/metadata.xml b/dev-python/sensor-state-data/metadata.xml new file mode 100644 index 000000000..864750bdc --- /dev/null +++ b/dev-python/sensor-state-data/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + sensor-state-data + + nick@koston.org + J. Nick Koston + + + diff --git a/dev-python/sensor-state-data/sensor-state-data-2.0.2.ebuild b/dev-python/sensor-state-data/sensor-state-data-2.0.2.ebuild new file mode 100644 index 000000000..458856ae9 --- /dev/null +++ b/dev-python/sensor-state-data/sensor-state-data-2.0.2.ebuild @@ -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