public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/smbus2/
Date: Fri, 23 Dec 2022 14:36:36 +0000 (UTC)	[thread overview]
Message-ID: <1671806191.6a12fd66406b2ca80dc297bf0980f5e25b54031a.mgorny@gentoo> (raw)

commit:     6a12fd66406b2ca80dc297bf0980f5e25b54031a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 23 14:29:56 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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
+}


             reply	other threads:[~2022-12-23 14:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-23 14:36 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-30 17:00 [gentoo-commits] repo/gentoo:master commit in: dev-python/smbus2/ Michał Górny
2023-12-23 18:45 Jakov Smolić
2023-08-26  5:31 Michał Górny
2022-12-23 14:36 Michał Górny
2022-09-05 16:49 Arthur Zamarin
2022-09-05 16:49 Arthur Zamarin
2022-08-26  6:59 Jakov Smolić
2022-08-26  6:48 Jakov Smolić

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1671806191.6a12fd66406b2ca80dc297bf0980f5e25b54031a.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox