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

This commit is contained in:
2022-10-15 18:44:24 +02:00
committed by Andreas Billmeier
parent ef5c4ca2dd
commit 9df6781791
4 changed files with 7 additions and 42 deletions

View File

@@ -1,5 +1,3 @@
DIST aioharmony-0.2.8.tar.gz 34658 BLAKE2B 452f069add4d43de2f03ed903095df364f513d840cb72ece9c22d54f21c96800981ae766fbd7a28474e8b8fa70326412e1360c6e8144931ee0f150f99c01ab55 SHA512 0d1aac80e3cdcf7fafe6afeea8ef733a04f1737911dec9e6bb8ce1d7e67dd82c025549ebc335b27b0222a243229ab9f7becf87d94574eae024e55abc6426dd39
DIST aioharmony-0.2.9.tar.gz 34740 BLAKE2B 776699d5336c43e71b010bd58f708397bd5ffa9f5d04a658d25d4ea405331e9f0e026b3ae7a5d42d1b5fd5c601ecf222e2d746ec31bea5915d53391ce12d58f1 SHA512 0735e470739ba840a8be636cc8d4a6b8d9ffa5e92b6cba6e40e78fba99d439c560da8c74d92fc742e8425663ea2c64b6191077c916c05d6d7276a900cd4cb9ee
EBUILD aioharmony-0.2.8.ebuild 835 BLAKE2B 6e1ea08efe4f49b0a2ef7e305c7509d203791fc24d539b92d711861b86944f42827d96d1a3ecb5871fdc33f9aa309123185466aeb6b026823e86e0a6de6dd3ec SHA512 4e90074a77fb7468d4de5405859291a8427ce695a8d35db8936b368a29e748c454ca9f0999f10c62770fdfefdd8bf3fa03f5a81a5328c884a9c3e81520dc11ff
EBUILD aioharmony-0.2.9.ebuild 829 BLAKE2B c115f87a2e998a455e3869a443acaccad7d0a42630a2ebb96b9cd2767ea17050a0e314fe609f912effabce261d2b6e75905ee9f4a18613219e359858ad4d1938 SHA512 6f979ebfb0463393e650d6de135858a9bbb8bff5bf98b576aa4d4009744df9a85a2a47219eba0fff007b88307ce1440afa555bb9481a2f37535500ac46e2f5ff
EBUILD aioharmony-0.2.9.ebuild 836 BLAKE2B 904ea03cbd314f0f0065694697904a8bba6c9bc024f25ec3843f0a3b83c8b873fb96ef745cba92b9e1d724acaee61fabd110b2d1bd70a2c047d1629d3fc88bed SHA512 e141977caba5622ea809bc2c75dc5a164e1ef5c7c7e7622040f923546c31fe09456727e957e5d74a9123ae6583ab046f3f0031f20abd560e5a61be512ed36985
MISC metadata.xml 329 BLAKE2B 9ab90ce35b9e1c421d768948132d2de1650788aa5e6a59f8e35f7faae33c19824cf0c5b39cee3fd8a9934b60bd7e712335f86ca0cad88e76eeb9b4029c58a770 SHA512 ab69d19fa6b9cca90317b77ba70dc6fa2fdd63dbb376cf6716876d964b4d9d0523440a879c74e3f7f7988629ba6e2fbf2dcab70cdd1f6542277c07b367f50d54

View File

@@ -1,35 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Asyncio Python library for connecting to and controlling the Logitech Harmony"
HOMEPAGE="https://github.com/ehendrix23/aioharmony https://pypi.org/project/aioharmony/"
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"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND="dev-python/aiohttp
dev-python/async-timeout
dev-python/slixmpp"
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
}

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@@ -13,7 +13,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 )"
@@ -33,3 +33,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest