1146c2
document: modulemd
1146c2
version: 2
1146c2
data:
645ab7
    name: python27
645ab7
    stream: 2.7
1146c2
    summary: Python programming language, version 2.7
1146c2
    description: |-
1146c2
        This module provides the Python 2.7 interpreter and additional Python
1146c2
        packages the users might need.
1146c2
    license:
1146c2
        module:
1146c2
            - MIT
1146c2
    dependencies:
1146c2
        - buildrequires:
1146c2
              mongodb: [3.6]
1146c2
              platform: [el8]
1146c2
              # Depend on the previous build of this module so all the
1146c2
              # dependencies already exist and we don't have to build one
1146c2
              # package at a time along the dependency graph
1146c2
              python27: [2.7]
1146c2
          requires:
1146c2
              platform: [el8]
1146c2
    references:
1146c2
        community: https://www.python.org/
1146c2
        documentation: https://docs.python.org/2.7/
1146c2
    profiles:
1146c2
        common:
1146c2
            rpms:
1146c2
                - python2
1146c2
                - python2-libs
1146c2
                - python2-pip
1146c2
                - python2-setuptools
1146c2
    filter:
1146c2
        rpms:
1146c2
            - python3-attrs
1146c2
            - python3-babel
1146c2
            - python3-bson
1146c2
            - python3-chardet
1146c2
            - python3-coverage
1146c2
            - python3-Cython
1146c2
            - python3-docutils
1146c2
            - python3-idna
1146c2
            - python3-jinja2
1146c2
            - python3-markupsafe
1146c2
            - python3-mock
1146c2
            - python3-nose
1146c2
            - python3-numpy
1146c2
            - python3-numpy-doc
1146c2
            - python3-numpy-f2py
1146c2
            - python3-pluggy
1146c2
            - python3-psycopg2
1146c2
            - python3-psycopg2-debug
1146c2
            - python3-psycopg2-tests
1146c2
            - python3-py
1146c2
            - python3-pygments
1146c2
            - python3-pymongo
1146c2
            - python3-pymongo-gridfs
1146c2
            - python3-PyMySQL
1146c2
            - python3-pysocks
1146c2
            - python3-pytest
1146c2
            - python3-pytest-mock
1146c2
            - python3-pytz
1146c2
            - python3-PyYAML
1146c2
            - python3-requests
1146c2
            - python3-scipy
1146c2
            - python3-setuptools_scm
1146c2
            - python3-six
1146c2
            - python3-sqlalchemy
1146c2
            - python3-urllib3
1146c2
            - python3-virtualenv
1146c2
    api:
1146c2
        rpms:
1146c2
            - babel
1146c2
            - python-sqlalchemy-doc
1146c2
            - python2
1146c2
            - python2-attrs
1146c2
            - python2-babel
1146c2
            - python2-backports
1146c2
            - python2-backports-ssl_match_hostname
1146c2
            - python2-bson
1146c2
            - python2-chardet
1146c2
            - python2-coverage
1146c2
            - python2-Cython
1146c2
            - python2-debug
1146c2
            - python2-devel
1146c2
            - python2-dns
1146c2
            - python2-docs
1146c2
            - python2-docs-info
1146c2
            - python2-docutils
1146c2
            - python2-funcsigs
1146c2
            - python2-idna
1146c2
            - python2-ipaddress
1146c2
            - python2-jinja2
1146c2
            - python2-libs
1146c2
            - python2-lxml
1146c2
            - python2-markupsafe
1146c2
            - python2-mock
1146c2
            - python2-nose
1146c2
            - python2-numpy
1146c2
            - python2-numpy-doc
1146c2
            - python2-numpy-f2py
1146c2
            - python2-pip
1146c2
            - python2-pluggy
1146c2
            - python2-psycopg2
1146c2
            - python2-psycopg2-debug
1146c2
            - python2-psycopg2-tests
1146c2
            - python2-py
1146c2
            - python2-pygments
1146c2
            - python2-pymongo
1146c2
            - python2-pymongo-gridfs
1146c2
            - python2-PyMySQL
1146c2
            - python2-pysocks
1146c2
            - python2-pytest
1146c2
            - python2-pytest-mock
1146c2
            - python2-pytz
1146c2
            - python2-pyyaml
1146c2
            - python2-requests
1146c2
            - python2-rpm-macros
1146c2
            - python2-scipy
1146c2
            - python2-setuptools
1146c2
            - python2-setuptools_scm
1146c2
            - python2-six
1146c2
            - python2-sqlalchemy
1146c2
            - python2-test
1146c2
            - python2-tkinter
1146c2
            - python2-tools
1146c2
            - python2-urllib3
1146c2
            - python2-virtualenv
1146c2
            - python2-wheel
1146c2
    buildopts:
1146c2
        rpms:
1146c2
            macros: |
1146c2
                # Note that we cannot disable building of all Python 3 subpackages,
1146c2
                # because python2-devel (needed to build all Python 2 packages)
1146c2
                # has a runtime dependency on python3-rpm-generators, and that
1146c2
                # package requires python3-setuptools at runtime. By rebuilding
1146c2
                # python-setuptools SRPM with only python2, we overshadow the
1146c2
                # already built python3 subpackage and it is no longer
1146c2
                # available for python3-rpm-generators when building python-pip
1146c2
                # (or any other Python package).
1146c2
                # We can disable Python 3 in all packages but ...
1146c2
                %_without_python3 1
1146c2
                # ... we have to have a way to enable some of them as described
1146c2
                # above. With this macro, we can add some module-specific
1146c2
                # conditions for python3-* subpackages and other special cases.
1146c2
                # %_with_python27_module 1
1146c2
1146c2
                # for: python-jinja2
1146c2
                %_with_python2 1
1146c2
1146c2
                # to solve circular dependency between pytest and [attrs, pluggy]
1146c2
                # %_without_tests 1
1146c2
    components:
1146c2
        rpms:
1146c2
            babel:
1146c2
                rationale: Tools for internationalizing Python applications
645ab7
                ref: stream-2.5.1-rhel-8.0.0
1146c2
            Cython:
1146c2
                rationale:
1146c2
                    Language for writing Python extension modules.
1146c2
                    Build dependency of numpy and PyYAML
645ab7
                ref: stream-0.28.1-rhel-8.0.0
1146c2
            numpy:
1146c2
                rationale: A fast multidimensional array facility for Python
645ab7
                ref: stream-1.14.2-rhel-8.0.0
1146c2
            pytest:
1146c2
                rationale: Simple powerful testing with Python
645ab7
                ref: stream-3.4.2-rhel-8.0.0
1146c2
            python2:
1146c2
                rationale: Main Python language interpreter
645ab7
                ref: stream-2.7-rhel-8.0.0
1146c2
            python2-pip:
1146c2
                rationale: Python Packaging ecosystem
645ab7
                ref: stream-9.0.3-rhel-8.0.0
1146c2
            python2-rpm-macros:
1146c2
                rationale: Python 2 RPM macros - dependency of python2-devel
645ab7
                ref: stream-python27-rhel-8.0.0
1146c2
            python2-setuptools:
1146c2
                rationale: Python Packaging ecosystem
645ab7
                ref: stream-39.0.1-rhel-8.0.0
1146c2
            python-PyMySQL:
1146c2
                rationale: Python adapter for the MySQL/MariaDB databases
645ab7
                ref: stream-0.8.0-rhel-8.0.0
1146c2
            python-attrs:
1146c2
                rationale: Python attributes without boilerplate
645ab7
                ref: stream-17.4.0-rhel-8.0.0
1146c2
            python-backports:
1146c2
                rationale: Namespace for backported Python features
645ab7
                ref: stream-1.0-rhel-8.0.0
1146c2
            python-backports-ssl_match_hostname:
1146c2
                rationale:
1146c2
                    The ssl.match_hostname() function from Python 3.
1146c2
                    Dependency of urllib3/requests.
645ab7
                ref: stream-3.5.0.1-rhel-8.0.0
1146c2
            python-chardet:
1146c2
                rationale:
1146c2
                    Character encoding auto-detection in Python.
1146c2
                    Dependency of requests.
645ab7
                ref: stream-3.0.4-rhel-8.0.0
1146c2
            python-coverage:
1146c2
                rationale: Code coverage testing module for Python
645ab7
                ref: stream-4.5.1-rhel-8.0.0
1146c2
            python-dns:
1146c2
                rationale: DNS toolkit for Python. Useful package for IPA and mailman.
645ab7
                ref: stream-1.15.0-rhel-8.0.0
1146c2
            python-docutils:
1146c2
                rationale: System for processing plaintext documentation
645ab7
                ref: stream-0.14-rhel-8.0.0
1146c2
            python-funcsigs:
1146c2
                rationale:
1146c2
                    Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+.
1146c2
                    Dependency of Pytest and mock.
645ab7
                ref: stream-1.0.2-rhel-8.0.0
1146c2
            python-idna:
1146c2
                rationale:
1146c2
                    Internationalized Domain Names in Applications (IDNA).
1146c2
                    Dependency of requests.
645ab7
                ref: stream-2.5-rhel-8.0.0
1146c2
            python-ipaddress:
1146c2
                rationale:
1146c2
                    Port of the python 3.3+ ipaddress module to 2.6+.
1146c2
                    Dependency of urllib3/requests.
645ab7
                ref: stream-1.0.18-rhel-8.0.0
1146c2
            python-jinja2:
1146c2
                rationale: General purpose template engine
645ab7
                ref: stream-2.10-rhel-8.0.0
1146c2
            python-markupsafe:
1146c2
                rationale:
1146c2
                    Implements a XML/HTML/XHTML Markup safe string for Python
645ab7
                ref: stream-0.23-rhel-8.0.0
1146c2
            python-mock:
1146c2
                rationale: A Python Mocking and Patching Library for Testing
645ab7
                ref: stream-2.0.0-rhel-8.0.0
1146c2
            python-nose:
1146c2
                rationale: Discovery-based unit test extension for Python
645ab7
                ref: stream-1.3.7-rhel-8.0.0
1146c2
            python-pluggy:
1146c2
                rationale: The plugin manager stripped of pytest specific details
645ab7
                ref: stream-0.6.0-rhel-8.0.0
1146c2
            python-psycopg2:
1146c2
                rationale: Python adapter for the PostgreSQL database
645ab7
                ref: stream-2.7.4-rhel-8.0.0
1146c2
            python-py:
1146c2
                rationale: Library with cross-python path, ini-parsing, io, code, log facilities
645ab7
                ref: stream-1.5.3-rhel-8.0.0
1146c2
            python-pygments:
1146c2
                rationale: Syntax highlighting engine written in Python
645ab7
                ref: stream-2.2.0-rhel-8.0.0
1146c2
            python-pymongo:
1146c2
                # Package maintainer: mskalick
1146c2
                rationale: Python driver for MongoDB
645ab7
                ref: stream-3.6.1-rhel-8.0.0
1146c2
            python-pysocks:
1146c2
                rationale: A Python SOCKS client module. Dependency of urllib3/requests.
645ab7
                ref: stream-1.6.8-rhel-8.0.0
1146c2
            python-pytest-mock:
1146c2
                rationale:
1146c2
                    Thin-wrapper around the mock package for easier use with py.test.
1146c2
                    Build dependency of requests.
645ab7
                ref: stream-1.9.0-rhel-8.0.0
1146c2
            python-requests:
1146c2
                rationale: HTTP library, written in Python, for human beings
645ab7
                ref: stream-2.20.0-rhel-8.0.0
1146c2
            python-setuptools_scm:
1146c2
                rationale:
1146c2
                    Blessed package to manage your versions by scm tags.
1146c2
                    Build dependency of pytest and pytest-mock.
645ab7
                ref: stream-1.15.7-rhel-8.0.0
1146c2
            python-six:
1146c2
                rationale: Python 2 and 3 compatibility utilities
645ab7
                ref: stream-1.11.0-rhel-8.0.0
1146c2
            python-sqlalchemy:
1146c2
                rationale: Modular and flexible ORM library for python
645ab7
                ref: stream-1.3.2-rhel-8.0.0
1146c2
            python-urllib3:
1146c2
                rationale:
1146c2
                    Python HTTP library with thread-safe connection pooling and file post.
1146c2
                    Dependency of requests.
645ab7
                ref: stream-1.23-rhel-8.0.0
1146c2
            python-virtualenv:
1146c2
                rationale: Tool to create isolated Python environments
645ab7
                ref: stream-15.1.0-rhel-8.0.0
1146c2
            python-wheel:
1146c2
                rationale: Used for unbundling of pip and setuptools
645ab7
                ref: stream-0.30.0-rhel-8.0.0
1146c2
            pytz:
1146c2
                rationale: Runtime requires of babel, and python2-babel
645ab7
                ref: stream-2017.2-rhel-8.0.0
1146c2
            PyYAML:
1146c2
                rationale: YAML parser and emitter for Python
645ab7
                ref: stream-3.12-rhel-8.0.0
1146c2
            scipy:
1146c2
                rationale: Scientific Tools for Python
645ab7
                ref: stream-1.0.0-rhel-8.0.0
1146c2
            python-lxml:
1146c2
                rationale: XML processing library
645ab7
                ref: stream-4.2.3-rhel-8.0.0
1146c2
            python-docs:
1146c2
                rationale: Documentation for Python
645ab7
                ref: stream-2.7-rhel-8.0.0