From 176b150ba843fec0af17f4edb41f43c645c8c2e0 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Wed, 1 Mar 2023 19:45:31 +0100 Subject: [PATCH] dev-python/mopeka-iot-ble: add 0.4.1 Signed-off-by: Andreas Billmeier --- README.md | 4 +- dev-python/mopeka-iot-ble/Manifest | 2 + .../mopeka-iot-ble-0.4.1.ebuild | 37 +++++++++++++++++++ 3 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 dev-python/mopeka-iot-ble/mopeka-iot-ble-0.4.1.ebuild diff --git a/README.md b/README.md index 0b773a8d2..533b384d4 100644 --- a/README.md +++ b/README.md @@ -573,11 +573,11 @@ 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 1763 Ebuilds in total, 1752 of them have in total 1756 (34 different) licenses assigned. +There are 1764 Ebuilds in total, 1753 of them have in total 1757 (34 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1028| +|MIT|1029| |Apache-2.0|381| |GPL-3|108| |BSD|93| diff --git a/dev-python/mopeka-iot-ble/Manifest b/dev-python/mopeka-iot-ble/Manifest index fb68aaad3..7886c8837 100644 --- a/dev-python/mopeka-iot-ble/Manifest +++ b/dev-python/mopeka-iot-ble/Manifest @@ -1,3 +1,5 @@ DIST mopeka-iot-ble-0.4.0.tar.gz 6433 BLAKE2B 5f2ca031872cb6e08385a477b0929fbba1456df09bead193b4a1a1c35c3f0580f2983a6c9696afd7d9346db53a3a5c9862cd84eaaad3695ec47dce587696c272 SHA512 3273a8307215fb50a18b6b6e7ff7293a70f09a33c4a1168d568ca3ff68cf31337bfb94f4ca13e9e2e2a81dc9092ff5fbc5474fca4c204e1b9255f1f4f2be2f8b +DIST mopeka_iot_ble-0.4.1.tar.gz 6436 BLAKE2B 8a985fecd52b053c797a978c066976f37166e87f92a3bcb235d1b29b3ed9d7fd4ec6da1eecdee3f1506151155b4d5e42ee3626887f9d2205b12633ccb025721b SHA512 75a8982a6c6df83a42b1b271c5dd9a3291f5a21ef65f4d6c0164fa1100f2b301dc8ea4b656eb810f3951cc4fd249c2924fcc0241458c6d11cb925e73feb23d10 EBUILD mopeka-iot-ble-0.4.0.ebuild 1001 BLAKE2B 3bdc444da87299faade4f1cbea6aa01cfebcad339652576145561e27fd6423523eceae21ad8785ff74d1064840f0cc539ef7faa236efc252e2efcf11f080bf61 SHA512 8b921f1f3fa9d1c49e61923894e62a7608edf70febb821b37177cf0db9948a6655e294a4b504e4413aea5cd432d1cbe7ec081fe675303d30dfff27a569867d59 +EBUILD mopeka-iot-ble-0.4.1.ebuild 952 BLAKE2B 09a6156a50b964ba698cbac08835cf207105d6d7e8714bdd4871c14c3e01dec74459803ec2bae4cc86cd6dcfcda749dedee710df3cd4fca2288445f3cd42940e SHA512 b72df7e5c3a17d7b7541c14cdd892f2d1df2ef43e449f2fcb687ef8016fb8caea8e59b61c795917ce61fee1b599804f4f15f3e7d28ec122a494fd7e2088d21a9 MISC metadata.xml 535 BLAKE2B 62d00f4088044dd8106db46c8025b94aa3eaa1a847d99a6f240a99c72d301aa77e034e0a903c5a063fcf93c4378bc985924534bda27d7a17026952de349dd7c9 SHA512 aacd5d9c01dfd9bc31b3f896a28b8f6959e2fc37c161424ca7a613424057a76de2ae914fe119ffdc6e279832c2cd0eccf9ace58fe21cdbc3ee250eb9f3a567a5 diff --git a/dev-python/mopeka-iot-ble/mopeka-iot-ble-0.4.1.ebuild b/dev-python/mopeka-iot-ble/mopeka-iot-ble-0.4.1.ebuild new file mode 100644 index 000000000..cd302e0c2 --- /dev/null +++ b/dev-python/mopeka-iot-ble/mopeka-iot-ble-0.4.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=poetry +inherit distutils-r1 pypi + +DESCRIPTION="Mopeka IOT BLE Parser" +HOMEPAGE="https://github.com/bluetooth-devices/mopeka-iot-ble https://pypi.org/project/mopeka-iot-ble/" +SRC_URI="$(pypi_sdist_url)" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/home-assistant-bluetooth-1.3.0[${PYTHON_USEDEP}] + >=dev-python/sensor-state-data-2.2.0[${PYTHON_USEDEP}] + >=dev-python/bluetooth-sensor-state-data-1.5.0[${PYTHON_USEDEP}] + >=dev-python/bluetooth-data-tools-0.1.2[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest