Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 859283 - dev-lang/micropython should become slotted
Summary: dev-lang/micropython should become slotted
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://github.com/micropython/microp...
Whiteboard:
Keywords:
Depends on:
Blocks: 859289 859295 859298
  Show dependency tree
 
Reported: 2022-07-19 11:07 UTC by Florian Manschwetus
Modified: 2024-04-03 09:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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

see https://pypi.org/project/mpy-cross-v6

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:
https://github.com/manschwetus/gentoo-overlay/
Please review and comment