Skip to content

utils/scanpypi: workaround for pypi project names

Flaviu Nistor buildroot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 0 repliesNew
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

- Implement solution suggested by Arnout Vandecappelle.
- Link to v1: https://lore.kernel.org/all/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1utils/scanpypi: workaround for pypi project namesutils/scanpypi+20 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH v2 0/1] utils/scanpypi: workaround for pypi project names

I want to propuse this patch and hope others find it useful. While using scanpypi I noticed that for smmap2 package the modified .mk .hash files where not correct, since smmap2 pypi project is just a mirror of smmap and has different revision and hashes. I realized why the problem exist just by reading the commit history of smmap2 and saw Thomas Petazzoni's remark in commit: 8bc8f4c4161ddfd255615ce0962b570da20c4148. The same is valid for gitdb2 package. To avoid this issue in the future for this packages and others (as I'm sure there are similar cases), get the pypi name from the .mk file if it exist for buildroot packages that have a different name compared to the pypi project name (e.g. smmap2 -> smmap). Since there is no intention to change the buildroot package name, this is a solution in order to use the scanpypi utility for this packages and still get correct generated files.
Other packages can be added in the dictionary as needed.
This solution implementation was suggested by Arnout Vandecappelle in his reply to my initial workaround proposal.

Changes in v2:
- Implement solution suggested by Arnout Vandecappelle.
- Link to v1: https://lore.kernel.org/all/[email protected]/

Flaviu Nistor (1):
utils/scanpypi: workaround for pypi project names

 utils/scanpypi | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot