First version of a working modulemd

This commit is contained in:
Tomas Orsava 2017-07-31 16:10:36 +02:00
commit d90877d254

View file

@ -1,49 +1,99 @@
document: modulemd document: modulemd
version: 1 version: 1
data: data:
summary: Version 3 of the Python programming language aka Python 3000. summary: Python programming language, version 3
description: > description: >-
Python3 is a new version of the language that is incompatible Python is an interpreted, interactive, object-oriented programming
with the 2.x line of releases. The language is mostly the language often compared to Tcl, Perl, Scheme or Java. Python includes
same, but many details, especially how built-in objects like modules, classes, exceptions, very high level dynamic data types
dictionaries and strings work, have changed considerably, and and dynamic typing. Python supports interfaces to many system calls and
a lot of deprecated features have finally been removed. 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: license:
module: [Python] module:
MIT
dependencies: dependencies:
buildrequires: buildrequires:
base-runtime: f26 bootstrap: master
common-build-dependencies: f26
shared-userspace: f26 # Need an already built Python interpreter
python3-bootstrap: master
# tk-devel buildrequires /usr/bin/perl
perl: master
requires: requires:
shared-userspace: f26 platform: master
base-runtime: f26 platform-placeholder: master
references: references:
community: https://docs.pagure.org/modularity/ community: https://www.python.org/
documentation: https://github.com/container-images/python3/ documentation: https://docs.python.org/3/
tracker: https://github.com/modularity-modules/python3/ tracker: https://pkgs.fedoraproject.org/modules/python3
profiles: profiles:
minimal:
rpms:
python3
python3-libs
python3-pip
python3-setuptools
default: default:
rpms: rpms:
- python3 python3
python3-libs
python3-pip
python3-setuptools
python3-tools
full:
rpms:
python3
python3-debug
python3-debuginfo
python3-debugsource
python3-devel
python3-libs
python3-pip
python3-setuptools
python3-tools
python3-wheel
filter:
rpms:
python3-tkinter
api: api:
rpms: rpms:
- python3 python3
python3-debug
python3-devel
python3-libs
python3-pip
python3-setuptools
python3-tkinter
python3-tools
python3-wheel
buildopts:
rpms:
macros: |
# setuptools & pip & wheel
%_without_python2 1
# setuptools
%_without_platform_python 1
components: components:
rpms: rpms:
python3: python-wheel:
rationale: Python3 package. rationale: Used for unbundling of pip and setuptools
ref: f26 ref: master
buildorder: 10 buildorder: 10
# autoconf: {rationale: Build dependency.} python-setuptools:
# bluez: {rationale: Build dependency.} rationale: Python Packaging ecosystem
# expat: {rationale: Build dependency.} ref: master
# libX11: {rationale: Build dependency.} buildorder: 20
# libdb4: {rationale: Build dependency.} python-pip:
# mesa: {rationale: Build dependency.} rationale: Python Packaging ecosystem
# python3: {rationale: Runtime dependency.} ref: master
# systemtap: {rationale: Build dependency.} buildorder: 30
# tcl: {rationale: Build dependency.} python3:
# tix: {rationale: Build dependency.} rationale: Main Python language interpreter
# tk: {rationale: Build dependency.} ref: master
# valgrind: {rationale: Build dependency.} buildorder: 40