merlinm / modules / python2

Forked from modules/python2 4 years ago
Clone

Blame python2.yaml

b8e6b7e
document: modulemd
b8e6b7e
version: 1
b8e6b7e
data:
8cc2a4c
    summary: Python programming language, version 2
8cc2a4c
    description: >-
8cc2a4c
        Python is an interpreted, interactive, object-oriented programming
8cc2a4c
        language often compared to Tcl, Perl, Scheme or Java. Python includes
8cc2a4c
        modules, classes, exceptions, very high level dynamic data types
8cc2a4c
        and dynamic typing. Python supports interfaces to many system calls and
8cc2a4c
        libraries, as well as to various windowing systems (X11, Motif, Tk,
8cc2a4c
        Mac and MFC).
8cc2a4c
8cc2a4c
        Programmers can write new built-in modules for Python in C or C++.
8cc2a4c
        Python can be used as an extension language for applications that
8cc2a4c
        need a programmable interface.
b8e6b7e
    license:
8cc2a4c
        module:
8cc2a4c
            - MIT
b8e6b7e
    dependencies:
b8e6b7e
        buildrequires:
8cc2a4c
            bootstrap: master
8cc2a4c
8cc2a4c
            # Need an already built Python interpreter
8cc2a4c
            python2-bootstrap: master
8cc2a4c
6e44508
            # python2-devel requires python3-rpm-generators which
8cc2a4c
            # requires python3 and python3-setuptools
8cc2a4c
            python3: master
8cc2a4c
8cc2a4c
            # tk-devel buildrequires /usr/bin/perl
8cc2a4c
            perl: master
b8e6b7e
        requires:
8cc2a4c
            platform: master
6e44508
6e44508
            # python2-devel requires python3-rpm-generators which
6e44508
            # requires python3 and python3-setuptools
6e44508
            python3: master
b8e6b7e
    references:
8cc2a4c
        community: https://www.python.org/
8cc2a4c
        documentation: https://docs.python.org/2/
3a5f256
        tracker: https://src.fedoraproject.org/modules/python2
b8e6b7e
    profiles:
8cc2a4c
        minimal:
8cc2a4c
            rpms:
8cc2a4c
                - python2
8cc2a4c
                - python2-libs
8cc2a4c
                - python2-pip
8cc2a4c
                - python2-setuptools
b8e6b7e
        default:
b8e6b7e
            rpms:
b8e6b7e
                - python2
8cc2a4c
                - python2-libs
8cc2a4c
                - python2-pip
8cc2a4c
                - python2-setuptools
8cc2a4c
                - python2-tools
8cc2a4c
        full:
8cc2a4c
            rpms:
8cc2a4c
                - python2
8cc2a4c
                - python2-debug
8cc2a4c
                - python2-devel
8cc2a4c
                - python2-libs
8cc2a4c
                - python2-pip
8cc2a4c
                - python2-setuptools
8cc2a4c
                - python2-tools
8cc2a4c
                - python2-wheel
8cc2a4c
    filter:
8cc2a4c
        rpms:
8cc2a4c
            - python2-tkinter
85f1f10
            - python3-wheel
85f1f10
            - python3-setuptools
85f1f10
            - python3-pip
b3c1203
            - python3-rpm-generators
b8e6b7e
    api:
b8e6b7e
        rpms:
8cc2a4c
            - python2
8cc2a4c
            - python2-debug
8cc2a4c
            - python2-devel
8cc2a4c
            - python2-libs
8cc2a4c
            - python2-pip
8cc2a4c
            - python2-setuptools
8cc2a4c
            - python2-tools
8cc2a4c
            - python2-wheel
8cc2a4c
    buildopts:
8cc2a4c
        rpms:
8cc2a4c
            macros: |
8cc2a4c
                # setuptools
8cc2a4c
                %_without_platform_python 1
85f1f10
85f1f10
                # Note that we cannot disable building of Python 3 subpackages,
85f1f10
                # because python2-devel (needed to build all Python 2 packages)
85f1f10
                # has a runtime dependency on python3-rpm-generators, and that
85f1f10
                # package requires python3-setuptools at runtime. By rebuilding
85f1f10
                # python-setuptools SRPM with only python2, we overshadow the
85f1f10
                # already built python3 subpackage and it is no longer
85f1f10
                # available for python3-rpm-generators when building python-pip
85f1f10
                # (or any other Python package).
b8e6b7e
    components:
b8e6b7e
        rpms:
b3c1203
            python-rpm-macros:
b3c1203
                rationale: Build and runtime dependency of python2-devel
b3c1203
                ref: master
b3c1203
                buildorder: 10
8cc2a4c
            python-wheel:
8cc2a4c
                rationale: Used for unbundling of pip and setuptools
8cc2a4c
                ref: master
b8e6b7e
                buildorder: 10
8cc2a4c
            python-setuptools:
8cc2a4c
                rationale: Python Packaging ecosystem
8cc2a4c
                ref: master
8cc2a4c
                buildorder: 20
8cc2a4c
            python-pip:
8cc2a4c
                rationale: Python Packaging ecosystem
8cc2a4c
                ref: master
8cc2a4c
                buildorder: 30
8cc2a4c
            python2:
8cc2a4c
                rationale: Main Python language interpreter
8cc2a4c
                ref: master
8cc2a4c
                buildorder: 40