Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta-opentrons/python-byonoy: update byonoy library to 2024.09.0 #167

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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}/[email protected] ${D}${FIRMWARE_DIR}
install -m 644 ${WORKDIR}/[email protected] ${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 \
"
Loading