dev-python/rpi-rf: remove olds, cleanup, enable pytest
This commit is contained in:
parent
90caf77b5c
commit
dfe73512ae
@ -1,3 +1,3 @@
|
||||
DIST rpi-rf-0.9.7.tar.gz 5764 BLAKE2B 553891aec5318f07aaf5e1c9dd38cf4924e025dff245acce5463321e3a24c6497626635f14c3084e6f3234b0963f1b0f9b67ba914410062c9180f6226b67a8bf SHA512 dcddc30a9b5cf4b7cbeb02cc6a808576d3792beea4e46fd098d8a3d00a392b5fc1f9e424792ad28beff50516b1706c957749020842f48f929bdfc359b3813077
|
||||
EBUILD rpi-rf-0.9.7.ebuild 790 BLAKE2B 8adcb1f797ead6fe77410f54db3f81351925c3b44b2eb75695e0b4dd715a1a4bb791578b8dacda301778076ea4be10f25f8d856bfba1e8d0b176fd6f23f99d99 SHA512 5fd2ee588fbb17cd3a82aaaef821fa7d05901ae213501aa2d97352d7106653eff6be81176008d9b3971b3620e6f66a794eaffc07388a8d19a3e7984d7dfc4e64
|
||||
DIST rpi-rf-0.9.7.gh.tar.gz 5764 BLAKE2B 553891aec5318f07aaf5e1c9dd38cf4924e025dff245acce5463321e3a24c6497626635f14c3084e6f3234b0963f1b0f9b67ba914410062c9180f6226b67a8bf SHA512 dcddc30a9b5cf4b7cbeb02cc6a808576d3792beea4e46fd098d8a3d00a392b5fc1f9e424792ad28beff50516b1706c957749020842f48f929bdfc359b3813077
|
||||
EBUILD rpi-rf-0.9.7.ebuild 732 BLAKE2B f2308fdad9aca5772aff3b0f934511e82b3099845c5de199057d574bca871c16e1a5d489d8c23d5d939e222722a906b9a4b7a466886041f8a9987ee898c9f54c SHA512 3d43a38f5426c1bfddfc14e6155368c641996f6c41e84884f3b952729a6fa2382da81effe7584c3a4a99940cd2f3194c705bc781184fb9aa4294efa704e51507
|
||||
MISC metadata.xml 451 BLAKE2B 166160ce69d342e4c44180e8e71c25f6e3eeaa7522fee0c8b768063d6e22892560469aff955947cb8633373a4cf62f6818e55deb2b69a680a02c0a41d7ae1c4d SHA512 56359a16985e0a18634a6535c7ebde339eb15b58457e71be631186d2ff66cc15037fce4e69e52ff461958694d3b5f3939ea14787876924ee8b9389e20d86d84a
|
||||
|
@ -1,19 +1,19 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Send and receive 433/315MHz signals with GPIO RF modules on a Raspberry Pi"
|
||||
HOMEPAGE="https://github.com/milaq/rpi-rf https://pypi.org/project/rpi-rf/"
|
||||
SRC_URI="https://github.com/milaq/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/milaq/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@ -21,11 +21,11 @@ RDEPEND="dev-python/RPi-GPIO[${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
|
||||
|
Loading…
x
Reference in New Issue
Block a user