zhangyixuan / modules / python38

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