-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python-byonoy: update byonoy library to 2024.09.0 (#167)
- Loading branch information
Showing
6 changed files
with
3 additions
and
6 deletions.
There are no files selected for viewing
Binary file removed
BIN
-56.3 KB
layers/meta-opentrons/recipes-robot/python-byonoy/files/[email protected]
Binary file not shown.
Binary file modified
BIN
+2.32 KB
(100%)
layers/meta-opentrons/recipes-robot/python-byonoy/files/[email protected]
Binary file not shown.
Binary file added
BIN
+2.09 MB
layers/meta-opentrons/recipes-robot/python-byonoy/files/byonoy_devices.so
Binary file not shown.
Binary file modified
BIN
+1.26 MB
(130%)
layers/meta-opentrons/recipes-robot/python-byonoy/files/libbyonoy_device_library.so
Binary file not shown.
Binary file removed
BIN
-860 KB
...ecipes-robot/python-byonoy/files/pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,8 @@ DESCRIPTION = "Installs Byonoy Python library and firmware files." | |
LICENSE = "CLOSED" | ||
|
||
FILESEXTRAPATHS:prepend = "${THISDIR}/files:" | ||
SRC_URI += "file://pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so \ | ||
SRC_URI += "file://byonoy_devices.so \ | ||
file://libbyonoy_device_library.so \ | ||
file://[email protected] \ | ||
file://[email protected] \ | ||
" | ||
FIRMWARE_DIR="${libdir}/firmware" | ||
|
@@ -23,18 +22,16 @@ FILES_SOLIBSDEV = "" | |
|
||
do_install:append() { | ||
# install the python library to /usr/lib/python3.10/site-packages | ||
install -m 755 ${WORKDIR}/pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so ${D}${libdir}/python3.10/site-packages | ||
install -m 755 ${WORKDIR}/byonoy_devices.so ${D}${libdir}/python3.10/site-packages | ||
install -m 755 ${WORKDIR}/libbyonoy_device_library.so ${D}${libdir} | ||
# install the firmware files to /usr/lib/firmware | ||
install -d ${D}${FIRMWARE_DIR} | ||
install -m 644 ${WORKDIR}/absorbance-96@v1.0.0.byoup ${D}${FIRMWARE_DIR} | ||
install -m 644 ${WORKDIR}/absorbance-96@v1.0.2.byoup ${D}${FIRMWARE_DIR} | ||
} | ||
|
||
RDEPENDS:${PN} += "hidapi" | ||
|
||
FILES:${PN} += "${libdir}/libbyony_device_library.so \ | ||
${libdir}/firmware/[email protected] \ | ||
${libdir}/firmware/[email protected] \ | ||
${libdir}/python3.10/site-packages/pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so \ | ||
${libdir}/python3.10/site-packages/byonoy_devices.so \ | ||
" |