First version of a working modulemd

This commit is contained in:
Tomas Orsava 2017-09-04 11:06:52 +02:00
commit 8cc2a4cc8e

View file

@ -1,48 +1,102 @@
document: modulemd document: modulemd
version: 1 version: 1
data: data:
summary: Python2 programming language summary: Python programming language, version 2
description: Python 2 version of Python programming language. 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: license:
module: [Python] module:
- MIT
dependencies: dependencies:
buildrequires: buildrequires:
base-runtime: f26 bootstrap: master
# bootstrap: f26
common-build-dependencies: f26 # Need an already built Python interpreter
shared-userspace: f26 python2-bootstrap: master
perl: f26
# python2-devel buildrequires python3-rpm-generators which
# requires python3 and python3-setuptools
python3: master
# tk-devel buildrequires /usr/bin/perl
perl: master
requires: requires:
shared-userspace: f26 platform: master
base-runtime: f26 platform-placeholder: master
perl: f26
references: references:
community: https://docs.pagure.org/modularity/ community: https://www.python.org/
documentation: https://github.com/modularity-modules/python2 documentation: https://docs.python.org/2/
tracker: https://github.com/modularity-modules/python2/issues tracker: https://pkgs.fedoraproject.org/modules/python2
profiles: profiles:
minimal:
rpms:
- python2
- python2-libs
- python2-pip
- python2-setuptools
default: default:
rpms: rpms:
- python2 - python2
- python2-libs
- python2-pip
- python2-setuptools
- python2-tools
full:
rpms:
- python2
- python2-debug
- python2-debuginfo
- python2-debugsource
- python2-devel
- python2-libs
- python2-pip
- python2-setuptools
- python2-tools
- python2-wheel
filter:
rpms:
- python2-tkinter
api: api:
rpms: rpms:
- python2 - python2
- python2-debug
- python2-devel
- python2-libs
- python2-pip
- python2-setuptools
- python2-tools
- python2-wheel
buildopts:
rpms:
macros: |
# setuptools & pip & wheel
%_without_python3 1
# setuptools
%_without_platform_python 1
components: components:
rpms: rpms:
python2: python-wheel:
rationale: Python2 package. rationale: Used for unbundling of pip and setuptools
ref: f26 ref: master
buildorder: 10 buildorder: 10
# autoconf: {rationale: Build dependency.} python-setuptools:
# compat-openssl10: {rationale: Build dependency.} rationale: Python Packaging ecosystem
# coreutils: {rationale: Runtime dependency.} ref: master
# expat: {rationale: Build dependency.} buildorder: 20
# findutils: {rationale: Build dependency.} python-pip:
# glibc: {rationale: Runtime dependency.} rationale: Python Packaging ecosystem
# libX11: {rationale: Build dependency.} ref: master
# mesa: {rationale: Build dependency.} buildorder: 30
# tcl: {rationale: Build dependency.} python2:
# tix: {rationale: Build dependency.} rationale: Main Python language interpreter
# tk: {rationale: Build dependency.} ref: master
# valgrind: {rationale: Build dependency.} buildorder: 40