From abe88bc273cb7c7bdec11317beb04b93db1f8fe4 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Thu, 6 Oct 2022 00:09:03 +0200 Subject: [PATCH] add kegtron-ble-0.4.0 --- README.md | 6 +-- dev-python/kegtron-ble/Manifest | 3 ++ .../kegtron-ble/kegtron-ble-0.4.0.ebuild | 37 +++++++++++++++++++ dev-python/kegtron-ble/metadata.xml | 15 ++++++++ 4 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 dev-python/kegtron-ble/Manifest create mode 100644 dev-python/kegtron-ble/kegtron-ble-0.4.0.ebuild create mode 100644 dev-python/kegtron-ble/metadata.xml diff --git a/README.md b/README.md index c0867107f..5ccc3a234 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ These are the USE Flags I use in production myself. All will compile fine and ar [![emerge ha-med](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml/badge.svg?branch=master)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-med.yml) -The Ebuild we have since `0.97.0`, as soon as I know that at least one user is actively using a component, it will be added. These all compile fine, but some version conflicts could occure, a daily compilation test is run at Github, big thanks to @antonfischl1980, It currently holds **290** USE Flags. +The Ebuild we have since `0.97.0`, as soon as I know that at least one user is actively using a component, it will be added. These all compile fine, but some version conflicts could occure, a daily compilation test is run at Github, big thanks to @antonfischl1980, It currently holds **291** USE Flags. ### `app-misc/homeassistant-full` @@ -538,11 +538,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 1917 Ebuilds in total, 1910 of them have in total 1922 (35 different) licenses assigned. +There are 1918 Ebuilds in total, 1911 of them have in total 1923 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1156| +|MIT|1157| |Apache-2.0|364| |GPL-3|119| |BSD|106| diff --git a/dev-python/kegtron-ble/Manifest b/dev-python/kegtron-ble/Manifest new file mode 100644 index 000000000..937bc1bbe --- /dev/null +++ b/dev-python/kegtron-ble/Manifest @@ -0,0 +1,3 @@ +DIST kegtron-ble-0.4.0.tar.gz 6291 BLAKE2B 33ccd03f78ffa2862cbb9644994b3166bef3a788bbb644c86dc6b316d3838318690c329dc91606434e51b2776e0ba2d9db9363a704fa46d4fdb89f22021ef7df SHA512 04c1a05a7b12c96313c59acfd0e1e0e0d05064a8523accc0e41f8df5246c29d4c8950319a6583db62c2a65d0adbdc5d939ddbca6186cc98b75ec3996f3a01cf5 +EBUILD kegtron-ble-0.4.0.ebuild 894 BLAKE2B f53551a98a2177317ba509b698a452475175bf5d1843d0d0bb98bf8f10635fda31cf1c6618432624970538b9ba9ed2a2d6d0446832df1564464339d759b2842b SHA512 b5571ffdcd9d9ec00021a6d1749a511c8d4f9780409fefaf25de61903954915cc1163bd82d07c8d38a65541339d5f47ef4f480df58d565b90102fca323c11d41 +MISC metadata.xml 451 BLAKE2B 4401d468b7d170beece60a1a64067000154f24dee8693d18a99a85382c5a6e8fe721a37c6507ea97b536d9b2fbe14038075e827a5f5db1c37a78139cad9d3692 SHA512 f3e96c3ae0aea47dfd4701e19e6a320eeb4db7d7a04b3fc718769ca122470d85847af1419a5699cc8a6e87692b36c20a6a459a4e355e4c72fff2c467d0660cfd diff --git a/dev-python/kegtron-ble/kegtron-ble-0.4.0.ebuild b/dev-python/kegtron-ble/kegtron-ble-0.4.0.ebuild new file mode 100644 index 000000000..f441fbc72 --- /dev/null +++ b/dev-python/kegtron-ble/kegtron-ble-0.4.0.ebuild @@ -0,0 +1,37 @@ +# 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="Kegtron BLE support" +HOMEPAGE="https://github.com/bluetooth-devices/kegtron-ble https://pypi.org/project/kegtron-ble/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/bluetooth-data-tools-0.1.2[${PYTHON_USEDEP}] + >=dev-python/sensor-state-data-2.8.0[${PYTHON_USEDEP}] + >=dev-python/bluetooth-sensor-state-data-1.5.0[${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 diff --git a/dev-python/kegtron-ble/metadata.xml b/dev-python/kegtron-ble/metadata.xml new file mode 100644 index 000000000..a770c816b --- /dev/null +++ b/dev-python/kegtron-ble/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + kegtron-ble + + e.klamer@gmail.com + E. Klamer + + +