commit:     b7c6a44ed989ac7667e8c6bae03e05cc36116983
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 20 03:03:00 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 03:10:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7c6a44e

dev-python/smbus2: Bump to 0.5.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/smbus2/Manifest            |  1 +
 dev-python/smbus2/smbus2-0.5.0.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/dev-python/smbus2/Manifest b/dev-python/smbus2/Manifest
index 6e830043c97b..8a4870362ef2 100644
--- a/dev-python/smbus2/Manifest
+++ b/dev-python/smbus2/Manifest
@@ -1 +1,2 @@
 DIST smbus2-0.4.3.gh.tar.gz 17474 BLAKE2B 
b53160d586c1ed0627597872582dbd07b1b2a9e03bf1a7dc01003ba5569013c11cf4c10df01c4649a069d6bf178c40a122a18a720fb03cab6485e04638fc9233
 SHA512 
e512954e89be9ba356a9e43ad023712ddfad006eaeadb45e92e21348176f838a2f65d89f3bd4a2ea68414486ff688d58acd668e4bae53f945cd9b24bcb328f9f
+DIST smbus2-0.5.0.gh.tar.gz 17809 BLAKE2B 
8d5de295d7dbf56187acfe826b44c75cb2b44070ff68d971adc173c4047aba74c6aa4e7922014ac73651b07919ec4ac52dc4c8e3719d204701ea1dbf5c9b2158
 SHA512 
ab3f7da5eef052145f86859f2d4f4907b23d7002d053253506ccf4bdc63b101e17f2a4be41b104d74eef047a596725f58b8b7a480c6cfeb19b896295484886b8

diff --git a/dev-python/smbus2/smbus2-0.5.0.ebuild 
b/dev-python/smbus2/smbus2-0.5.0.ebuild
new file mode 100644
index 000000000000..578059f0941b
--- /dev/null
+++ b/dev-python/smbus2/smbus2-0.5.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+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/
+"
+SRC_URI="
+       https://github.com/kplindegaard/smbus2/archive/refs/tags/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64"
+
+distutils_enable_tests pytest
+
+python_test() {
+       epytest -s
+}

Reply via email to