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:
5cb175
              platform: [el8.1.0]
3e0acf
5cb175
              # Depending on our selves for bootstrapping
5cb175
              # This is not needed in bootstrap phase 1 and can be disabled
0ad66a
              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:
0ad66a
                # === Bootstrap phase 1 ===
5cb175
                #
5cb175
                # %python3_pkgversion 38
5cb175
                # %_without_python2 1
0ad66a
                # # python38, setuptools, wheel
0ad66a
                # %_with_bootstrap 1
0ad66a
                # # python38
0ad66a
                # %_without_rpmwheels 1
0ad66a
                # # python38, setuptools, pip
5cb175
                # %_without_tests 1
0ad66a
                # # pip
0ad66a
                # %_without_doc 1
3e0acf
2a9117
                # === Bootstrap phase 2 ===
0efc03
                #
0efc03
                # %python3_pkgversion 38
0efc03
                # %_without_python2 1
2a9117
                # # python38, setuptools, six, py, chardet, attrs, pluggy, pysocks,
2a9117
                # # atomicwrites, wcwidth, packaging
2a9117
                # %_without_tests 1
0efc03
                # # py, pyparsing, atomicwrites, packaging, pytest
0efc03
                # %_without_docs 1
2a9117
                # # pytest
2a9117
                # %_without_timeout 1
2a9117
                # %_without_optional_tests 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: |
2a9117
                # === Bootstrap phase 3/4 ===
5cb175
                #
5cb175
                %python3_pkgversion 38
5cb175
                %_without_python2 1
0ad66a
                # py, pyparsing, atomicwrites, packaging, pytest
0ad66a
                %_without_docs 1
3e0acf
5cb175
    components:
5cb175
        rpms:
5cb175
            # === Bootstrap phase 1 ===
5cb175
            #
5cb175
            # python38:
5cb175
            #     rationale: The main Python interpreter
5cb175
            #     ref: e336cb9a1476ad581ed1ae12b51cba7e0b0ca219
0ad66a
            #     buildorder: 10
0ad66a
            # python3x-setuptools:
0ad66a
            #     rationale: Packaging tool
0ad66a
            #     ref: e871d8d55c2566ebc7bad9b362261eee046b4581
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: 40
0ad66a
0ad66a
0ad66a
            # === Bootstrap phase 2 ===
0ad66a
            #
2a9117
            # python3x-setuptools:
2a9117
            #     rationale: Packaging tool
2a9117
            #     ref: e871d8d55c2566ebc7bad9b362261eee046b4581
2a9117
            #     buildorder: 10
2a9117
            # python38:
2a9117
            #     rationale: The main Python interpreter
2a9117
            #     ref: e336cb9a1476ad581ed1ae12b51cba7e0b0ca219
2a9117
            #     buildorder: 20
2a9117
            # python-wheel:
2a9117
            #     rationale: Packaging tool
2a9117
            #     ref: f3f14d2af2afb451b7a29e3e0bcc51ec7f9d20cf
2a9117
            #     buildorder: 30
2a9117
            # python3x-pip:
2a9117
            #     rationale: Packaging tool
2a9117
            #     ref: bcedfd39e51647ff333e1e23ce830014fa856d61
2a9117
            #     buildorder: 30
2a9117
            #
2a9117
            # python-six:
2a9117
            #     rationale: Python component
2a9117
            #     ref: 5eb513dbb67d9d78ac924bafac2a244acee79db5
2a9117
            #     buildorder: 30
2a9117
            # python-py:
2a9117
            #     rationale: Python component
2a9117
            #     ref: 9234c89c42c53615e825e158ad5336e684070ae1
2a9117
            #     buildorder: 30
2a9117
            # python-chardet:
2a9117
            #     rationale: Python component
2a9117
            #     ref: 8fd25f76ad2b48f12926b078855c6cbdc0e5cdfe
2a9117
            #     buildorder: 30
2a9117
            # python-attrs:
2a9117
            #     rationale: Python component
2a9117
            #     ref: b5a79261179bfe1f22f6ccaf72f10d48855124a0
2a9117
            #     buildorder: 30
2a9117
            # python-pluggy:
2a9117
            #     rationale: Python component
2a9117
            #     ref: efd68bcb5fca5a950d553b6e25268f22715becef
2a9117
            #     buildorder: 30
2a9117
            # python-markupsafe:
2a9117
            #     rationale: Python component
2a9117
            #     ref: 83ad5192a6a16089aefce6bf42f04dbf35ab6e62
2a9117
            #     buildorder: 30
2a9117
            # python-pysocks:
2a9117
            #     rationale: Python component
2a9117
            #     ref: 1f78d0dcce716c59c354f17a8b4744cc7a6426e5
2a9117
            #     buildorder: 30
2a9117
            # python3x-pyparsing:
2a9117
            #     rationale: Python component
2a9117
            #     ref: 2aa5156074845410abbc856a6788b477963a9246
2a9117
            #     buildorder: 30
2a9117
            # python-atomicwrites:
2a9117
            #     rationale: Python component
2a9117
            #     ref: d6795fd52b4950ed87cdb0db43a8f680ff130b2b
2a9117
            #     buildorder: 30
2a9117
            # python-wcwidth:
2a9117
            #     rationale: Python component
2a9117
            #     ref: 48b14edc5b0744ebe35d1e4ce5cb0533b629f20e
2a9117
            #     buildorder: 30
2a9117
            # python-more-itertools:
2a9117
            #     rationale: Python component
2a9117
            #     ref: 47d82b6c6a3ca04cdc3b14b2c1b5321b742b1a0b
2a9117
            #     buildorder: 40
2a9117
            # python-packaging:
2a9117
            #     rationale: Python component
2a9117
            #     ref: f665d0bd3569478862fc243fc61f519100dfc23e
2a9117
            #     buildorder: 40
2a9117
            # pytest:
2a9117
            #     rationale: Python component
2a9117
            #     ref: 04936ffd6499a401831a73dace596eb6429c38a9
2a9117
            #     buildorder: 50
2a9117
2a9117
2a9117
            # === Bootstrap phase 3/4 ===
2a9117
            # For bootstrap phase 3 uncomment all `buildorder:` lines below,
2a9117
            # for bootstrap phase 4 comment them out.
2a9117
            #
0ad66a
            python38:
0ad66a
                rationale: The main Python interpreter
0ad66a
                ref: e336cb9a1476ad581ed1ae12b51cba7e0b0ca219
2a9117
            python3x-setuptools:
2a9117
                rationale: Packaging tool
2a9117
                ref: e871d8d55c2566ebc7bad9b362261eee046b4581
0ad66a
            python-wheel:
0ad66a
                rationale: Packaging tool
0ad66a
                ref: f3f14d2af2afb451b7a29e3e0bcc51ec7f9d20cf
0ad66a
            python3x-pip:
0ad66a
                rationale: Packaging tool
0ad66a
                ref: bcedfd39e51647ff333e1e23ce830014fa856d61
0ad66a
0ad66a
            python-six:
0ad66a
                rationale: Python component
0ad66a
                ref: 5eb513dbb67d9d78ac924bafac2a244acee79db5
0ad66a
            python-py:
0ad66a
                rationale: Python component
0ad66a
                ref: 9234c89c42c53615e825e158ad5336e684070ae1
0ad66a
            python-chardet:
0ad66a
                rationale: Python component
0ad66a
                ref: 8fd25f76ad2b48f12926b078855c6cbdc0e5cdfe
0ad66a
            python-attrs:
0ad66a
                rationale: Python component
0ad66a
                ref: b5a79261179bfe1f22f6ccaf72f10d48855124a0
0ad66a
            python-pluggy:
0ad66a
                rationale: Python component
0ad66a
                ref: efd68bcb5fca5a950d553b6e25268f22715becef
0ad66a
            python-markupsafe:
0ad66a
                rationale: Python component
0ad66a
                ref: 83ad5192a6a16089aefce6bf42f04dbf35ab6e62
0ad66a
            python-pysocks:
0ad66a
                rationale: Python component
0ad66a
                ref: 1f78d0dcce716c59c354f17a8b4744cc7a6426e5
0ad66a
            python3x-pyparsing:
0ad66a
                rationale: Python component
0ad66a
                ref: 2aa5156074845410abbc856a6788b477963a9246
0ad66a
            python-atomicwrites:
0ad66a
                rationale: Python component
0ad66a
                ref: d6795fd52b4950ed87cdb0db43a8f680ff130b2b
0ad66a
            python-wcwidth:
0ad66a
                rationale: Python component
0ad66a
                ref: 48b14edc5b0744ebe35d1e4ce5cb0533b629f20e
0ad66a
            python-more-itertools:
0ad66a
                rationale: Python component
0ad66a
                ref: 47d82b6c6a3ca04cdc3b14b2c1b5321b742b1a0b
0ad66a
            python-packaging:
0ad66a
                rationale: Python component
0ad66a
                ref: f665d0bd3569478862fc243fc61f519100dfc23e
0ad66a
            pytest:
0ad66a
                rationale: Python component
0ad66a
                ref: 04936ffd6499a401831a73dace596eb6429c38a9
2a9117
            pytz:
2a9117
                rationale: Python component
2a9117
                ref: 203a8115cde6594b693023f381684404e37929cd
2a9117
            babel:
2a9117
                rationale: Python component
2a9117
                ref: 7909c2d9ed67c7f04ab8eeb429fd550594d3fa29
2a9117
            python-idna:
2a9117
                rationale: Python component
2a9117
                ref: b49aef801863e3aa54bd6c05b38fbce328bff5c3
2a9117
            python-urllib3:
2a9117
                rationale: Python component
2a9117
                ref: 60ad7e739e8cf95ff9cd11257678a1686fa2a891
2a9117
            Cython:
2a9117
                rationale: Python component
2a9117
                ref: ed38aa32f121d1d0c159e4b64b686b5331eb9063
2a9117
            python-asn1crypto:
2a9117
                rationale: Python component
2a9117
                ref: 103e578d13073ec576136b2a5c5807cba97ba5bc
2a9117
            python-ply:
2a9117
                rationale: Python component
2a9117
                ref: 353a27d1ea7efbcb9e18ecea442aee34b8d4371d
2a9117
            python-psutil:
2a9117
                rationale: Python component
2a9117
                ref: fc7287453ee0d1611d2d090724059d5bad5b0624
2a9117
            python-psycopg2:
2a9117
                rationale: Python component
2a9117
                ref: ad12a9626afdc94efea74b404af5d015af6b995a
2a9117
            mod_wsgi:
2a9117
                rationale: Python component
2a9117
                ref: 3f206188911e32d409f24bd85cca32cdf71861c0
3e0acf
2a9117
            python-requests:
2a9117
                rationale: Python component
2a9117
                ref: 26d489a7f8e5c2b2fe9c8562bd9479adcec38314
2a9117
                buildorder: 10
2a9117
            python-jinja2:
2a9117
                rationale: Python component
2a9117
                ref: be3414a5c4fd50e60b04847696c949070f29f4d7
2a9117
                buildorder: 10
2a9117
            numpy:
2a9117
                rationale: Python component
2a9117
                ref: 797db07aba9865241c28d0d791bcaaa7219b235f
2a9117
                buildorder: 10
2a9117
            PyYAML:
2a9117
                rationale: Python component
2a9117
                ref: b0d6937b50ce399bd290772f0c1acd7a85feddf6
2a9117
                buildorder: 10
2a9117
            python-pycparser:
2a9117
                rationale: Python component
2a9117
                ref: 685e11f2482a4f03c503681ea5c289515fa6cbdb
2a9117
                buildorder: 10
2a9117
            python-lxml:
2a9117
                rationale: Python component
2a9117
                ref: 2d0a5ec32a7af267074484f0d6b08be8c0ccb26e
2a9117
                buildorder: 10
3e0acf
2a9117
            python-cffi:
2a9117
                rationale: Python component
2a9117
                ref: e39eb12b57e99183d28619bf418f1c583b4747a1
2a9117
                buildorder: 20
2a9117
            scipy:
2a9117
                rationale: Python component
2a9117
                ref: b2f9e61114d82d06d2d127171c76cf5fff579600
2a9117
                buildorder: 20
2a9117
2a9117
            python-cryptography:
2a9117
                rationale: Python component
2a9117
                ref: 8230d229c145eb4377e580e1c119d32d611d2b60
2a9117
                # needs cffi
2a9117
                buildorder: 30
2a9117
2a9117
            python-PyMySQL:
2a9117
                rationale: Python component
2a9117
                ref: eca64bd007e62f39420963dfcb233fb742b48067
2a9117
                # needs cryptography
2a9117
                buildorder: 40
3e0acf
...