1a2e81
---
1a2e81
document: modulemd
1a2e81
version: 2
1a2e81
data:
1a2e81
  name: python36
1a2e81
  stream: "3.6"
1a2e81
  summary: Python programming language, version 3.6
1a2e81
  description: >-
1a2e81
    This module gives users access to the internal Python 3.6 in RHEL8, as
1a2e81
1a2e81
    well as provides some additional Python packages the users might need.
1a2e81
1a2e81
    In addition to these you can install any python3-* package available
1a2e81
1a2e81
    in RHEL and use it with Python from this module.
1a2e81
  license:
1a2e81
    module:
1a2e81
    - MIT
1a2e81
  dependencies:
1a2e81
  - buildrequires:
1a2e81
      mongodb: [3.6]
1a2e81
      platform: [el8.4.0]
1a2e81
    requires:
1a2e81
      platform: [el8]
1a2e81
  references:
1a2e81
    community: https://www.python.org/
1a2e81
    documentation: https://docs.python.org/3.6/
1a2e81
  profiles:
1a2e81
    build:
1a2e81
      rpms:
1a2e81
      - python36
1a2e81
      - python36-devel
1a2e81
      - python36-rpm-macros
1a2e81
    common:
1a2e81
      rpms:
1a2e81
      - python36
1a2e81
  api:
1a2e81
    rpms:
1a2e81
    - python-sqlalchemy-doc
1a2e81
    - python-virtualenv-doc
1a2e81
    - python3-PyMySQL
1a2e81
    - python3-bson
1a2e81
    - python3-distro
1a2e81
    - python3-docs
1a2e81
    - python3-docutils
1a2e81
    - python3-nose
1a2e81
    - python3-pygments
1a2e81
    - python3-pymongo
1a2e81
    - python3-pymongo-gridfs
1a2e81
    - python3-scipy
1a2e81
    - python3-sqlalchemy
1a2e81
    - python3-virtualenv
1a2e81
    - python3-wheel
1a2e81
    - python36
1a2e81
    - python36-debug
1a2e81
    - python36-devel
1a2e81
    - python36-rpm-macros
1a2e81
  filter:
1a2e81
    rpms:
1a2e81
    - python2-PyMySQL
1a2e81
    - python2-docutils
1a2e81
    - python2-nose
1a2e81
    - python2-pygments
1a2e81
    - python2-scipy
1a2e81
    - python2-sqlalchemy
1a2e81
    - python2-virtualenv
1a2e81
  buildopts:
1a2e81
    rpms:
1a2e81
      macros: |
1a2e81
        %_without_python2 1
1a2e81
1a2e81
        # For packages depending on python36, so that they
1a2e81
        # BuildRequire python36-devel/debug/rpm-macros instead of python3-*
1a2e81
        #
1a2e81
        # This won't be necessary for python37 and later. There we can
1a2e81
        # set %{python3_pkgversion}, because all packages will need to
1a2e81
        # have the pythonXY prefix. Whereas for Python 3.6 the packages
1a2e81
        # are split between non-modular RHEL and the python36 module,
1a2e81
        # and so it was easier and less confusing to keep the prefix at
1a2e81
        # python3- except for the devel/debug/rpm/macros packages.
1a2e81
        %_with_python36_module 1
1a2e81
  components:
1a2e81
    rpms:
1a2e81
      python-PyMySQL:
1a2e81
        rationale: Python adapter for the MySQL/MariaDB databases
1a2e81
        ref: dc5bc3753d271278f5da87a774ce58e924ed66b8
1a2e81
        buildorder: 20
1a2e81
      python-distro:
1a2e81
        rationale: Linux Distribution - a Linux OS platform information API
1a2e81
        ref: 63623f372cf98cf3028cf75da5ddd244b68d5243
1a2e81
        buildorder: 20
1a2e81
      python-docs:
1a2e81
        rationale: Documentation for Python
1a2e81
        ref: f375eb7989b9ee6d40d54f11a6cda5db291791cb
1a2e81
        buildorder: 20
1a2e81
      python-docutils:
1a2e81
        rationale: System for processing plaintext documentation
1a2e81
        ref: a44e1e78ba92abcf8647fabedd5b15ced40bf75a
1a2e81
        buildorder: 20
1a2e81
      python-nose:
1a2e81
        rationale: Discovery-based unit test extension for Python
1a2e81
        ref: 3e7325d0ec51a72d8e3a2df01bc8c16f3d1db749
1a2e81
        buildorder: 20
1a2e81
      python-pygments:
1a2e81
        rationale: Syntax highlighting engine written in Python
1a2e81
        ref: 1f11ed1fcf566ba34383a444948c2be240f5b61f
1a2e81
        buildorder: 20
1a2e81
      python-pymongo:
1a2e81
        rationale: Python driver for MongoDB
1a2e81
        ref: e667381509ef781725fdd44d38cdcffb70683217
1a2e81
        buildorder: 20
1a2e81
      python-sqlalchemy:
1a2e81
        rationale: Modular and flexible ORM library for python
1a2e81
        ref: 8ee07229bdc057fd007cb042ba2641cd26f54419
1a2e81
        buildorder: 20
1a2e81
      python-virtualenv:
1a2e81
        rationale: Tool to create isolated Python environments
1a2e81
        ref: 1148d32218b7ef6802aa6c86dc59bac230cfda48
1a2e81
        buildorder: 30
1a2e81
      python-wheel:
1a2e81
        rationale: Built-package format for Python
1a2e81
        ref: 8a5740af8dc291b9cb7985d333844e7453ef01fd
1a2e81
        buildorder: 20
1a2e81
      python36:
1a2e81
        rationale: Contains the symlink to the platform-python interpreter. Also contains
1a2e81
          python36-rpm-macros needed to build the remaining packages.
1a2e81
        ref: 3b8b351fe95472cfc420552689f991d7a30c4641
1a2e81
        buildorder: 10
1a2e81
      scipy:
1a2e81
        rationale: Scientific Tools for Python
1a2e81
        ref: 83e614bcad765a900c94c440a07a7645ddceb750
1a2e81
        buildorder: 20
1a2e81
...