zhangyixuan / modules / python38

Forked from modules/python38 3 years ago
Clone
c08db2
---
c08db2
document: modulemd
c08db2
version: 2
c08db2
data:
c08db2
    name: python38
c08db2
    stream: 3.8
c08db2
    summary: Python programming language, version 3.8
c08db2
    description: |-
c08db2
        This module gives users access to the internal Python 3.8 in RHEL8, as
c08db2
        well as provides some additional Python packages the users might need.
c08db2
        In addition to these you can install any python3-* package available
c08db2
        in RHEL and use it with Python from this module.
c08db2
    license:
c08db2
        module:
c08db2
            - MIT
c08db2
    dependencies:
c08db2
        - buildrequires:
c08db2
              platform: [el8.1.0]
c08db2
c08db2
              # Depending on our selves for bootstrapping
c08db2
              # This is not needed in bootstrap phase 1 and can be disabled
c08db2
              python38: [3.8-bootstrap]
c08db2
c08db2
              # sicpy needs package swig
c08db2
              swig: [3.0]
c08db2
              # mod_wsgi needs several packages from httpd
c08db2
              httpd: [2.4]
c08db2
          requires:
c08db2
              platform: [el8]
c08db2
    references:
c08db2
        community: https://www.python.org/
c08db2
        documentation: https://docs.python.org/3.8/
c08db2
    profiles:
c08db2
        common:
c08db2
            rpms:
c08db2
                - python38
c08db2
        build:
c08db2
            rpms:
c08db2
                - python38
c08db2
                - python38-devel
c08db2
                - python38-rpm-macros
c08db2
    filter:
c08db2
        rpms:
c08db2
            - python38-pyparsing
c08db2
            - python38-atomicwrites
c08db2
            - python38-attrs
c08db2
            - python38-packaging
c08db2
            - python38-py
c08db2
            - python38-pytest
c08db2
            - python38-more-itertools
c08db2
            - python38-pluggy
c08db2
            - python38-wcwidth
c08db2
    api:
c08db2
        rpms:
c08db2
            - python38
c08db2
            - python38-Cython
c08db2
            - python38-PyMySQL
c08db2
            - python38-asn1crypto
c08db2
            - python38-babel
c08db2
            - python38-cffi
c08db2
            - python38-chardet
c08db2
            - python38-cryptography
c08db2
            - python38-devel
c08db2
            - python38-idle
c08db2
            - python38-idna
c08db2
            - python38-jinja2
c08db2
            - python38-libs
c08db2
            - python38-lxml
c08db2
            - python38-markupsafe
c08db2
            - python38-mod_wsgi
c08db2
            - python38-numpy
c08db2
            - python38-numpy-f2py
c08db2
            - python38-pip
c08db2
            - python38-pip-wheel
c08db2
            - python38-ply
c08db2
            - python38-psutil
c08db2
            - python38-psycopg2
c08db2
            - python38-pycparser
c08db2
            - python38-pysocks
c08db2
            - python38-pytz
c08db2
            - python38-pyyaml
c08db2
            - python38-requests
c08db2
            - python38-rpm-macros
c08db2
            - python38-scipy
c08db2
            - python38-setuptools
c08db2
            - python38-setuptools-wheel
c08db2
            - python38-six
c08db2
            - python38-test
c08db2
            - python38-tkinter
c08db2
            - python38-urllib3
c08db2
            - python38-wheel
c08db2
            - python38-wheel-wheel
c08db2
    buildopts:
c08db2
        rpms:
c08db2
                # === Bootstrap phase 1 ===
c08db2
                #
c08db2
                # %python3_pkgversion 38
c08db2
                # %_without_python2 1
c08db2
                # # python38, setuptools, wheel
c08db2
                # %_with_bootstrap 1
c08db2
                # # python38
c08db2
                # %_without_rpmwheels 1
c08db2
                # # python38, setuptools, pip
c08db2
                # %_without_tests 1
c08db2
                # # pip
c08db2
                # %_without_doc 1
c08db2
c08db2
                # === Bootstrap phase 2 ===
c08db2
                #
c08db2
                # %python3_pkgversion 38
c08db2
                # %_without_python2 1
c08db2
                # # python38, setuptools, six, py, chardet, attrs, pluggy, pysocks,
c08db2
                # # atomicwrites, wcwidth, packaging
c08db2
                # %_without_tests 1
c08db2
                # # py, pyparsing, atomicwrites, packaging, pytest
c08db2
                # %_without_docs 1
c08db2
                # # pytest
c08db2
                # %_without_timeout 1
c08db2
                # %_without_optional_tests 1
c08db2
c08db2
            # Macros bootstrapping info:
c08db2
            #   Only the macros that are below the `macros: |` declaration are
c08db2
            #   being used in the module at a given time. If you want to switch
c08db2
            #   to a different bootstrap phase, comment out the current
c08db2
            #   bootstrap phase macros, move them above this section. And take
c08db2
            #   the bootstrap phase you want to use, uncomment it, and move it
c08db2
            #   here, below the `macros: |` line.
c08db2
            # Explanation:
c08db2
            #   Macros are expanded even when they are commented out using '#',
c08db2
            #   therefore it's safer to just move them out of the macros
c08db2
            #   section entirely to avoid possible issues.
c08db2
            macros: |
c08db2
                # === Bootstrap phase 3/4 ===
c08db2
                #
c08db2
                %python3_pkgversion 38
c08db2
                %_without_python2 1
c08db2
                # py, pyparsing, atomicwrites, packaging, pytest
c08db2
                %_without_docs 1
c08db2
c08db2
    components:
c08db2
        rpms:
c08db2
            # === Bootstrap phase 1 ===
c08db2
            #
c08db2
            # python38:
c08db2
            #     rationale: The main Python interpreter
c08db2
            #     ref: e336cb9a1476ad581ed1ae12b51cba7e0b0ca219
c08db2
            #     buildorder: 10
c08db2
            # python3x-setuptools:
c08db2
            #     rationale: Packaging tool
c08db2
            #     ref: e871d8d55c2566ebc7bad9b362261eee046b4581
c08db2
            #     buildorder: 20
c08db2
            # python-wheel:
c08db2
            #     rationale: Packaging tool
c08db2
            #     ref: f3f14d2af2afb451b7a29e3e0bcc51ec7f9d20cf
c08db2
            #     buildorder: 30
c08db2
            # python3x-pip:
c08db2
            #     rationale: Packaging tool
c08db2
            #     ref: bcedfd39e51647ff333e1e23ce830014fa856d61
c08db2
            #     buildorder: 40
c08db2
c08db2
c08db2
            # === Bootstrap phase 2 ===
c08db2
            #
c08db2
            # python3x-setuptools:
c08db2
            #     rationale: Packaging tool
c08db2
            #     ref: e871d8d55c2566ebc7bad9b362261eee046b4581
c08db2
            #     buildorder: 10
c08db2
            # python38:
c08db2
            #     rationale: The main Python interpreter
c08db2
            #     ref: e336cb9a1476ad581ed1ae12b51cba7e0b0ca219
c08db2
            #     buildorder: 20
c08db2
            # python-wheel:
c08db2
            #     rationale: Packaging tool
c08db2
            #     ref: f3f14d2af2afb451b7a29e3e0bcc51ec7f9d20cf
c08db2
            #     buildorder: 30
c08db2
            # python3x-pip:
c08db2
            #     rationale: Packaging tool
c08db2
            #     ref: bcedfd39e51647ff333e1e23ce830014fa856d61
c08db2
            #     buildorder: 30
c08db2
            #
c08db2
            # python-six:
c08db2
            #     rationale: Python component
c08db2
            #     ref: 5eb513dbb67d9d78ac924bafac2a244acee79db5
c08db2
            #     buildorder: 30
c08db2
            # python-py:
c08db2
            #     rationale: Python component
c08db2
            #     ref: 9234c89c42c53615e825e158ad5336e684070ae1
c08db2
            #     buildorder: 30
c08db2
            # python-chardet:
c08db2
            #     rationale: Python component
c08db2
            #     ref: 8fd25f76ad2b48f12926b078855c6cbdc0e5cdfe
c08db2
            #     buildorder: 30
c08db2
            # python-attrs:
c08db2
            #     rationale: Python component
c08db2
            #     ref: b5a79261179bfe1f22f6ccaf72f10d48855124a0
c08db2
            #     buildorder: 30
c08db2
            # python-pluggy:
c08db2
            #     rationale: Python component
c08db2
            #     ref: efd68bcb5fca5a950d553b6e25268f22715becef
c08db2
            #     buildorder: 30
c08db2
            # python-markupsafe:
c08db2
            #     rationale: Python component
c08db2
            #     ref: 83ad5192a6a16089aefce6bf42f04dbf35ab6e62
c08db2
            #     buildorder: 30
c08db2
            # python-pysocks:
c08db2
            #     rationale: Python component
c08db2
            #     ref: 1f78d0dcce716c59c354f17a8b4744cc7a6426e5
c08db2
            #     buildorder: 30
c08db2
            # python3x-pyparsing:
c08db2
            #     rationale: Python component
c08db2
            #     ref: 2aa5156074845410abbc856a6788b477963a9246
c08db2
            #     buildorder: 30
c08db2
            # python-atomicwrites:
c08db2
            #     rationale: Python component
c08db2
            #     ref: d6795fd52b4950ed87cdb0db43a8f680ff130b2b
c08db2
            #     buildorder: 30
c08db2
            # python-wcwidth:
c08db2
            #     rationale: Python component
c08db2
            #     ref: 48b14edc5b0744ebe35d1e4ce5cb0533b629f20e
c08db2
            #     buildorder: 30
c08db2
            # python-more-itertools:
c08db2
            #     rationale: Python component
c08db2
            #     ref: 47d82b6c6a3ca04cdc3b14b2c1b5321b742b1a0b
c08db2
            #     buildorder: 40
c08db2
            # python-packaging:
c08db2
            #     rationale: Python component
c08db2
            #     ref: f665d0bd3569478862fc243fc61f519100dfc23e
c08db2
            #     buildorder: 40
c08db2
            # pytest:
c08db2
            #     rationale: Python component
c08db2
            #     ref: 04936ffd6499a401831a73dace596eb6429c38a9
c08db2
            #     buildorder: 50
c08db2
c08db2
c08db2
            # === Bootstrap phase 3/4 ===
c08db2
            # For bootstrap phase 3 uncomment all `buildorder:` lines below,
c08db2
            # for bootstrap phase 4 comment them out.
c08db2
            #
c08db2
            python38:
c08db2
                rationale: The main Python interpreter
c08db2
                ref: e336cb9a1476ad581ed1ae12b51cba7e0b0ca219
c08db2
            python3x-setuptools:
c08db2
                rationale: Packaging tool
c08db2
                ref: e871d8d55c2566ebc7bad9b362261eee046b4581
c08db2
            python-wheel:
c08db2
                rationale: Packaging tool
c08db2
                ref: f3f14d2af2afb451b7a29e3e0bcc51ec7f9d20cf
c08db2
            python3x-pip:
c08db2
                rationale: Packaging tool
c08db2
                ref: bcedfd39e51647ff333e1e23ce830014fa856d61
c08db2
c08db2
            python-six:
c08db2
                rationale: Python component
c08db2
                ref: 5eb513dbb67d9d78ac924bafac2a244acee79db5
c08db2
            python-py:
c08db2
                rationale: Python component
c08db2
                ref: 9234c89c42c53615e825e158ad5336e684070ae1
c08db2
            python-chardet:
c08db2
                rationale: Python component
c08db2
                ref: 8fd25f76ad2b48f12926b078855c6cbdc0e5cdfe
c08db2
            python-attrs:
c08db2
                rationale: Python component
c08db2
                ref: b5a79261179bfe1f22f6ccaf72f10d48855124a0
c08db2
            python-pluggy:
c08db2
                rationale: Python component
c08db2
                ref: efd68bcb5fca5a950d553b6e25268f22715becef
c08db2
            python-markupsafe:
c08db2
                rationale: Python component
c08db2
                ref: 83ad5192a6a16089aefce6bf42f04dbf35ab6e62
c08db2
            python-pysocks:
c08db2
                rationale: Python component
c08db2
                ref: 1f78d0dcce716c59c354f17a8b4744cc7a6426e5
c08db2
            python3x-pyparsing:
c08db2
                rationale: Python component
c08db2
                ref: 2aa5156074845410abbc856a6788b477963a9246
c08db2
            python-atomicwrites:
c08db2
                rationale: Python component
c08db2
                ref: d6795fd52b4950ed87cdb0db43a8f680ff130b2b
c08db2
            python-wcwidth:
c08db2
                rationale: Python component
c08db2
                ref: 48b14edc5b0744ebe35d1e4ce5cb0533b629f20e
c08db2
            python-more-itertools:
c08db2
                rationale: Python component
c08db2
                ref: 47d82b6c6a3ca04cdc3b14b2c1b5321b742b1a0b
c08db2
            python-packaging:
c08db2
                rationale: Python component
c08db2
                ref: f665d0bd3569478862fc243fc61f519100dfc23e
c08db2
            pytest:
c08db2
                rationale: Python component
c08db2
                ref: 04936ffd6499a401831a73dace596eb6429c38a9
c08db2
            pytz:
c08db2
                rationale: Python component
c08db2
                ref: 203a8115cde6594b693023f381684404e37929cd
c08db2
            babel:
c08db2
                rationale: Python component
c08db2
                ref: 7909c2d9ed67c7f04ab8eeb429fd550594d3fa29
c08db2
            python-idna:
c08db2
                rationale: Python component
c08db2
                ref: b49aef801863e3aa54bd6c05b38fbce328bff5c3
c08db2
            python-urllib3:
c08db2
                rationale: Python component
c08db2
                ref: 60ad7e739e8cf95ff9cd11257678a1686fa2a891
c08db2
            Cython:
c08db2
                rationale: Python component
c08db2
                ref: ed38aa32f121d1d0c159e4b64b686b5331eb9063
c08db2
            python-asn1crypto:
c08db2
                rationale: Python component
c08db2
                ref: 103e578d13073ec576136b2a5c5807cba97ba5bc
c08db2
            python-ply:
c08db2
                rationale: Python component
c08db2
                ref: 353a27d1ea7efbcb9e18ecea442aee34b8d4371d
c08db2
            python-psutil:
c08db2
                rationale: Python component
c08db2
                ref: fc7287453ee0d1611d2d090724059d5bad5b0624
c08db2
            python-psycopg2:
c08db2
                rationale: Python component
c08db2
                ref: ad12a9626afdc94efea74b404af5d015af6b995a
c08db2
            mod_wsgi:
c08db2
                rationale: Python component
c08db2
                ref: 3f206188911e32d409f24bd85cca32cdf71861c0
c08db2
c08db2
            python-requests:
c08db2
                rationale: Python component
c08db2
                ref: 26d489a7f8e5c2b2fe9c8562bd9479adcec38314
c08db2
                # buildorder: 10
c08db2
            python-jinja2:
c08db2
                rationale: Python component
c08db2
                ref: be3414a5c4fd50e60b04847696c949070f29f4d7
c08db2
                # buildorder: 10
c08db2
            numpy:
c08db2
                rationale: Python component
c08db2
                ref: 797db07aba9865241c28d0d791bcaaa7219b235f
c08db2
                # buildorder: 10
c08db2
            PyYAML:
c08db2
                rationale: Python component
c08db2
                ref: b0d6937b50ce399bd290772f0c1acd7a85feddf6
c08db2
                # buildorder: 10
c08db2
            python-pycparser:
c08db2
                rationale: Python component
c08db2
                ref: 685e11f2482a4f03c503681ea5c289515fa6cbdb
c08db2
                # buildorder: 10
c08db2
            python-lxml:
c08db2
                rationale: Python component
c08db2
                ref: 2d0a5ec32a7af267074484f0d6b08be8c0ccb26e
c08db2
                # buildorder: 10
c08db2
c08db2
            python-cffi:
c08db2
                rationale: Python component
c08db2
                ref: e39eb12b57e99183d28619bf418f1c583b4747a1
c08db2
                # buildorder: 20
c08db2
            scipy:
c08db2
                rationale: Python component
c08db2
                ref: b2f9e61114d82d06d2d127171c76cf5fff579600
c08db2
                # buildorder: 20
c08db2
c08db2
            python-cryptography:
c08db2
                rationale: Python component
c08db2
                ref: 8230d229c145eb4377e580e1c119d32d611d2b60
c08db2
                # needs cffi
c08db2
                # buildorder: 30
c08db2
c08db2
            python-PyMySQL:
c08db2
                rationale: Python component
c08db2
                ref: eca64bd007e62f39420963dfcb233fb742b48067
c08db2
                # needs cryptography
c08db2
                # buildorder: 40
c08db2
...