all: Replace metadata.txt with manifest.py.

Uses the new require()/package()/module() functions from manifestfile.py.

Add manifest.py for iperf3 and pyjwt.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
pull/528/head
Jim Mussared 2022-07-13 14:44:28 +10:00 zatwierdzone przez Damien George
rodzic 8d7753d7d4
commit ce66e701a5
200 zmienionych plików z 573 dodań i 372 usunięć

Wyświetl plik

@ -1,5 +1,3 @@
import os
_files = (
"__init__.py",
"core.py",
@ -26,8 +24,4 @@ if options.l2cap:
if options.security:
_files += ("security.py",)
freeze(
".",
tuple(os.path.join("aioble", f) for f in _files),
opt=3,
)
package("aioble", files=_files)

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="0.1.3")
package("test")

Wyświetl plik

@ -1,3 +0,0 @@
srctype=micropython-lib
type=package
version = 0.1.3

Wyświetl plik

@ -0,0 +1,5 @@
metadata(description="HTTP client module for MicroPython uasyncio module", version="0.5.1")
# Originally written by Paul Sokolovsky.
module("uaiohttpclient.py")

Wyświetl plik

@ -1,6 +0,0 @@
srctype = micropython-lib
type = module
version = 0.5.1
author = Paul Sokolovsky
desc = HTTP client module for MicroPython uasyncio module
long_desc = README

Wyświetl plik

@ -0,0 +1,5 @@
metadata(
description="Minimal subset of contextlib for MicroPython low-memory ports", version="0.1.1"
)
module("ucontextlib.py")

Wyświetl plik

@ -1,5 +0,0 @@
srctype = micropython-lib
type = module
version = 0.1.1
license = Python
long_desc = Minimal subset of contextlib for MicroPython low-memory ports

Wyświetl plik

@ -0,0 +1,5 @@
metadata(description="Make and parse DNS packets (Sans I/O approach).", version="0.1")
# Originally written by Paul Sokolovsky.
module("udnspkt.py")

Wyświetl plik

@ -1,5 +0,0 @@
srctype = micropython-lib
type = module
version = 0.1
author = Paul Sokolovsky
desc = Make and parse DNS packets (Sans I/O approach).

Wyświetl plik

@ -0,0 +1,7 @@
metadata(
description='Lightweight MQTT client for MicroPython ("robust" version).', version="1.0.1"
)
# Originally written by Paul Sokolovsky.
package("umqtt")

Wyświetl plik

@ -1,6 +0,0 @@
srctype = micropython-lib
type = package
version = 1.0.1
author = Paul Sokolovsky
desc = Lightweight MQTT client for MicroPython ("robust" version).
long_desc = README.rst

Wyświetl plik

@ -0,0 +1,5 @@
metadata(description="Lightweight MQTT client for MicroPython.", version="1.3.4")
# Originally written by Paul Sokolovsky.
package("umqtt")

Wyświetl plik

@ -1,6 +0,0 @@
srctype = micropython-lib
type = package
version = 1.3.4
author = Paul Sokolovsky
desc = Lightweight MQTT client for MicroPython.
long_desc = README.rst

Wyświetl plik

@ -0,0 +1,3 @@
metadata(description="Minimalistic file shell using native Python syntax.", version="0.6.1")
module("upysh.py")

Wyświetl plik

@ -1,5 +0,0 @@
srctype = micropython-lib
type = module
version = 0.6.1
desc = Minimalistic file shell using native Python syntax.
long_desc = Minimalistic file shell using native Python syntax.

Wyświetl plik

@ -0,0 +1,5 @@
metadata(version="0.6")
# Originally written by Paul Sokolovsky.
package("urllib")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = micropython-lib
type = package
version = 0.6
author = Paul Sokolovsky

Wyświetl plik

@ -0,0 +1,5 @@
metadata(description="Lightweight tarfile module subset", version="0.3.2")
# Originally written by Paul Sokolovsky.
module("utarfile.py")

Wyświetl plik

@ -1,5 +0,0 @@
srctype = micropython-lib
type = module
version = 0.3.2
author = Paul Sokolovsky
long_desc = Lightweight tarfile module subset

Wyświetl plik

@ -0,0 +1,5 @@
metadata(description="Simple XML tokenizer", version="0.2")
# Originally written by Paul Sokolovsky.
module("xmltok.py")

Wyświetl plik

@ -1,5 +0,0 @@
srctype = micropython-lib
type = module
version = 0.2
author = Paul Sokolovsky
long_desc = Simple XML tokenizer

Wyświetl plik

@ -0,0 +1 @@
module("iperf3.py")

Wyświetl plik

@ -0,0 +1,5 @@
metadata(version="0.1")
require("hmac")
module("jwt.py")

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="0.7.0")
module("urequests.py")

Wyświetl plik

@ -1,3 +0,0 @@
srctype = micropython-lib
type = module
version = 0.7.0

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="0.0.3")
module("__future__.py")

Wyświetl plik

@ -1,4 +0,0 @@
srctype=dummy
type=module
version=0.0.3
dist_name=future

Wyświetl plik

@ -0,0 +1,5 @@
metadata(version="3.3.3-1")
require("re-pcre")
module("_markupbase.py")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = module
version = 3.3.3-1
depends = re-pcre

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="0.0.1")
module("abc.py")

Wyświetl plik

@ -1,3 +0,0 @@
srctype=dummy
type=module
version = 0.0.1

Wyświetl plik

@ -0,0 +1,5 @@
metadata(version="0.4")
# Originally written by Damien George.
module("argparse.py")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = micropython-lib
type = module
version = 0.4
author = Damien George

Wyświetl plik

@ -0,0 +1,7 @@
metadata(version="3.3.3-4")
require("binascii")
require("re-pcre")
require("struct")
module("base64.py")

Wyświetl plik

@ -1,4 +0,0 @@
srctype=cpython
type=module
version = 3.3.3-4
depends = binascii, re-pcre, struct

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="2.4.0-5")
module("binascii.py")

Wyświetl plik

@ -1,3 +0,0 @@
srctype = cpython
type = module
version = 2.4.0-5

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="3.3.3-2")
module("cgi.py")

Wyświetl plik

@ -1,3 +0,0 @@
srctype=cpython
type=module
version = 3.3.3-2

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="3.4.0-2")
module("cmd.py")

Wyświetl plik

@ -1,3 +0,0 @@
srctype = cpython
type = module
version = 3.4.0-2

Wyświetl plik

@ -0,0 +1,5 @@
metadata(version="0.3")
# Originally written by Paul Sokolovsky.
package("collections")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = micropython-lib
type = package
version = 0.3
author = Paul Sokolovsky

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="0.1.3")
package("collections")

Wyświetl plik

@ -1,3 +0,0 @@
srctype = micropython-lib
type = package
version = 0.1.3

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="0.1.2")
package("collections")

Wyświetl plik

@ -1,3 +0,0 @@
srctype = micropython-lib
type = package
version = 0.1.2

Wyświetl plik

@ -0,0 +1,6 @@
metadata(description="Port of contextlib for micropython", version="3.4.2-4")
require("ucontextlib")
require("collections")
module("contextlib.py")

Wyświetl plik

@ -1,5 +0,0 @@
srctype = cpython
type = module
version = 3.4.2-4
long_desc = Port of contextlib for micropython
depends = ucontextlib, collections

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="3.3.3-2")
module("copy.py")

Wyświetl plik

@ -1,3 +0,0 @@
srctype = cpython
type = module
version = 3.3.3-2

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="3.4.2-1")
package("curses")

Wyświetl plik

@ -1,3 +0,0 @@
srctype = cpython
type = package
version = 3.4.2-1

Wyświetl plik

@ -0,0 +1,5 @@
metadata(version="4.0.0")
# Originally written by Lorenzo Cappelletti.
module("datetime.py")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = micropython-lib
type = module
version = 4.0.0
author = Lorenzo Cappelletti

Wyświetl plik

@ -0,0 +1,7 @@
# email.charset
require("functools")
require("email.encoders")
require("email.errors")
package("email", version="0.5.1")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = package
version = 0.5.1
depends = functools, email.encoders, email.errors

Wyświetl plik

@ -0,0 +1,9 @@
metadata(version="0.5.1")
require("base64")
require("binascii")
require("quopri")
require("re-pcre")
require("string")
package("email")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = package
version = 0.5.1
depends = base64, binascii, quopri, re-pcre, string

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="0.5.1")
package("email")

Wyświetl plik

@ -1,3 +0,0 @@
srctype = cpython
type = package
version = 0.5.1

Wyświetl plik

@ -0,0 +1,8 @@
# email.feedparser
require("re-pcre")
require("email.errors")
require("email.message")
require("email.internal")
package("email", version="0.5.1")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = package
version = 0.5.1
depends = re-pcre, email.errors, email.message, email.internal

Wyświetl plik

@ -0,0 +1,9 @@
# email.header
require("re-pcre")
require("binascii")
require("email.encoders")
require("email.errors")
require("email.charset")
package("email", version="0.5.2")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = package
version = 0.5.2
depends = re-pcre, binascii, email.encoders, email.errors, email.charset

Wyświetl plik

@ -0,0 +1,15 @@
# email.internal
require("re-pcre")
require("base64")
require("binascii")
require("functools")
require("string")
# require("calendar") TODO
require("abc")
require("email.errors")
require("email.header")
require("email.charset")
require("email.utils")
package("email", version="0.5.1")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = package
version = 0.5.1
depends = re-pcre, base64, binascii, functools, string, calendar, abc, email.errors, email.header, email.charset, email.utils

Wyświetl plik

@ -0,0 +1,11 @@
# email.message
require("re-pcre")
require("uu")
require("base64")
require("binascii")
require("email.utils")
require("email.errors")
require("email.charset")
package("email", version="0.5.3")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = package
version = 0.5.3
depends = re-pcre, uu, base64, binascii, email.utils, email.errors, email.charset

Wyświetl plik

@ -0,0 +1,8 @@
# email.parser
require("warnings")
require("email.feedparser")
require("email.message")
require("email.internal")
package("email", version="0.5.1")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = package
version = 0.5.1
depends = warnings, email.feedparser, email.message, email.internal

Wyświetl plik

@ -0,0 +1,13 @@
metadata(version="3.3.3-2")
require("os")
require("re-pcre")
require("base64")
require("random")
require("datetime")
require("urllib.parse")
require("warnings")
require("quopri")
require("email.charset")
package("email")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = package
version = 3.3.3-2
depends = os, re-pcre, base64, random, datetime, urllib.parse, warnings, quopri, email.charset

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="0.1.4")
module("errno.py")

Wyświetl plik

@ -1,3 +0,0 @@
srctype = micropython-lib
type = module
version = 0.1.4

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="0.6.0")
module("fnmatch.py")

Wyświetl plik

@ -1,3 +0,0 @@
srctype = cpython
type = module
version = 0.6.0

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="0.0.7")
module("functools.py")

Wyświetl plik

@ -1,3 +0,0 @@
srctype = micropython-lib
type = module
version = 0.0.7

Wyświetl plik

@ -0,0 +1,5 @@
metadata(version="3.3.3-1")
require("os")
module("getopt.py")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = module
version = 3.3.3-1
depends = os

Wyświetl plik

@ -0,0 +1,7 @@
# glob
require("os")
require("re-pcre")
require("fnmatch")
module("glob.py", version="0.5.2")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = module
version = 0.5.2
depends = os, re-pcre, fnmatch

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="0.1.1")
module("gzip.py")

Wyświetl plik

@ -1,3 +0,0 @@
srctype=micropython-lib
type=module
version = 0.1.1

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="2.4.0-4")
package("hashlib")

Wyświetl plik

@ -1,3 +0,0 @@
srctype = cpython
type = package
version = 2.4.0-4

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="0.9.3")
module("heapq.py")

Wyświetl plik

@ -1,5 +0,0 @@
srctype = cpython
type = module
version = 0.9.3
# Module uses in *some* functions, but we don't want to depend on it
#depends = itertools

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="3.4.2-3")
module("hmac.py")

Wyświetl plik

@ -1,3 +0,0 @@
srctype = cpython
type = module
version = 3.4.2-3

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="3.3.3-1")
package("html")

Wyświetl plik

@ -1,3 +0,0 @@
srctype=cpython
type=package
version = 3.3.3-1

Wyświetl plik

@ -0,0 +1,8 @@
# html.parser
require("_markupbase")
require("warnings")
require("html.entities")
require("re-pcre")
package("html", version="3.3.3-2")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = package
version = 3.3.3-2
depends = _markupbase, warnings, html.entities, re-pcre

Wyświetl plik

@ -0,0 +1,5 @@
metadata(version="3.3.3-2")
require("string")
package("html")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = package
version = 3.3.3-2
depends = string

Wyświetl plik

@ -0,0 +1,10 @@
# http.client
require("email.parser")
require("email.message")
require("socket")
require("collections")
require("urllib.parse")
require("warnings")
package("http", version="0.5.1")

Wyświetl plik

@ -1,4 +0,0 @@
srctype = cpython
type = package
version = 0.5.1
depends = email.parser, email.message, socket, collections, urllib.parse, warnings

Wyświetl plik

@ -0,0 +1,3 @@
metadata(version="0.1.2")
module("inspect.py")

Some files were not shown because too many files have changed in this diff Show More