python3/python3.yaml

110 lines
3.6 KiB
YAML

document: modulemd
version: 1
data:
summary: Python programming language, version 3
description: >-
Python is an interpreted, interactive, object-oriented programming
language often compared to Tcl, Perl, Scheme or Java. Python includes
modules, classes, exceptions, very high level dynamic data types
and dynamic typing. Python supports interfaces to many system calls and
libraries, as well as to various windowing systems (X11, Motif, Tk,
Mac and MFC).
Programmers can write new built-in modules for Python in C or C++.
Python can be used as an extension language for applications that
need a programmable interface.
license:
module:
- MIT
dependencies:
buildrequires:
bootstrap: master
# Need an already built Python interpreter
# python3-bootstrap: master
# Disabled since python3-bootstrap requires platform, and
# bootstrap and platform modules conflict
# tk-devel buildrequires /usr/bin/perl
# perl: master
# Disabled since perl requires platform, and bootstrap and
# platform modules conflict
requires:
platform: master
references:
community: https://www.python.org/
documentation: https://docs.python.org/3/
tracker: https://src.fedoraproject.org/modules/python3
profiles:
minimal:
rpms:
- python3
- python3-libs
- python3-pip
- python3-setuptools
default:
rpms:
- python3
- python3-libs
- python3-pip
- python3-setuptools
full:
rpms:
- python3
- python3-devel
- python3-libs
- python3-pip
- python3-setuptools
- python3-wheel
filter:
rpms:
- python2-rpm-macros
# Requires unavailable: tk, tcl, libX11
- python3-tkinter
# Requires unavailable: python3-tkinter
- python3-tools
# Requires unavailable: python3-tools
- python3-test
# Requires unavailable: python3-{tkinter,tools,test} and more
- python3-debug
api:
rpms:
- python3
- python3-devel
- python3-libs
- python3-pip
- python3-setuptools
- python3-wheel
buildopts:
rpms:
macros: |
# setuptools & pip & wheel
%_without_python2 1
# setuptools
%_without_platform_python 1
components:
rpms:
python-rpm-macros:
rationale: Build and runtime dependency of python3-devel
ref: master
buildorder: 10
python-rpm-generators:
rationale: Runtime dependency of python3-devel
ref: master
buildorder: 10
python-wheel:
rationale: Used for unbundling of pip and setuptools
ref: master
buildorder: 10
python-setuptools:
rationale: Python Packaging ecosystem
ref: master
buildorder: 20
python-pip:
rationale: Python Packaging ecosystem
ref: master
buildorder: 30
python3:
rationale: Main Python language interpreter
ref: master
buildorder: 40