python3-httpx: respect libdir in packaging

* 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>
This commit is contained in:
Martin Jansa 2024-02-18 15:54:06 +01:00 committed by Khem Raj
parent 5a0fdf9af2
commit 2bbdb9c22d
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -36,9 +36,9 @@ RDEPENDS:${PN}-cli += "\
"
FILES:${PN} = "\
/usr/lib/python${PYTHON_BASEVERSION} \
${libdir}/${PYTHON_DIR} \
"
FILES:${PN}-cli = "\
/usr/bin/httpx \
${bindir}/httpx \
"