Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 859283

Summary: dev-lang/micropython should become slotted
Product: Gentoo Linux Reporter: Florian Manschwetus <manschwetus>
Component: Current packagesAssignee: Patrice Clement <monsieurp>
Status: UNCONFIRMED ---    
Severity: normal CC: gentoo, treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 859289, 859295, 859298    

Description Florian Manschwetus 2022-07-19 11:07:54 UTC
As micropython has diffrent mpy file format versions, it should become slotted, based on ABI level.

- 1.12 to 1.18 is ABI 5
- since 1.19 is ABI 6


Reproducible: Always

Actual Results:  
micropython gets installed in a single version, currently ABI 5

Expected Results:  
micropython is available in all supported ABI versions

Based on this ebuilds for mpy-cross-v5 and mpy-cross-v6 could be added, to complete micropython development support.
Comment 1 Florian Manschwetus 2022-07-21 05:29:57 UTC
I would vote for piking up naming scheme also for the micropython binary, as well as the mpy-cross binary. So it would become "micropython-v6" for example.
Comment 2 Florian Manschwetus 2022-07-21 08:20:52 UTC
I got ebuilds for 1.18 and 1.19 prepared, following this ideas, I'll try to push them later the day.
Comment 3 Florian Manschwetus 2022-07-21 08:31:36 UTC
[I] dev-lang/micropython
     Verf├╝gbare Versionen:   
     (0)    (~)1.11-r1^t (~)1.17^t
     (ABI-5) (~)1.18^t[1]
     (ABI-6) (~)1.19^t[1]

Now I will also re-add mpy-cross, also following this scheme, then I can depend on with dev-python/mpy-cross-v5 and dev-python/mpy-cross-v6.
Which in turn should allow to get a dev-python/pybricksdev package, so if this runs we have also a first verification of this work.
Comment 4 Florian Manschwetus 2022-08-04 13:15:26 UTC
Ok I think my work is ok now, as it is sufficient to run pybricksdev. So I'll check how I can upload it, likely I'll start a personal overlay. So I can put in all I did to get pybricksdev running. Then responsible devs can review make suggestions and cherry pick for the official tree as desired.
Comment 5 Florian Manschwetus 2022-08-05 14:02:50 UTC
I created a personal overlay with the ebuilds as described:
Please review and comment