コード例 #1
0
        "venv",
        "virtualenv",
        "wadllib",
        "webpy",
        "werkzeug",
        "zbar",  # T58996
        "zmq",
    ],
}

logging.basicConfig(level=logging.DEBUG)

environ_processed = {}

for environ, packages_post in environ_packages.items():
    package_list = {}
    for package_post in packages_post:
        for prefix in ["python-", "python3-"]:
            package_name = prefix + package_post
            package_list[package_name] = {
                release: genpp.get_version(package_name, release)
                for release in genpp.releases
            }

    for release in genpp.releases:
        genpp.write_pp("python", release, environ, package_list)

    environ_processed[environ] = package_list

genpp.write_report("python", environ_processed)
コード例 #2
0
import pprint

logging.basicConfig(level=logging.DEBUG)

environ_processed = {}

for environ, packages_post in environ_packages.items():
    package_list = {}
    for package_post in packages_post:
        for prefix in ['python-', 'python3-']:
            package_name = prefix + package_post
            package_list[package_name] = {
                release: genpp.get_version(package_name, release)
                for release in genpp.releases
            }

    for release in genpp.releases:
        genpp.write_pp(
            'python',
            release,
            environ,
            package_list
        )

    environ_processed[environ] = package_list

genpp.write_report(
    'python',
    environ_processed
)