dev-python/adb-homeassistant: enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-15 18:16:37 +02:00 committed by Andreas Billmeier
parent e5e8d0c15c
commit 4a37fe93b4
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,3 @@
DIST adb-homeassistant-1.3.2.tar.gz 26805 BLAKE2B 3896a895fd39800417b4c9c098230fae0d7134c8e6dd96fc47e542e8698c5e6ba2b444959d48d01ec292153dcde87da3a43fa41d392cb3a06825bcab283a7d27 SHA512 7147998212536fbfe3e638395ffa539f0cffd2999e5d8dd7568519bae1c7bbf4202faed0e47a4ab600aa66e088468eae18b5bfbc7c96e636e79b960f129d3b92
EBUILD adb-homeassistant-1.3.2.ebuild 710 BLAKE2B dd05e83d5cde3814bde3b1cfeb06f0691b8a0f01dad5ed9b47bcd10be7f51951e86b01735a4306f05e59c8db1a5600162ca7c62f23ef2c2de93ecf1d1e0aac17 SHA512 269d57e3bf1c4a5f3ea183bfad278261e0d56f8f67f7ea1f58aa4376b4a996eb3d3fbc91307f42dac495a8d4ca08cc7b710b790422254670d2d90a8b025f792a
EBUILD adb-homeassistant-1.3.2.ebuild 712 BLAKE2B d780dde3674a200c558ee60e82b942d94347fcc90c7d0b693e908b71089c93666e17aa8c699c106a187f6d52399fa74d6119199e5d11d84678b2645fc6c71295 SHA512 723012aff4b92f32b181e4c354b14207da2290688bf1022e450a9009a301c3bb68ab4e12ef8667f24360eb79f12bace83e001f55e77fb2fde7483ad5db0cfa53
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af

View File

@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@ -29,3 +29,5 @@ BDEPEND="
python_test() {
py.test -v || die "Tests failed under ${EPYTHON}"
}
distutils_enable_tests pytest