|
45 | 45 | limited heap. If you are affected by such a case, please help reimplement
|
46 | 46 | the module from scratch."""
|
47 | 47 |
|
| 48 | +PYPY_DESC = """\ |
| 49 | +This is a module ported from PyPy standard library to be compatible with |
| 50 | +MicroPython interpreter. Usually, this means applying small patches for |
| 51 | +features not supported (yet, or at all) in MicroPython. Sometimes, heavier |
| 52 | +changes are required. Note that CPython modules are written with availability |
| 53 | +of vast resources in mind, and may not work for MicroPython ports with |
| 54 | +limited heap. If you are affected by such a case, please help reimplement |
| 55 | +the module from scratch.""" |
| 56 | + |
48 | 57 | MICROPYTHON_LIB_DESC = """\
|
49 | 58 | This is a module reimplemented specifically for MicroPython standard library,
|
50 | 59 | with efficient and lean design in mind. Note that this module is likely work
|
|
61 | 70 | MICROPYTHON_DEVELS_EMAIL = '[email protected]'
|
62 | 71 | CPYTHON_DEVELS = 'CPython Developers'
|
63 | 72 | CPYTHON_DEVELS_EMAIL = '[email protected]'
|
| 73 | +PYPY_DEVELS = 'PyPy Developers' |
| 74 | +PYPY_DEVELS_EMAIL = '[email protected]' |
64 | 75 |
|
65 | 76 | def parse_metadata(f):
|
66 | 77 | data = {}
|
@@ -107,6 +118,13 @@ def main():
|
107 | 118 | data["license"] = "Python"
|
108 | 119 | data["desc"] = "CPython %s module ported to MicroPython" % module
|
109 | 120 | data["long_desc"] = CPYTHON_DESC
|
| 121 | + elif data["srctype"] == "pypy": |
| 122 | + data["author"] = PYPY_DEVELS |
| 123 | + data["author_email"] = PYPY_DEVELS_EMAIL |
| 124 | + data["maintainer"] = MICROPYTHON_DEVELS |
| 125 | + data["license"] = "MIT" |
| 126 | + data["desc"] = "PyPy %s module ported to MicroPython" % module |
| 127 | + data["long_desc"] = PYPY_DESC |
110 | 128 | elif data["srctype"] == "micropython-lib":
|
111 | 129 | if "author" not in data:
|
112 | 130 | data["author"] = MICROPYTHON_DEVELS
|
|
0 commit comments