document: modulemd
version: 2
data:
name: python27
stream: 2.7
summary: Python programming language, version 2.7
description: |-
This module provides the Python 2.7 interpreter and additional Python
packages the users might need.
license:
module:
- MIT
dependencies:
- buildrequires:
mongodb: [3.6]
platform: [el8.0.0]
python27: [2.7]
requires:
platform: [el8]
references:
community: https://www.python.org/
documentation: https://docs.python.org/2.7/
profiles:
common:
rpms:
- python2
- python2-libs
- python2-pip
- python2-setuptools
filter:
rpms:
- python3-attrs
- python3-babel
- python3-bson
- python3-chardet
- python3-coverage
- python3-Cython
- python3-docutils
- python3-idna
- python3-jinja2
- python3-markupsafe
- python3-mock
- python3-nose
- python3-numpy
- python3-numpy-doc
- python3-numpy-f2py
- python3-pluggy
- python3-psycopg2
- python3-psycopg2-debug
- python3-psycopg2-tests
- python3-py
- python3-pygments
- python3-pymongo
- python3-pymongo-gridfs
- python3-PyMySQL
- python3-pysocks
- python3-pytest
- python3-pytest-mock
- python3-pytz
- python3-PyYAML
- python3-requests
- python3-scipy
- python3-setuptools_scm
- python3-six
- python3-sqlalchemy
- python3-urllib3
- python3-virtualenv
api:
rpms:
- babel
- python-sqlalchemy-doc
- python2
- python2-attrs
- python2-babel
- python2-backports
- python2-backports-ssl_match_hostname
- python2-bson
- python2-chardet
- python2-coverage
- python2-Cython
- python2-debug
- python2-devel
- python2-dns
- python2-docs
- python2-docs-info
- python2-docutils
- python2-funcsigs
- python2-idna
- python2-ipaddress
- python2-jinja2
- python2-libs
- python2-lxml
- python2-markupsafe
- python2-mock
- python2-nose
- python2-numpy
- python2-numpy-doc
- python2-numpy-f2py
- python2-pip
- python2-pluggy
- python2-psycopg2
- python2-psycopg2-debug
- python2-psycopg2-tests
- python2-py
- python2-pygments
- python2-pymongo
- python2-pymongo-gridfs
- python2-PyMySQL
- python2-pysocks
- python2-pytest
- python2-pytest-mock
- python2-pytz
- python2-pyyaml
- python2-requests
- python2-rpm-macros
- python2-scipy
- python2-setuptools
- python2-setuptools_scm
- python2-six
- python2-sqlalchemy
- python2-test
- python2-tkinter
- python2-tools
- python2-urllib3
- python2-virtualenv
- python2-wheel
buildopts:
rpms:
macros: |
# Note that we cannot disable building of all Python 3 subpackages,
# because python2-devel (needed to build all Python 2 packages)
# has a runtime dependency on python3-rpm-generators, and that
# package requires python3-setuptools at runtime. By rebuilding
# python-setuptools SRPM with only python2, we overshadow the
# already built python3 subpackage and it is no longer
# available for python3-rpm-generators when building python-pip
# (or any other Python package).
# We can disable Python 3 in all packages but ...
%_without_python3 1
# ... we have to have a way to enable some of them as described
# above. With this macro, we can add some module-specific
# conditions for python3-* subpackages and other special cases.
# %_with_python27_module 1
# for: python-jinja2
%_with_python2 1
# to solve circular dependency between pytest and [attrs, pluggy]
# %_without_tests 1
components:
rpms:
babel:
rationale: Tools for internationalizing Python applications
ref: 3b6f070448a42e23bdd729880c309d33e5f797b1
Cython:
rationale: Language for writing Python extension modules. Build dependency
of numpy and PyYAML
ref: b71f66e897412b85bdeb6567b36810f50ec9dea6
numpy:
rationale: A fast multidimensional array facility for Python
ref: f991de877a6824063b38316e9aad86126382ea7a
pytest:
rationale: Simple powerful testing with Python
ref: 1a76e6d2b5153273a6e95c8b6609620a3e6c1b7a
python2:
rationale: Main Python language interpreter
ref: 72be67e1614101574f0845dd4581c952422fe53f
python2-pip:
rationale: Python Packaging ecosystem
ref: 97337a9dbff882d1136bc14f49b8c2269e25e7ef
python2-rpm-macros:
rationale: Python 2 RPM macros - dependency of python2-devel
ref: 1eb378b5a32a52935e6284302509f7d5d493848c
python2-setuptools:
rationale: Python Packaging ecosystem
ref: 0d0320c94095648ebad7b8dc0277ef594331634b
python-PyMySQL:
rationale: Python adapter for the MySQL/MariaDB databases
ref: b9732dcad1dfd1413215442fad8e391a62ba3c32
python-attrs:
rationale: Python attributes without boilerplate
ref: f49e61abc58837b03476cbd1300a4f68cf87d624
python-backports:
rationale: Namespace for backported Python features
ref: 8c02d46bd4177443fd5bd2d14aa8654a75df499e
python-backports-ssl_match_hostname:
rationale: The ssl.match_hostname() function from Python 3. Dependency of
urllib3/requests.
ref: 964d9c3bc0d500be829597200275d6e165e850b1
python-chardet:
rationale: Character encoding auto-detection in Python. Dependency of requests.
ref: 13f52bc7be0474592fbcb704744432a44fe55a45
python-coverage:
rationale: Code coverage testing module for Python
ref: 45d77ede57159cceec3a8df9c3ecc61735e07cac
python-dns:
rationale: DNS toolkit for Python. Useful package for IPA and mailman.
ref: cdfbe4e61e5bf70296e994a7ac82091d69743bdd
python-docutils:
rationale: System for processing plaintext documentation
ref: 5b624f562302063db068fd3987bd34e3ecc0903a
python-funcsigs:
rationale: Python function signatures from PEP362 for Python 2.6, 2.7 and
3.2+. Dependency of Pytest and mock.
ref: c5da42f45fed454442f1ffe9b5b420d34ffcc342
python-idna:
rationale: Internationalized Domain Names in Applications (IDNA). Dependency
of requests.
ref: 44777951800d1fbd9df3cb15c20ca4d70e24bc8c
python-ipaddress:
rationale: Port of the python 3.3+ ipaddress module to 2.6+. Dependency of
urllib3/requests.
ref: 783c4c4d0a96ab111ef67fe2a69fe29684e89bae
python-jinja2:
rationale: General purpose template engine
ref: 6fca8ff7427b881f0804568bbb29f44c45b286fc
python-markupsafe:
rationale: Implements a XML/HTML/XHTML Markup safe string for Python
ref: 47227bd3261554ee0205333ad3e334ed17cfeab7
python-mock:
rationale: A Python Mocking and Patching Library for Testing
ref: 0f1d2b8029ab13a667e4466022d5def30d5f9e0f
python-nose:
rationale: Discovery-based unit test extension for Python
ref: 480965720cc6d38319c90f4102573d490f88bcd7
python-pluggy:
rationale: The plugin manager stripped of pytest specific details
ref: 7f490ece482ce48236771fd0c22b7add0d8de347
python-psycopg2:
rationale: Python adapter for the PostgreSQL database
ref: 52f100d44b96136bfe928dbfb706577b88f5e98e
python-py:
rationale: Library with cross-python path, ini-parsing, io, code, log facilities
ref: 333478ab7e377c5a6693313220bd34ae5cb5b5b9
python-pygments:
rationale: Syntax highlighting engine written in Python
ref: aeb0a149d8cb6ff58f8570c1ddc601bbeb4376bf
python-pymongo:
rationale: Python driver for MongoDB
ref: a7576c9ec2f175e68d2551d42ded67491e2dd05c
python-pysocks:
rationale: A Python SOCKS client module. Dependency of urllib3/requests.
ref: 796c1b41da19f5f543d8cc342f0c7010840b6be8
python-pytest-mock:
rationale: Thin-wrapper around the mock package for easier use with py.test.
Build dependency of requests.
ref: 3602fd85db27855b939e6215dc52756e3869b3a9
python-requests:
rationale: HTTP library, written in Python, for human beings
ref: 211cd5d89a96810d54cd8a070c8c6f9e53ad5a98
python-setuptools_scm:
rationale: Blessed package to manage your versions by scm tags. Build dependency
of pytest and pytest-mock.
ref: 406c9d38faa96b33fc101a199d376ee0f1e31143
python-six:
rationale: Python 2 and 3 compatibility utilities
ref: 75e3518ce33c917efacecfd08abacd5258a98636
python-sqlalchemy:
rationale: Modular and flexible ORM library for python
ref: bfd07e774a4918e7fb1e723bda9adc23d49b094c
python-urllib3:
rationale: Python HTTP library with thread-safe connection pooling and file
post. Dependency of requests.
ref: 7dcc0de9f5ba16e1bc4ba43ef8f122f019ae80b7
python-virtualenv:
rationale: Tool to create isolated Python environments
ref: d3f1ee3582d1023194b2f8c9abd2f88f737d56c4
python-wheel:
rationale: Used for unbundling of pip and setuptools
ref: 038b156f6ee6546a660f90dfa0e38a7294f1e40d
pytz:
rationale: Runtime requires of babel, and python2-babel
ref: 36a759bce010f1a4695b536ded7794d1ef22da19
PyYAML:
rationale: YAML parser and emitter for Python
ref: 8e7c42ca0f44dc6058c7e8f0e820f728f730f9db
scipy:
rationale: Scientific Tools for Python
ref: b6358ad0fdf2455e3d56399a52adef708340ce60
python-lxml:
rationale: XML processing library
ref: 70520cce071aa9654b5b242c194018b837b05b81
python-docs:
rationale: Documentation for Python
ref: fb1121068c7869c493f2950ec09a7cb2c32bce5c