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