mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-19 07:37:51 +00:00
Reference Python Varlink binding. Fetched from git as 32.1.0 was never published to PyPI (latest there is 31.0.0 from 2021). AI-Generated: Claude Opus 5 (Claude Code) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
36 lines
1.1 KiB
BlitzBasic
36 lines
1.1 KiB
BlitzBasic
SUMMARY = "Python implementation of the Varlink protocol"
|
|
HOMEPAGE = "https://github.com/varlink/python"
|
|
SECTION = "devel/python"
|
|
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
|
|
|
|
DEPENDS += "python3-setuptools-scm-native python3-wheel-native"
|
|
|
|
# 32.1.0 is not published on PyPI
|
|
SRC_URI = "git://github.com/varlink/python.git;protocol=https;branch=master"
|
|
SRCREV = "8b3ba4e8206b098c524f538036a941b47797840d"
|
|
|
|
inherit python_setuptools_build_meta ptest-python-pytest
|
|
|
|
# Otherwise setuptools_scm falls back to 0.1.dev1
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION = "${PV}"
|
|
|
|
RDEPENDS:${PN} = "\
|
|
python3-core \
|
|
python3-datetime \
|
|
python3-io \
|
|
python3-json \
|
|
python3-netclient \
|
|
python3-netserver \
|
|
python3-shell \
|
|
"
|
|
|
|
# Keep the bundled test suite, and its python3-unittest dependency, separate
|
|
FILES:${PN}-ptest = "${PYTHON_SITEPACKAGES_DIR}/varlink/tests"
|
|
RDEPENDS:${PN}-ptest = "${PN} python3-unittest"
|
|
|
|
# Upstream keeps its tests inside the importable package rather than in a
|
|
# top-level tests/ directory.
|
|
PTEST_PYTEST_DIR = "varlink/tests"
|