Blob Blame History Raw
---
document: modulemd
version: 2
data:
    name: python39
    stream: 3.9-bootstrap
    summary: Python programming language, version 3.9
    description: |-
        This module gives users access to the internal Python 3.9 in RHEL8, as
        well as provides some additional Python packages the users might need.
        In addition to these you can install any python3-* package available
        in RHEL and use it with Python from this module.
    license:
        module:
            - MIT
    dependencies:
        - buildrequires:
              platform: [el8.4.0]

              # Depending on our selves for bootstrapping
              # This is not needed in bootstrap phase 1 and can be disabled
              # python39: [3.9-bootstrap]

              # sicpy needs package swig
              swig: [3.0]
              # mod_wsgi needs several packages from httpd
              httpd: [2.4]
          requires:
              platform: [el8]
    references:
        community: https://www.python.org/
        documentation: https://docs.python.org/3.9/
    profiles:
        common:
            rpms:
                - python39
        build:
            rpms:
                - python39
                - python39-devel
                - python39-rpm-macros
    buildopts:
        rpms:
            # Macros bootstrapping info:
            #   Only the macros that are below the `macros: |` declaration are
            #   being used in the module at a given time. If you want to switch
            #   to a different bootstrap phase, comment out the current
            #   bootstrap phase macros, move them above this section. And take
            #   the bootstrap phase you want to use, uncomment it, and move it
            #   here, below the `macros: |` line.
            # Explanation:
            #   Macros are expanded even when they are commented out using '#',
            #   therefore it's safer to just move them out of the macros
            #   section entirely to avoid possible issues.
            macros: |
                # === Bootstrap phase 1 ===
                #
                %python3_pkgversion 39
                # python39
                %_without_rpmwheels 1
                %_without_optimizations 1
                # python39, setuptools, wheel
                %_with_bootstrap 1
                # python39, setuptools, pip
                %_without_tests 1
                # pip
                %_without_doc 1

    components:
        rpms:
            # === Bootstrap phase 1 ===
            #
            python39:
                rationale: The main Python interpreter
                ref: 93a1c0a50478623f84220798338b4d66a2e7117c
                buildorder: 10
            python3x-setuptools:
                rationale: Packaging tool
                ref: 1950ae3d8549d4df835b6e31337bebd9a40bf4f8
                buildorder: 20
            python-wheel:
                rationale: Packaging tool
                ref: 1d3137dab7dbb7c7fa4526224de74ab47cadbd95
                buildorder: 30
            python3x-pip:
                rationale: Packaging tool
                ref: 6d97c1df67685383c70ad4ef043c3d4d8231352d
                buildorder: 40
...