commit 1d192ba7d9c2397f5c3b0b38b5d3c410da344a10 Author: MSVSphere Packaging Team Date: Fri May 24 13:38:52 2024 +0300 import python39-3.9_bootstrap-820230808101511.17377f89 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/.python39.metadata b/.python39.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/modulemd.src.txt b/SOURCES/modulemd.src.txt new file mode 100644 index 0000000..2784617 --- /dev/null +++ b/SOURCES/modulemd.src.txt @@ -0,0 +1,308 @@ +--- +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] + + # 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: [4.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 + filter: + rpms: + # List of packages for CRB - see the 3.9 and 3.9-rhel-* branches + api: + rpms: + # List of packages for AppStream - see the 3.9 and 3.9-rhel-* branches + buildopts: + rpms: + # === 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 + + # === Bootstrap phase 2 === + # + # %python3_pkgversion 39 + # # setuptools, pip, ... + # %_without_tests 1 + + # === Bootstrap phase 3 === + # + # %python3_pkgversion 39 + # # scipy needs pybind11 to build and pybind11 needs scipy for tests + # %_without_tests 1 + + + # 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 4 === + # + %python3_pkgversion 39 + + components: + rpms: + # === Bootstrap phase 1 === + # + # python39: + # rationale: The main Python interpreter + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 10 + # python3x-setuptools: + # rationale: Packaging tool + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 20 + # python-wheel: + # rationale: Packaging tool + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 30 + # python3x-pip: + # rationale: Packaging tool + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 40 + + + # === Bootstrap phase 2 === + # + # python3x-setuptools: + # rationale: Packaging tool + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 10 + # python3x-pyparsing: + # rationale: Python component + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 20 + # python39: + # rationale: The main Python interpreter + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 30 + # python-wheel: + # rationale: Packaging tool + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 40 + # python3x-pip: + # rationale: Packaging tool + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 40 + # python3x-six: + # rationale: Python component + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 40 + # python-py: + # rationale: Python component + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 40 + # python-chardet: + # rationale: Python component + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 40 + # python-attrs: + # rationale: Python component + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 40 + # python-pluggy: + # rationale: Python component + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 40 + # python-pysocks: + # rationale: Python component + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 40 + # python-wcwidth: + # rationale: Python component + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 40 + # python-packaging: + # rationale: Python component + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 40 + # python-toml: + # rationale: Python component + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 40 + # python-iniconfig: + # rationale: Python component + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 40 + # python-more-itertools: + # rationale: Python component + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 50 + # pytest: + # rationale: Python component + # ref: stream-python39-3.9-rhel-8.9.0 + # buildorder: 60 + + + # === Bootstrap phase 3/4 === + # For bootstrap phase 3 uncomment all `buildorder:` lines below, + # for bootstrap phase 4 comment them out. + # + python3x-setuptools: + rationale: Packaging tool + ref: changed/i8c-stream-3.9_bootstrap/python3x-setuptools-50.3.2-4.module_el8+629+901725d5 + python3x-pyparsing: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python3x-pyparsing-2.4.7-5.module_el8+629+901725d5 + python39: + rationale: The main Python interpreter + ref: changed/i8c-stream-3.9_bootstrap/python39-3.9.17-1.module_el8+629+901725d5 + python-wheel: + rationale: Packaging tool + ref: changed/i8c-stream-3.9_bootstrap/python-wheel-0.35.1-4.module_el8+629+901725d5 + python3x-pip: + rationale: Packaging tool + ref: changed/i8c-stream-3.9_bootstrap/python3x-pip-20.2.4-7.module_el8+629+901725d5 + + python3x-six: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python3x-six-1.15.0-3.module_el8+629+901725d5 + python-py: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-py-1.10.0-1.module_el8+629+901725d5 + python-chardet: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-chardet-3.0.4-19.module_el8+629+901725d5 + python-attrs: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-attrs-20.3.0-2.module_el8+629+901725d5 + python-pluggy: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-pluggy-0.13.1-3.module_el8+629+901725d5 + python-pysocks: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-pysocks-1.7.1-4.module_el8+629+901725d5 + python-wcwidth: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-wcwidth-0.2.5-3.module_el8+629+901725d5 + python-packaging: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-packaging-20.4-4.module_el8+629+901725d5 + python-toml: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-toml-0.10.1-5.module_el8+629+901725d5 + python-iniconfig: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-iniconfig-1.1.1-2.module_el8+629+901725d5 + python-more-itertools: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-more-itertools-8.5.0-2.module_el8+629+901725d5 + pytest: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/pytest-6.0.2-2.module_el8+629+901725d5 + + python-idna: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-idna-2.10-3.module_el8+631+48a8c41a + python-urllib3: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-urllib3-1.25.10-4.module_el8+631+48a8c41a + Cython: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/Cython-0.29.21-5.module_el8+631+48a8c41a + python-ply: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-ply-3.11-10.module_el8+631+48a8c41a + python-psutil: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-psutil-5.8.0-4.module_el8+631+48a8c41a + python-psycopg2: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-psycopg2-2.8.6-2.module_el8+631+48a8c41a + mod_wsgi: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/mod_wsgi-4.7.1-7.module_el8+631+48a8c41a + python-requests: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-requests-2.25.0-3.module_el8+631+48a8c41a + # buildorder: 10 + numpy: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/numpy-1.19.4-3.module_el8+631+48a8c41a + # buildorder: 10 + PyYAML: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/PyYAML-5.4.1-1.module_el8+631+48a8c41a + # buildorder: 10 + python-pycparser: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-pycparser-2.20-3.module_el8+631+48a8c41a + # buildorder: 10 + python-lxml: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-lxml-4.6.5-1.module_el8+631+48a8c41a + # buildorder: 10 + python-cffi: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-cffi-1.14.3-2.module_el8+631+48a8c41a + # buildorder: 20 + pybind11: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/pybind11-2.7.1-1.module_el8+631+48a8c41a + # needs numpy + # buildorder: 20 + scipy: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/scipy-1.5.4-5.module_el8+631+48a8c41a + # needs pybind11 + # buildorder: 30 + python-cryptography: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-cryptography-3.3.1-2.module_el8+631+48a8c41a + # needs cffi + # buildorder: 30 + python-PyMySQL: + rationale: Python component + ref: changed/i8c-stream-3.9_bootstrap/python-PyMySQL-0.10.1-2.module_el8+631+48a8c41a + # needs cryptography + # buildorder: 40 +...