zhangyixuan / modules / python38

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