Closed Hains closed 6 months ago
Wouldnt it be simpler to remove the newsfragment directory in do_install:append
? That way we can skip creating a new package python3-twisted-newsfragment
. This directory is only used during development to compile the release notes. Once a release is finished the directory is emptied.
See for example the current development: https://github.com/twisted/twisted/tree/trunk/src/twisted/newsfragments
I don’t see why anyone would want to install that one .gitignore
file :)
Yes indeed, it's just a .gitignore file.
New commit: https://github.com/Hains/meta-openembedded/commit/25cfb56eaaf82eabe8d050dcdf5daebf840c4fa4
PR V2 https://github.com/openembedded/meta-openembedded/pull/824
This patch can be removed from master-next branch. Thanks.
New PR.
@kraj FYI I sent two backport patches to sync the scarthgap branch with master since it will likely also have this problem.
Without FILES:${PN} only main, dbg, dev, doc and test packages are being build. python3-twisted-core, python3-twisted-web, python3-twisted-conch, etc are missing.
Add python3-twisted-newsfragments to packages to fix.
WARNING: python3-twisted-24.3.0-r0 do_package: QA Issue: python3-twisted: Files/directories were installed but not shipped in any package: /usr/lib/python3.12/site-packages/twisted/newsfragments /usr/lib/python3.12/site-packages/twisted/newsfragments/.gitignore