mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

* hardcoding /usr/lib is always wrong, doesn't match with libdir e.g. for multilib causing: ERROR: QA Issue: python3-httpx: Files/directories were installed but not shipped in any package: /usr/lib64 /usr/lib64/python3.12 /usr/lib64/python3.12/site-packages /usr/lib64/python3.12/site-packages/httpx ... /usr/lib64/python3.12/site-packages/httpx/__pycache__/__version__.cpython-312.pyc /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/entry_points.txt /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/WHEEL /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/METADATA /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/RECORD /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/licenses /usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/licenses/LICENSE.md Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. python3-httpx: 63 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
45 lines
873 B
BlitzBasic
45 lines
873 B
BlitzBasic
SUMMARY = "A next generation HTTP client for Python."
|
|
SECTION = "devel/python"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c624803bdf6fc1c4ce39f5ae11d7bd05"
|
|
|
|
inherit pypi python_hatchling
|
|
|
|
SRC_URI[sha256sum] = "451b55c30d5185ea6b23c2c793abf9bb237d2a7dfb901ced6ff69ad37ec1dfaf"
|
|
|
|
DEPENDS += "\
|
|
python3-hatch-fancy-pypi-readme-native \
|
|
"
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[brotli] = ",,,python3-brotli"
|
|
PACKAGECONFIG[http2] = ",,,python3-h2"
|
|
PACKAGECONFIG[socks] = ",,,python3-socksio"
|
|
|
|
RDEPENDS:${PN} += "\
|
|
python3-anyio \
|
|
python3-certifi \
|
|
python3-httpcore \
|
|
python3-idna \
|
|
python3-sniffio \
|
|
"
|
|
|
|
PACKAGES += "\
|
|
${PN}-cli \
|
|
"
|
|
|
|
RDEPENDS:${PN}-cli += "\
|
|
${PN} \
|
|
python3-click \
|
|
python3-pygments \
|
|
python3-rich \
|
|
"
|
|
|
|
FILES:${PN} = "\
|
|
${libdir}/${PYTHON_DIR} \
|
|
"
|
|
|
|
FILES:${PN}-cli = "\
|
|
${bindir}/httpx \
|
|
"
|