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

Flaviu Nistor
2026-03-27T06:44:42Z

I want to purpose 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 only 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),
I added a dictionary 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 workaround 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.

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

utils/scanpypi | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)

--
2.34.1