zhangyixuan / modules / python38

Forked from modules/python38 3 years ago
Clone
fa7fbd
---
fa7fbd
document: modulemd
fa7fbd
version: 2
fa7fbd
data:
fa7fbd
    name: python38
fa7fbd
    stream: "3.8"
fa7fbd
    summary: Python programming language, version 3.8
fa7fbd
    description: |-
fa7fbd
        This module gives users access to the internal Python 3.8 in RHEL8, as
fa7fbd
        well as provides some additional Python packages the users might need.
fa7fbd
        In addition to these you can install any python3-* package available
fa7fbd
        in RHEL and use it with Python from this module.
fa7fbd
    license:
fa7fbd
        module:
fa7fbd
            - MIT
fa7fbd
    dependencies:
fa7fbd
        - buildrequires:
fa7fbd
              platform: [el8.5.0]
fa7fbd
fa7fbd
              # Depending on our selves for bootstrapping
fa7fbd
              # This is not needed in bootstrap phase 1 and can be disabled
fa7fbd
              python38: [3.8-bootstrap]
fa7fbd
fa7fbd
              # sicpy needs package swig
fa7fbd
              swig: [3.0]
fa7fbd
              # mod_wsgi needs several packages from httpd
fa7fbd
              httpd: [2.4]
fa7fbd
          requires:
fa7fbd
              platform: [el8]
fa7fbd
    references:
fa7fbd
        community: https://www.python.org/
fa7fbd
        documentation: https://docs.python.org/3.8/
fa7fbd
    profiles:
fa7fbd
        common:
fa7fbd
            rpms:
fa7fbd
                - python38
fa7fbd
        build:
fa7fbd
            rpms:
fa7fbd
                - python38
fa7fbd
                - python38-devel
fa7fbd
                - python38-rpm-macros
fa7fbd
    filter:
fa7fbd
        rpms:
fa7fbd
            - python38-pyparsing
fa7fbd
            - python38-atomicwrites
fa7fbd
            - python38-attrs
fa7fbd
            - python38-packaging
fa7fbd
            - python38-py
fa7fbd
            - python38-pytest
fa7fbd
            - python38-more-itertools
fa7fbd
            - python38-pluggy
fa7fbd
            - python38-wcwidth
fa7fbd
    api:
fa7fbd
        rpms:
fa7fbd
            - python38
fa7fbd
            - python38-Cython
fa7fbd
            - python38-PyMySQL
fa7fbd
            - python38-asn1crypto
fa7fbd
            - python38-babel
fa7fbd
            - python38-cffi
fa7fbd
            - python38-chardet
fa7fbd
            - python38-cryptography
fa7fbd
            - python38-devel
fa7fbd
            - python38-idle
fa7fbd
            - python38-idna
fa7fbd
            - python38-jinja2
fa7fbd
            - python38-libs
fa7fbd
            - python38-lxml
fa7fbd
            - python38-markupsafe
fa7fbd
            - python38-mod_wsgi
fa7fbd
            - python38-numpy
fa7fbd
            - python38-numpy-f2py
fa7fbd
            - python38-pip
fa7fbd
            - python38-pip-wheel
fa7fbd
            - python38-ply
fa7fbd
            - python38-psutil
fa7fbd
            - python38-psycopg2
fa7fbd
            - python38-pycparser
fa7fbd
            - python38-pysocks
fa7fbd
            - python38-pytz
fa7fbd
            - python38-pyyaml
fa7fbd
            - python38-requests
fa7fbd
            - python38-rpm-macros
fa7fbd
            - python38-scipy
fa7fbd
            - python38-setuptools
fa7fbd
            - python38-setuptools-wheel
fa7fbd
            - python38-six
fa7fbd
            - python38-test
fa7fbd
            - python38-tkinter
fa7fbd
            - python38-urllib3
fa7fbd
            - python38-wheel
fa7fbd
            - python38-wheel-wheel
fa7fbd
    buildopts:
fa7fbd
        rpms:
fa7fbd
                # === Bootstrap phase 1 ===
fa7fbd
                #
fa7fbd
                # %python3_pkgversion 38
fa7fbd
                # %_without_python2 1
fa7fbd
                # # python38, setuptools, wheel
fa7fbd
                # %_with_bootstrap 1
fa7fbd
                # # python38
fa7fbd
                # %_without_rpmwheels 1
fa7fbd
                # # python38, setuptools, pip
fa7fbd
                # %_without_tests 1
fa7fbd
                # # pip
fa7fbd
                # %_without_doc 1
fa7fbd
fa7fbd
                # === Bootstrap phase 2 ===
fa7fbd
                #
fa7fbd
                # %python3_pkgversion 38
fa7fbd
                # %_without_python2 1
fa7fbd
                # # python38, setuptools, six, py, chardet, attrs, pluggy, pysocks,
fa7fbd
                # # atomicwrites, wcwidth, packaging
fa7fbd
                # %_without_tests 1
fa7fbd
                # # py, pyparsing, atomicwrites, packaging, pytest
fa7fbd
                # %_without_docs 1
fa7fbd
                # # pytest
fa7fbd
                # %_without_timeout 1
fa7fbd
                # %_without_optional_tests 1
fa7fbd
fa7fbd
            # Macros bootstrapping info:
fa7fbd
            #   Only the macros that are below the `macros: |` declaration are
fa7fbd
            #   being used in the module at a given time. If you want to switch
fa7fbd
            #   to a different bootstrap phase, comment out the current
fa7fbd
            #   bootstrap phase macros, move them above this section. And take
fa7fbd
            #   the bootstrap phase you want to use, uncomment it, and move it
fa7fbd
            #   here, below the `macros: |` line.
fa7fbd
            # Explanation:
fa7fbd
            #   Macros are expanded even when they are commented out using '#',
fa7fbd
            #   therefore it's safer to just move them out of the macros
fa7fbd
            #   section entirely to avoid possible issues.
fa7fbd
            macros: |
fa7fbd
                # === Bootstrap phase 3/4 ===
fa7fbd
                #
fa7fbd
                %python3_pkgversion 38
fa7fbd
                %_without_python2 1
fa7fbd
                # py, pyparsing, atomicwrites, packaging, pytest
fa7fbd
                %_without_docs 1
fa7fbd
fa7fbd
    components:
fa7fbd
        rpms:
fa7fbd
            # === Bootstrap phase 1 ===
fa7fbd
            #
fa7fbd
            # python38:
fa7fbd
            #     rationale: The main Python interpreter
fa7fbd
            #     ref: 1d50a5d0e3ea38e4940dcebc7ee0aa3e0aad643d
fa7fbd
            #     buildorder: 10
fa7fbd
            # python3x-setuptools:
fa7fbd
            #     rationale: Packaging tool
fa7fbd
            #     ref: 4cf3805f0883581a49db451f161b37a3c5c83a9d
fa7fbd
            #     buildorder: 20
fa7fbd
            # python-wheel:
fa7fbd
            #     rationale: Packaging tool
fa7fbd
            #     ref: cfbc354d7f82c1653b7cb2f2c08521905c2c87cb
fa7fbd
            #     buildorder: 30
fa7fbd
            # python3x-pip:
fa7fbd
            #     rationale: Packaging tool
fa7fbd
            #     ref: 8d6432dbed1259f7bc5948ee3ea4cf2453ed86a1
fa7fbd
            #     buildorder: 40
fa7fbd
fa7fbd
fa7fbd
            # === Bootstrap phase 2 ===
fa7fbd
            #
fa7fbd
            # python3x-setuptools:
fa7fbd
            #     rationale: Packaging tool
fa7fbd
            #     ref: 4cf3805f0883581a49db451f161b37a3c5c83a9d
fa7fbd
            #     buildorder: 10
fa7fbd
            # python38:
fa7fbd
            #     rationale: The main Python interpreter
fa7fbd
            #     ref: 1d50a5d0e3ea38e4940dcebc7ee0aa3e0aad643d
fa7fbd
            #     buildorder: 20
fa7fbd
            # python-wheel:
fa7fbd
            #     rationale: Packaging tool
fa7fbd
            #     ref: cfbc354d7f82c1653b7cb2f2c08521905c2c87cb
fa7fbd
            #     buildorder: 30
fa7fbd
            # python3x-pip:
fa7fbd
            #     rationale: Packaging tool
fa7fbd
            #     ref: 8d6432dbed1259f7bc5948ee3ea4cf2453ed86a1
fa7fbd
            #     buildorder: 30
fa7fbd
fa7fbd
            # python3x-six:
fa7fbd
            #     rationale: Python component
fa7fbd
            #     ref: 79212410a62640d6ba6fb9bee8c6f8ed88a7401f
fa7fbd
            #     buildorder: 30
fa7fbd
            # python-py:
fa7fbd
            #     rationale: Python component
fa7fbd
            #     ref: 725721338027fabba187fcee663ee3e9bd3290d7
fa7fbd
            #     buildorder: 30
fa7fbd
            # python-chardet:
fa7fbd
            #     rationale: Python component
fa7fbd
            #     ref: 04b5d1be6d2e14ece3a43caa87b79216ea35b65a
fa7fbd
            #     buildorder: 30
fa7fbd
            # python-attrs:
fa7fbd
            #     rationale: Python component
fa7fbd
            #     ref: e9bcb854a4017201a396d14a2f941a37a13010f3
fa7fbd
            #     buildorder: 30
fa7fbd
            # python-pluggy:
fa7fbd
            #     rationale: Python component
fa7fbd
            #     ref: ba5dde76d5398b1c869eaaf2619bf7061d472fb6
fa7fbd
            #     buildorder: 30
fa7fbd
            # python-markupsafe:
fa7fbd
            #     rationale: Python component
fa7fbd
            #     ref: 411ed0ff3ec0682aeef30fead3696673096fca82
fa7fbd
            #     buildorder: 30
fa7fbd
            # python-pysocks:
fa7fbd
            #     rationale: Python component
fa7fbd
            #     ref: 483216203ae75373f15aea373c80ee0585c13e63
fa7fbd
            #     buildorder: 30
fa7fbd
            # python3x-pyparsing:
fa7fbd
            #     rationale: Python component
fa7fbd
            #     ref: 83e48edf172c5764192df37c87f61509132e98cc
fa7fbd
            #     buildorder: 30
fa7fbd
            # python-atomicwrites:
fa7fbd
            #     rationale: Python component
fa7fbd
            #     ref: b94fddf57c6fbd09c9d7bd5a9d7dd666376e5386
fa7fbd
            #     buildorder: 30
fa7fbd
            # python-wcwidth:
fa7fbd
            #     rationale: Python component
fa7fbd
            #     ref: be8f2b04d24c914cf2743628f95138cd91d58b44
fa7fbd
            #     buildorder: 30
fa7fbd
            # python-more-itertools:
fa7fbd
            #     rationale: Python component
fa7fbd
            #     ref: e1d5d8a6b5d705f7dd4e3253ae33c7560cbd2150
fa7fbd
            #     buildorder: 40
fa7fbd
            # python-packaging:
fa7fbd
            #     rationale: Python component
fa7fbd
            #     ref: 419429934421600cc834be5890be0400bfb7620a
fa7fbd
            #     buildorder: 40
fa7fbd
            # pytest:
fa7fbd
            #     rationale: Python component
fa7fbd
            #     ref: d2854f6746913377d27f49ac2be01c1e6aa16ff5
fa7fbd
            #     buildorder: 50
fa7fbd
fa7fbd
fa7fbd
            # === Bootstrap phase 3/4 ===
fa7fbd
            # For bootstrap phase 3 uncomment all `buildorder:` lines below,
fa7fbd
            # for bootstrap phase 4 comment them out.
fa7fbd
            #
fa7fbd
            python38:
fa7fbd
                rationale: The main Python interpreter
fa7fbd
                ref: 1d50a5d0e3ea38e4940dcebc7ee0aa3e0aad643d
fa7fbd
            python3x-setuptools:
fa7fbd
                rationale: Packaging tool
fa7fbd
                ref: 4cf3805f0883581a49db451f161b37a3c5c83a9d
fa7fbd
            python-wheel:
fa7fbd
                rationale: Packaging tool
fa7fbd
                ref: cfbc354d7f82c1653b7cb2f2c08521905c2c87cb
fa7fbd
            python3x-pip:
fa7fbd
                rationale: Packaging tool
fa7fbd
                ref: 8d6432dbed1259f7bc5948ee3ea4cf2453ed86a1
fa7fbd
fa7fbd
            python3x-six:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 79212410a62640d6ba6fb9bee8c6f8ed88a7401f
fa7fbd
            python-py:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 725721338027fabba187fcee663ee3e9bd3290d7
fa7fbd
            python-chardet:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 04b5d1be6d2e14ece3a43caa87b79216ea35b65a
fa7fbd
            python-attrs:
fa7fbd
                rationale: Python component
fa7fbd
                ref: e9bcb854a4017201a396d14a2f941a37a13010f3
fa7fbd
            python-pluggy:
fa7fbd
                rationale: Python component
fa7fbd
                ref: ba5dde76d5398b1c869eaaf2619bf7061d472fb6
fa7fbd
            python-markupsafe:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 411ed0ff3ec0682aeef30fead3696673096fca82
fa7fbd
            python-pysocks:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 483216203ae75373f15aea373c80ee0585c13e63
fa7fbd
            python3x-pyparsing:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 83e48edf172c5764192df37c87f61509132e98cc
fa7fbd
            python-atomicwrites:
fa7fbd
                rationale: Python component
fa7fbd
                ref: b94fddf57c6fbd09c9d7bd5a9d7dd666376e5386
fa7fbd
            python-wcwidth:
fa7fbd
                rationale: Python component
fa7fbd
                ref: be8f2b04d24c914cf2743628f95138cd91d58b44
fa7fbd
            python-more-itertools:
fa7fbd
                rationale: Python component
fa7fbd
                ref: e1d5d8a6b5d705f7dd4e3253ae33c7560cbd2150
fa7fbd
            python-packaging:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 419429934421600cc834be5890be0400bfb7620a
fa7fbd
            pytest:
fa7fbd
                rationale: Python component
fa7fbd
                ref: d2854f6746913377d27f49ac2be01c1e6aa16ff5
fa7fbd
            pytz:
fa7fbd
                rationale: Python component
fa7fbd
                ref: e511e149f15c72f6899fcb6ec77d16b5f601b6bd
fa7fbd
            babel:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 227108b6f0c0f9686193e5c738c8ce70ff43db9e
fa7fbd
            python-idna:
fa7fbd
                rationale: Python component
fa7fbd
                ref: f31aae82e6cc6bf72df28f33a6f79e0d9869dc18
fa7fbd
            python-urllib3:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 2e756cf68ae5a65e2806edfd79ef671e54b42140
fa7fbd
            Cython:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 6fd15dc5dd8beba861c7dd2cae96c6ffdce479b1
fa7fbd
            python-asn1crypto:
fa7fbd
                rationale: Python component
fa7fbd
                ref: a76406f22f1df8af46439738f675f42c38c55328
fa7fbd
            python-ply:
fa7fbd
                rationale: Python component
fa7fbd
                ref: f113e7017224318a0e816f6e78f938187ff60515
fa7fbd
            python-psutil:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 7d86f2b870e0b58ef6951bcb6a41fdf247bfdab6
fa7fbd
            python-psycopg2:
fa7fbd
                rationale: Python component
fa7fbd
                ref: d5342d2c15e078b550a5142647bed6310e34a9e7
fa7fbd
            mod_wsgi:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 8add44143f3b76d4eb0a4e5237b86d7770afd971
fa7fbd
fa7fbd
            python-requests:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 4f3cf0a863b3375816762185a43f454db4485c18
fa7fbd
                # buildorder: 10
fa7fbd
            python-jinja2:
fa7fbd
                rationale: Python component
fa7fbd
                ref: aa2c5985d72f71ebc735ac40b42f3e594cf72eed
fa7fbd
                # buildorder: 10
fa7fbd
            numpy:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 166d7b52b9bc12c1452fd710774241204712bd04
fa7fbd
                # buildorder: 10
fa7fbd
            PyYAML:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 9a5a9a0393de544d88cb78a4fcfda18efc4759c5
fa7fbd
                # buildorder: 10
fa7fbd
            python-pycparser:
fa7fbd
                rationale: Python component
fa7fbd
                ref: d8780afffcee334655c6afc845213e51cc118423
fa7fbd
                # buildorder: 10
fa7fbd
            python-lxml:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 5c21380f82866c4871dc6bd8297fe29cfda7316c
fa7fbd
                # buildorder: 10
fa7fbd
fa7fbd
            python-cffi:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 7863c65b2cc9d3caf9e21d8a0da66430f38dbca2
fa7fbd
                # buildorder: 20
fa7fbd
            scipy:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 9b831368aba1a84483e855a720a7c74799fb9aa7
fa7fbd
                # buildorder: 20
fa7fbd
fa7fbd
            python-cryptography:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 5c743a97fdb06d99fc583a7be55ea1dd0050dd6f
fa7fbd
                # needs cffi
fa7fbd
                # buildorder: 30
fa7fbd
fa7fbd
            python-PyMySQL:
fa7fbd
                rationale: Python component
fa7fbd
                ref: 173146ccc90488b5c442d4011464ab13673e5e0e
fa7fbd
                # needs cryptography
fa7fbd
                # buildorder: 40
fa7fbd
...