zhangyixuan / modules / python38

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