50f432
---
50f432
document: modulemd
50f432
version: 2
50f432
data:
50f432
  name: python27
50f432
  stream: "2.7"
50f432
  summary: Python programming language, version 2.7
50f432
  description: >-
50f432
    This module provides the Python 2.7 interpreter and additional Python
50f432
50f432
    packages the users might need.
50f432
  license:
50f432
    module:
50f432
    - MIT
50f432
  dependencies:
50f432
  - buildrequires:
50f432
      platform: [el8.5.0]
50f432
      python27: [2.7]
50f432
    requires:
50f432
      platform: [el8]
50f432
  references:
50f432
    community: https://www.python.org/
50f432
    documentation: https://docs.python.org/2.7/
50f432
  profiles:
50f432
    common:
50f432
      rpms:
50f432
      - python2
50f432
      - python2-libs
50f432
      - python2-pip
50f432
      - python2-setuptools
50f432
  api:
50f432
    rpms:
50f432
    - babel
50f432
    - python-sqlalchemy-doc
50f432
    - python2
50f432
    - python2-Cython
50f432
    - python2-PyMySQL
50f432
    - python2-attrs
50f432
    - python2-babel
50f432
    - python2-backports
50f432
    - python2-backports-ssl_match_hostname
50f432
    - python2-bson
50f432
    - python2-chardet
50f432
    - python2-coverage
50f432
    - python2-debug
50f432
    - python2-devel
50f432
    - python2-dns
50f432
    - python2-docs
50f432
    - python2-docs-info
50f432
    - python2-docutils
50f432
    - python2-funcsigs
50f432
    - python2-idna
50f432
    - python2-ipaddress
50f432
    - python2-jinja2
50f432
    - python2-libs
50f432
    - python2-lxml
50f432
    - python2-markupsafe
50f432
    - python2-mock
50f432
    - python2-nose
50f432
    - python2-numpy
50f432
    - python2-numpy-doc
50f432
    - python2-numpy-f2py
50f432
    - python2-pip
50f432
    - python2-pluggy
50f432
    - python2-psycopg2
50f432
    - python2-psycopg2-debug
50f432
    - python2-psycopg2-tests
50f432
    - python2-py
50f432
    - python2-pygments
50f432
    - python2-pymongo
50f432
    - python2-pymongo-gridfs
50f432
    - python2-pysocks
50f432
    - python2-pytest
50f432
    - python2-pytest-mock
50f432
    - python2-pytz
50f432
    - python2-pyyaml
50f432
    - python2-requests
50f432
    - python2-rpm-macros
50f432
    - python2-scipy
50f432
    - python2-setuptools
50f432
    - python2-setuptools_scm
50f432
    - python2-six
50f432
    - python2-sqlalchemy
50f432
    - python2-test
50f432
    - python2-tkinter
50f432
    - python2-tools
50f432
    - python2-urllib3
50f432
    - python2-virtualenv
50f432
    - python2-wheel
50f432
  filter:
50f432
    rpms:
50f432
    - python3-Cython
50f432
    - python3-PyMySQL
50f432
    - python3-PyYAML
50f432
    - python3-attrs
50f432
    - python3-babel
50f432
    - python3-bson
50f432
    - python3-chardet
50f432
    - python3-coverage
50f432
    - python3-docutils
50f432
    - python3-idna
50f432
    - python3-jinja2
50f432
    - python3-markupsafe
50f432
    - python3-mock
50f432
    - python3-nose
50f432
    - python3-numpy
50f432
    - python3-numpy-doc
50f432
    - python3-numpy-f2py
50f432
    - python3-pluggy
50f432
    - python3-psycopg2
50f432
    - python3-psycopg2-debug
50f432
    - python3-psycopg2-tests
50f432
    - python3-py
50f432
    - python3-pygments
50f432
    - python3-pymongo
50f432
    - python3-pymongo-gridfs
50f432
    - python3-pysocks
50f432
    - python3-pytest
50f432
    - python3-pytest-mock
50f432
    - python3-pytz
50f432
    - python3-requests
50f432
    - python3-scipy
50f432
    - python3-setuptools_scm
50f432
    - python3-six
50f432
    - python3-sqlalchemy
50f432
    - python3-urllib3
50f432
    - python3-virtualenv
50f432
  buildopts:
50f432
    rpms:
50f432
      macros: |
50f432
        # Note that we cannot disable building of all Python 3 subpackages,
50f432
        # because python2-devel (needed to build all Python 2 packages)
50f432
        # has a runtime dependency on python3-rpm-generators, and that
50f432
        # package requires python3-setuptools at runtime. By rebuilding
50f432
        # python-setuptools SRPM with only python2, we overshadow the
50f432
        # already built python3 subpackage and it is no longer
50f432
        # available for python3-rpm-generators when building python-pip
50f432
        # (or any other Python package).
50f432
        # We can disable Python 3 in all packages but ...
50f432
        %_without_python3 1
50f432
        # ... we have to have a way to enable some of them as described
50f432
        # above. With this macro, we can add some module-specific
50f432
        # conditions for python3-* subpackages and other special cases.
50f432
        # %_with_python27_module 1
50f432
50f432
        # for: python-jinja2
50f432
        %_with_python2 1
50f432
50f432
        # to solve circular dependency between pytest and [attrs, pluggy]
50f432
        # %_without_tests 1
50f432
  components:
50f432
    rpms:
50f432
      Cython:
50f432
        rationale: Language for writing Python extension modules. Build dependency
50f432
          of numpy and PyYAML
50f432
        ref: 1a2e8d49788c389313af6b4ead4e2deddd2a3d3d
50f432
      PyYAML:
50f432
        rationale: YAML parser and emitter for Python
50f432
        ref: 5a825ac8b7dcf5e8f8e654275c6d96e9d4a07c4f
50f432
      babel:
50f432
        rationale: Tools for internationalizing Python applications
50f432
        ref: dfb015a8c277aef2ee0bbcd39945041416422e85
50f432
      numpy:
50f432
        rationale: A fast multidimensional array facility for Python
50f432
        ref: ace7d1671b91d52b9ca61c7020f46d50d552adb1
50f432
      pytest:
50f432
        rationale: Simple powerful testing with Python
50f432
        ref: bf537c83f44041bceb9dcfb8526a84204a935646
50f432
      python-PyMySQL:
50f432
        rationale: Python adapter for the MySQL/MariaDB databases
50f432
        ref: fa30f3aac48883391bacc0774ddbef5e724dfe79
50f432
      python-attrs:
50f432
        rationale: Python attributes without boilerplate
50f432
        ref: fe428e3002127fbbc3d12619403e09f7e4db43a0
50f432
      python-backports:
50f432
        rationale: Namespace for backported Python features
50f432
        ref: aee0ff7c10c65c81a58890b8558a22572a790805
50f432
      python-backports-ssl_match_hostname:
50f432
        rationale: The ssl.match_hostname() function from Python 3. Dependency of
50f432
          urllib3/requests.
50f432
        ref: f6c4e17d5134a59120462be57ae42a476356b4ba
50f432
      python-chardet:
50f432
        rationale: Character encoding auto-detection in Python. Dependency of requests.
50f432
        ref: 776bbd2cd4e94bceb523065bb57ce75f84767db0
50f432
      python-coverage:
50f432
        rationale: Code coverage testing module for Python
50f432
        ref: 850659b56fc74125b92211724bd0a21008bdf5a1
50f432
      python-dns:
50f432
        rationale: DNS toolkit for Python. Useful package for IPA and mailman.
50f432
        ref: 734697446fbaa2e83a6fba824fcf9accff0cfddf
50f432
      python-docs:
50f432
        rationale: Documentation for Python
50f432
        ref: fb09efaa91410b9389b2dfa9e9ce8a7f5d5c0b34
50f432
      python-docutils:
50f432
        rationale: System for processing plaintext documentation
50f432
        ref: a44e1e78ba92abcf8647fabedd5b15ced40bf75a
50f432
      python-funcsigs:
50f432
        rationale: Python function signatures from PEP362 for Python 2.6, 2.7 and
50f432
          3.2+. Dependency of Pytest and mock.
50f432
        ref: f81788e874d9f30743954be7e5aaec5887604d49
50f432
      python-idna:
50f432
        rationale: Internationalized Domain Names in Applications (IDNA). Dependency
50f432
          of requests.
50f432
        ref: 011aaa788b2ceee083685acf232b6f9d4b1ca3b3
50f432
      python-ipaddress:
50f432
        rationale: Port of the python 3.3+ ipaddress module to 2.6+. Dependency of
50f432
          urllib3/requests.
50f432
        ref: e14629e44a7d5c9e36205206cac085a6bf6928b8
50f432
      python-jinja2:
50f432
        rationale: General purpose template engine
50f432
        ref: 7e9da63ebb7c845f703e2c5e55015555019e41d3
50f432
      python-lxml:
50f432
        rationale: XML processing library
50f432
        ref: 0cff8e79894eac1ee8cc0d5992f4050924a2fc42
50f432
      python-markupsafe:
50f432
        rationale: Implements a XML/HTML/XHTML Markup safe string for Python
50f432
        ref: 00e9bb8ea1541210a0c005524c0de36f9f50f0f9
50f432
      python-mock:
50f432
        rationale: A Python Mocking and Patching Library for Testing
50f432
        ref: 60ca3282866a5ae05e51283afd0b860cfb064042
50f432
      python-nose:
50f432
        rationale: Discovery-based unit test extension for Python
50f432
        ref: 7e005bc400dff9a0e36a40ef5d636d596107f10f
50f432
      python-pluggy:
50f432
        rationale: The plugin manager stripped of pytest specific details
50f432
        ref: cdab894d615e058f719b4717c9d553d4d5527c57
50f432
      python-psycopg2:
50f432
        rationale: Python adapter for the PostgreSQL database
528c0a
        ref: df457fda4af5ca60cdb2fc9b568c8451ea18ea73
50f432
      python-py:
50f432
        rationale: Library with cross-python path, ini-parsing, io, code, log facilities
50f432
        ref: 3d1d3822ae5c76d11c645b8c8da44d6e293953b5
50f432
      python-pygments:
50f432
        rationale: Syntax highlighting engine written in Python
50f432
        ref: 5864f12d4143dab9a1c8eb617bd6f8f521b8fbf7
50f432
      python-pymongo:
50f432
        rationale: Python driver for MongoDB
50f432
        ref: b72aa52989c3fcf564856f5e2abdb6de3d63a929
50f432
      python-pysocks:
50f432
        rationale: A Python SOCKS client module. Dependency of urllib3/requests.
50f432
        ref: 4798bdc0cf6466b65f9194edf6135d2e3c834b24
50f432
      python-pytest-mock:
50f432
        rationale: Thin-wrapper around the mock package for easier use with py.test.
50f432
          Build dependency of requests.
50f432
        ref: 8e0501b6c9f2a03200a3d17f0ff15b8e6508f4ff
50f432
      python-requests:
50f432
        rationale: HTTP library, written in Python, for human beings
50f432
        ref: b9c088e4f22fd18f90682d593d9e5b0be48ed66f
50f432
      python-setuptools_scm:
50f432
        rationale: Blessed package to manage your versions by scm tags. Build dependency
50f432
          of pytest and pytest-mock.
50f432
        ref: 613aec49c31ebdfae7f4bb52da82cef2383b986e
50f432
      python2-six:
50f432
        rationale: Python 2 and 3 compatibility utilities
50f432
        ref: 2d6e6b7702f2d747d691b6858ba7b7dcf6aca6bb
50f432
      python-sqlalchemy:
50f432
        rationale: Modular and flexible ORM library for python
50f432
        ref: 8ee07229bdc057fd007cb042ba2641cd26f54419
50f432
      python-urllib3:
50f432
        rationale: Python HTTP library with thread-safe connection pooling and file
50f432
          post. Dependency of requests.
50f432
        ref: 42bff1566b1becad1f1153701583ee7bfa5daa61
50f432
      python-virtualenv:
50f432
        rationale: Tool to create isolated Python environments
50f432
        ref: 4a311fc276c8a0314d2662fbfc3d663d13128fda
50f432
      python-wheel:
50f432
        rationale: Used for unbundling of pip and setuptools
50f432
        ref: 29102d871b86033468490914db98d463f980a0c4
50f432
      python2:
50f432
        rationale: Main Python language interpreter
50f432
        ref: 96c61998f8785cd758f401b930b8b799c3ce0ac1
50f432
      python2-pip:
50f432
        rationale: Python Packaging ecosystem
50f432
        ref: ed50e1522ff778b9f787d09b1c84059a603e9c81
50f432
      python2-rpm-macros:
50f432
        rationale: Python 2 RPM macros - dependency of python2-devel
50f432
        ref: 33b77f25cae19ef6532e40df5927e95112df7a0d
50f432
      python2-setuptools:
50f432
        rationale: Python Packaging ecosystem
50f432
        ref: d4f786f49244af1ce5b6661761e909fa5c8af15a
50f432
      pytz:
50f432
        rationale: Runtime requires of babel, and python2-babel
50f432
        ref: ddba47469a779aa14b7089542a7d7e259b9d5967
50f432
      scipy:
50f432
        rationale: Scientific Tools for Python
50f432
        ref: 52b1965ae485d1737a606f795094d1ca10b725fe
50f432
...