diff options
Diffstat (limited to 'dev-python/smbus2')
-rw-r--r-- | dev-python/smbus2/Manifest | 2 | ||||
-rw-r--r-- | dev-python/smbus2/smbus2-0.5.0.ebuild | 29 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/smbus2/Manifest b/dev-python/smbus2/Manifest index 0f0b5c598148..06e6c112209a 100644 --- a/dev-python/smbus2/Manifest +++ b/dev-python/smbus2/Manifest @@ -1,3 +1,5 @@ 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 EBUILD smbus2-0.4.3.ebuild 589 BLAKE2B cc3a8772f2df0592ce353887e48a309dbae6459df40e21096c5945c23ea1df9e1a73bf427017ded52c4fd55689eff2144d33635b7327a7087eab44eaf56ec0b2 SHA512 18dea8a8795c089d198de7fc2ca61e6243fa2f88158fc6db904504e23047110e8e381cff20d07ee39bc81f25caa578fdf6e026ccb3ad197d1f5c750560fe32cc +EBUILD smbus2-0.5.0.ebuild 589 BLAKE2B cc3a8772f2df0592ce353887e48a309dbae6459df40e21096c5945c23ea1df9e1a73bf427017ded52c4fd55689eff2144d33635b7327a7087eab44eaf56ec0b2 SHA512 18dea8a8795c089d198de7fc2ca61e6243fa2f88158fc6db904504e23047110e8e381cff20d07ee39bc81f25caa578fdf6e026ccb3ad197d1f5c750560fe32cc MISC metadata.xml 400 BLAKE2B 70d0f577103959706dbe8b99dc7912bc118e4b9b59aaf32650c9273a17dc2407e7b4b913b897d918c50e601070caf9ad4b0e8de8e3009da4a5f0d4f137acde35 SHA512 37162850521651a9cbc9d4717e78254750db7e00de4ca2cf40f28014dde73e03681b897e6a8f50afacf58f017c8353190756f621750ceb248b7b41a10d6ddfbd 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 +} |