diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-23 15:29:56 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-23 15:36:31 +0100 |
commit | 6a12fd66406b2ca80dc297bf0980f5e25b54031a (patch) | |
tree | 688673e1936aa876714e49e161bd9401c64f4ad7 /dev-python/smbus2 | |
parent | media-libs/shaderc: Remove old (diff) | |
download | gentoo-6a12fd66406b2ca80dc297bf0980f5e25b54031a.tar.gz gentoo-6a12fd66406b2ca80dc297bf0980f5e25b54031a.tar.bz2 gentoo-6a12fd66406b2ca80dc297bf0980f5e25b54031a.zip |
dev-python/smbus2: Use pytest
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/smbus2')
-rw-r--r-- | dev-python/smbus2/smbus2-0.4.2.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
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 +} |