From 6a12fd66406b2ca80dc297bf0980f5e25b54031a Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 23 Dec 2022 15:29:56 +0100 Subject: dev-python/smbus2: Use pytest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/smbus2/smbus2-0.4.2.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'dev-python/smbus2') diff --git a/dev-python/smbus2/smbus2-0.4.2.ebuild b/dev-python/smbus2/smbus2-0.4.2.ebuild index f3346d580591..fda5e2404367 100644 --- a/dev-python/smbus2/smbus2-0.4.2.ebuild +++ b/dev-python/smbus2/smbus2-0.4.2.ebuild @@ -5,12 +5,13 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8..10} ) + inherit distutils-r1 DESCRIPTION="A drop-in replacement for smbus-cffi/smbus-python in pure Python" HOMEPAGE=" https://pypi.org/project/smbus2/ - https://github.com/kplindegaard/smbus2 + https://github.com/kplindegaard/smbus2/ " SRC_URI=" https://github.com/kplindegaard/smbus2/archive/refs/tags/${PV}.tar.gz @@ -21,4 +22,8 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64" -distutils_enable_tests nose +distutils_enable_tests pytest + +python_test() { + epytest -s +} -- cgit v1.2.3-65-gdbad