Support excluding .py files from removal
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v12 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | package/{pkg-generic, python, python3}: add mechanism to exclude .py files from removalpackage/ package/ package/ | +7 | 2 replies | |
| 2/2 | package/opencv3: ensure the python module works when BR2_PACKAGE_PYTHON{, 3}_PYC_ONLY=ypackage/ | +2 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Buildroot] [PATCH v2 0/2] Support excluding .py files from removal
Hello,
This is a v2 of the patch series fixing the OpenCV3 issue due to the removal of .py files when only .pyc files are kept on the target.
As reported by Peter, the v1 caused some check-package warnings due to the PYTHON_KEEP_PY_FILES/PYTHON3_KEEP_PY_FILES variables that were set in opencv3.mk: they have a prefix that doesn't match the package name.
So in the end, we go ahead and create a <pkg>_KEEP_PY_FILES variable, that gets collected by pkg-generic.mk into a global PYTHON_KEEP_PY_FILES, which in turn is observed by python.mk and python3.mk.
Best regards,
Thomas
Thomas Petazzoni (2):
package/{pkg-generic,python,python3}: add mechanism to exclude .py
files from removal
package/opencv3: ensure the python module works when
BR2_PACKAGE_PYTHON{,3}_PYC_ONLY=ypackage/opencv3/opencv3.mk | 2 ++ package/pkg-generic.mk | 1 + package/python/python.mk | 4 +++- package/python3/python3.mk | 4 +++- 4 files changed, 9 insertions(+), 2 deletions(-)
Signature · 1 line
2.23.0