mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
i2c-tools: use new python build system
This commit is contained in:
parent
d41770677a
commit
e0f354f82a
@ -7,7 +7,7 @@ PKG_SHA256="1f899e43603184fac32f34d72498fc737952dbc9c97a8dd9467fadfdf4600cf9"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://i2c.wiki.kernel.org/index.php/I2C_Tools"
|
PKG_SITE="https://i2c.wiki.kernel.org/index.php/I2C_Tools"
|
||||||
PKG_URL="https://www.kernel.org/pub/software/utils/i2c-tools/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
PKG_URL="https://www.kernel.org/pub/software/utils/i2c-tools/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
||||||
PKG_DEPENDS_TARGET="toolchain Python3"
|
PKG_DEPENDS_TARGET="toolchain Python3 setuptools:host"
|
||||||
PKG_LONGDESC="A heterogeneous set of I2C tools for Linux."
|
PKG_LONGDESC="A heterogeneous set of I2C tools for Linux."
|
||||||
PKG_BUILD_FLAGS="-sysroot"
|
PKG_BUILD_FLAGS="-sysroot"
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ make_target() {
|
|||||||
|
|
||||||
(
|
(
|
||||||
cd py-smbus
|
cd py-smbus
|
||||||
python_target_env python3 setup.py build
|
python_target_env python3 -m build -n -w -x
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,6 +31,6 @@ makeinstall_target() {
|
|||||||
install
|
install
|
||||||
(
|
(
|
||||||
cd py-smbus
|
cd py-smbus
|
||||||
exec_thread_safe python_target_env python3 setup.py install --root=${INSTALL} --prefix=/usr
|
python3 -m installer --overwrite-existing dist/*.whl -d ${INSTALL} -p /usr
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user