dev-python/pyownet: remove olds, cleanup, enable pytest

This commit is contained in:
2022-10-17 06:37:02 +02:00
committed by Andreas Billmeier
parent 04dfb424db
commit cf84e0f927
5 changed files with 9 additions and 45 deletions

View File

@@ -526,7 +526,7 @@
|opensensemap|query the open data API of openSenseMap.org air quality sensor station|N|Y|Y|0.85|
|opentherm_gw|control the OpenTherm Gateway from Home Assistant|N|N|Y|0.81|
|openuv|The openuv integration displays UV and Ozone data from openuv.io|N|N|Y|0.76|
|openweathermap|uses OpenWeatherMap as a source for current meteorological data|N|Y|Y|0.32|
|openweathermap|uses OpenWeatherMap as a source for current meteorological data|Y|Y|Y|0.32|
|open_meteo|integrates the free weather forecast from Open-Meteo|N|N|Y|2022.2.0b1|
|opnsense|Presence Detection with data from OPNsense firewall|N|Y|Y|0.105|
|opple|allows you to control the state of your Opple smart light|N|N|Y|0.80|

View File

@@ -71,7 +71,7 @@ Since homeassistant-0.115.3 the **Main Ebuild** is released in three different s
[![emerge ha-min](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml)
These are the USE Flags I use in production myself. All will compile fine and are extensively tested in every release, a daily compilation test is run at Github, big thanks to @antonfischl1980, it currently holds **93** USE Flags.
These are the USE Flags I use in production myself. All will compile fine and are extensively tested in every release, a daily compilation test is run at Github, big thanks to @antonfischl1980, it currently holds **94** USE Flags.
### `app-misc/homeassistant`
@@ -547,7 +547,7 @@ 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 1535 Ebuilds in total, 1528 of them have in total 1540 (34 different) licenses assigned.
There are 1534 Ebuilds in total, 1527 of them have in total 1539 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
@@ -555,7 +555,7 @@ There are 1535 Ebuilds in total, 1528 of them have in total 1540 (34 different)
|Apache-2.0|308|
|GPL-3|93|
|BSD|89|
|LGPL-3|26|
|LGPL-3|25|
|GPL-2|19|
|all-rights-reserved|14|
|GPL-3+|13|

View File

@@ -1,7 +1,5 @@
AUX pyownet-0.10.0-2to3.patch 9204 BLAKE2B d19812df9c02bd57b103b5c37ac0e411b5f3bdf3fcb9b1e535853333e7f6759e129c50383f7697dc08cd77a859e08828aa8eceb592da86870f0300a051a90856 SHA512 5d599536a459dbed232a7a9353b41ed895743d8bed9b97140edb6ed01f65a671171ee13ff1453637bd6a52618f4f9f382dd2e17af855a34a4145e1bd6c14d6c4
AUX pyownet-0.10.0_p1-2to3.patch 4508 BLAKE2B 3bd2eb958535d253b8fcc43aa2d55acab607e21bd3e41aaf5ed7448e45a1480bf1891954cfd7ad59f0bfdb009f73396eeecdc3059ab09640de284c0592e25035 SHA512 e534d555d44f5a5e242e4d8736cd2b6048fa5dec9ffc1c95cbc456e4a0023c63ccc0573e4e381bf2c3576631e41ea40b0378d37c7e13f92cd1ee5929511692de
DIST pyownet-0.10.0.post1.tar.gz 17088 BLAKE2B 2ba604b52ecaf3b2500f7e36b681ac425cd8728f65b9760210b95bb257d740e9fcd01fb562e5d971ec0e89a5b2b3a3dd24d97b10d30b8f1d46032520da25840d SHA512 d9f0cfdfb1927e0c5a9ad3ae0e84a5ffbaaa6bbfd569d73e2a9be415c2cae21bdf8df02e6acd6334f4de96b215ad3aa8e46f8a95e9e1664c7f7d8b237d698aeb
DIST pyownet-0.10.0.tar.gz 33457 BLAKE2B 779d911ba40aedbf38a6185cf22c6a04b320cdd0602c46f61ac8a4e098e07d4e215360020196477d92f3eb2f3b2208530400d4c204f3f85db712182e45b24ab4 SHA512 7cc90b604b3602475a1fba6701f5efe60f4db6d983feb5d037f6191b3ff8f22b199e41dc5ede6dfc3bf2568638d5710a632c99c78ee084d00dd0949bb1c31cb1
EBUILD pyownet-0.10.0.ebuild 854 BLAKE2B 669a499cebca19334a1f550f39e453b3fad0dded52b3cdcb19be89285cf948337cd997e141e63e2b45c537535f7ee9f932550fe1b102bcd0d3d2e9ef143dd6b3 SHA512 91299a45f98d0b5f21f2b235d9d6cc9ed8d4ba23f7111fc6ea5ea217e0b13660f923598790c2d8bc1510673966b4c91c713c2d9072547f7146880c09d1da790c
EBUILD pyownet-0.10.0_p1.ebuild 962 BLAKE2B b3287128fdec655e39740babe071b8b5bd39f6b38ac7769071535f6ad254d2daa292fcc38a5ae85be062edf55cc59f7adc9d1b8bffb64a33479a8f2c4034ff6f SHA512 2b8fa35c44ac52cd357a9bf5dbed807bacf6563063ade85b0e63794058c0d0ca0a8762ce0994d021b9298b6517e920c6ad85111c0162c0a8e536a5f570d57140
EBUILD pyownet-0.10.0_p1.ebuild 965 BLAKE2B 87d34a9c5f21a23c00e4f37d6b2a3d4cc3e3dd51c6d78c07e4433ec38e2a4df5ecace0f6b873fa8dde0b4a652279f13b989c14c0bcde54d30def2346a88ef78b SHA512 75ff6befdd20adb5467533721fbb6d2bc40f39e67459ce3f93e36a4fe7d7ac1aa0e9e1fca30a2edf02da8979741644bd0fa70aba0519e16f041390c8cade03a9
MISC metadata.xml 460 BLAKE2B 774e68892ce922a9506dbf089590506f0784200e0e558a671d9d750816dd141333e7eb36d2d4c1a0139afbee84df7c99ff3b781dbe0c9701900ed95a65c99cec SHA512 a3d8533d70f866fc0db6e55634b5e883057a9b1bd96bb5f9a9f831f43672b41fc6b4a230e808ee9ba8678dffbef88659f2efd4d98fda3f204cada9f1d0fdfa8b

View File

@@ -1,36 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python OWFS client library (owserver protocol)"
HOMEPAGE="https://github.com/miccoli/pyownet https://pypi.org/project/pyownet/"
SRC_URI="https://github.com/miccoli/${PN}/archive/refs/tags/v${PV}.post1.tar.gz -> ${P}.tar.gz"
S=${WORKDIR}/${PN}-${PV}.post1/
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
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
}
PATCHES=( "${FILESDIR}/pyownet-${PV}-2to3.patch" )

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@@ -37,3 +37,5 @@ python_test() {
}
PATCHES=( "${FILESDIR}/pyownet-${PV}-2to3.patch" )
distutils_enable_tests pytest