This recipe is blacklisted by the meta-python2 layer. The reason provided is:

python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"

Name python-smbus
Version 4.1
Summary Set of i2c tools for linux - Python module
Description
Section base
License GPLv2
Homepage
Recipe file recipes-devtools/python/python-smbus_4.1.bb
Layer meta-python2 (hardknott branch)
Inherits
  • distutils
  • distutils-base
  • distutils-common-base
  • python-dir
  • pythonnative
Dependencies
  • i2c-tools
  • python
  • python-native
  • virtual/i686-oe-linux-compilerlibs
  • virtual/i686-oe-linux-gcc
  • virtual/libc
PACKAGECONFIG options

Sources

https://cdn.kernel.org/pub/software/utils/i2c-tools/i2c-tools-4.1.tar.gz

Patches

None

Other branches

This recipe in other branches of meta-python2:

Branch Recipe
master python-smbus 4.1
kirkstone (Yocto Project 4.0) python-smbus 4.1
honister (Yocto Project 3.4) python-smbus 4.1
hardknott (Yocto Project 3.3) python-smbus 4.1 (this recipe)
gatesgarth (Yocto Project 3.2) python-smbus 4.1
dunfell (Yocto Project 3.1) python-smbus 4.1
zeus (Yocto Project 3.0) python-smbus 4.0
warrior (Yocto Project 2.7) python-smbus 4.0
thud (Yocto Project 2.6) python-smbus 4.0
sumo (Yocto Project 2.5) python-smbus 4.0
rocko (Yocto Project 2.4) python-smbus 3.1.2
pyro (Yocto Project 2.3) python-smbus 3.1.2
morty (Yocto Project 2.2) python-smbus 3.1.1
krogoth (Yocto Project 2.1) python-smbus 3.1.1
jethro (Yocto Project 2.0) python-smbus 3.1.1
fido (Yocto Project 1.8) python-smbus 3.1.1