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

This commit is contained in:
2022-10-16 09:43:44 +02:00
committed by onkelbeh
parent 4aaffaaff5
commit bdd1f80601
2 changed files with 9 additions and 11 deletions
+2 -2
View File
@@ -1,3 +1,3 @@
DIST horimote-0.4.1.tar.gz 6444 BLAKE2B c2c8f1ecd243486f1e1987f2b3bba3884bdadc69637d4460af4c6b6f551256611667abd473293faaf101d2262a1785461e54add761fa7226c19c871ef2d021e8 SHA512 bbc9864dbc385c593c6b002d88107cbe8490d5c54527fea92dee7e21f075fff8f738dea204a76aab56f04b0da0bff338063fb8a303dfe39ba82ba611ade89247
EBUILD horimote-0.4.1.ebuild 854 BLAKE2B bb0d4082aa78989f70b62d92334680be1fbb7ebe671ff1b289b36b1b129f568a2c916a25e6f1acdc2def1a47e0b7a6d6cf2ec524a649249e5dcc8004f90b109c SHA512 e036c8ac26158dcdd0255d81fc06bb67a08b0c95beedeed03fd5592b241530fd9a417d33b9b9f66d655551909f17ad940783cb97d4fa508358ab8079cda6397b
DIST horimote-0.4.1.gh.tar.gz 6444 BLAKE2B c2c8f1ecd243486f1e1987f2b3bba3884bdadc69637d4460af4c6b6f551256611667abd473293faaf101d2262a1785461e54add761fa7226c19c871ef2d021e8 SHA512 bbc9864dbc385c593c6b002d88107cbe8490d5c54527fea92dee7e21f075fff8f738dea204a76aab56f04b0da0bff338063fb8a303dfe39ba82ba611ade89247
EBUILD horimote-0.4.1.ebuild 768 BLAKE2B 4245b1b0aeca079e17ac581e13f2978d878f5aa05878ce6b67197e49292f469a6763447b1a74e5b20336bba08ec88bd7c1ddc7d09c223dda2ea8dcc403761f32 SHA512 768ca0b0a635f41de7f3afa612eb4097bc65087eb7af9c6be8ad749134a4727e945a1aff0c6a447ed2c37dde34f8dc22f247ba5cc4f61e1248d462f1c03d3dd6
MISC metadata.xml 474 BLAKE2B 0cb207ee3772f5dc380c933c4d3fb233c05abae7e9a4607441bb2e823232e7d004e551f968df865d7c80a2ed353da2c5a0fad180fe652ab3ac487101fea5c9e2 SHA512 4fea6b259634960979b22c8567b1e2df3adb8c136dd18ef78a6ac0324e376942aaf345ae78e9bef116f5cb5d3ace160934737b005cfa5f781d785132dba2963f
+7 -9
View File
@@ -1,28 +1,24 @@
# 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..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Async API wrapper for Samsumgs set-top boxes SMT-G7400 and SMT-G7401."
HOMEPAGE="https://github.com/benleb/horimote https://pypi.org/project/horimote/"
# Pypi's SDIST incomplete
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/benleb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/benleb/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
@@ -34,3 +30,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest