From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 65234158021 for ; Fri, 23 Dec 2022 14:36:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 924A4E0866; Fri, 23 Dec 2022 14:36:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B447E0878 for ; Fri, 23 Dec 2022 14:36:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9DAF2340DB1 for ; Fri, 23 Dec 2022 14:36:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF37D7E7 for ; Fri, 23 Dec 2022 14:36:36 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1671806191.6a12fd66406b2ca80dc297bf0980f5e25b54031a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/smbus2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/smbus2/smbus2-0.4.2.ebuild X-VCS-Directories: dev-python/smbus2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6a12fd66406b2ca80dc297bf0980f5e25b54031a X-VCS-Branch: master Date: Fri, 23 Dec 2022 14:36:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 15399569-6a82-40dd-be5f-4c256b501d41 X-Archives-Hash: e8e268146868a9d5bbc8ab5d8bead5cc commit: 6a12fd66406b2ca80dc297bf0980f5e25b54031a Author: Michał Górny gentoo org> AuthorDate: Fri Dec 23 14:29:56 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Dec 23 14:36:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a12fd66 dev-python/smbus2: Use pytest Signed-off-by: Michał Górny gentoo.org> dev-python/smbus2/smbus2-0.4.2.ebuild | 9 +++++++-- 1 file 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 +}