From 8cc2a4cc8e98886534c9cf3c1439638b6367bf4d Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Sep 04 2017 11:53:28 +0000 Subject: First version of a working modulemd --- diff --git a/python2.yaml b/python2.yaml index 0b13762..c9d2573 100644 --- a/python2.yaml +++ b/python2.yaml @@ -1,48 +1,102 @@ document: modulemd version: 1 data: - summary: Python2 programming language - description: Python 2 version of Python programming language. + summary: Python programming language, version 2 + 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: [Python] + module: + - MIT dependencies: buildrequires: - base-runtime: f26 -# bootstrap: f26 - common-build-dependencies: f26 - shared-userspace: f26 - perl: f26 + bootstrap: master + + # Need an already built Python interpreter + python2-bootstrap: master + + # python2-devel buildrequires python3-rpm-generators which + # requires python3 and python3-setuptools + python3: master + + # tk-devel buildrequires /usr/bin/perl + perl: master requires: - shared-userspace: f26 - base-runtime: f26 - perl: f26 + platform: master + platform-placeholder: master references: - community: https://docs.pagure.org/modularity/ - documentation: https://github.com/modularity-modules/python2 - tracker: https://github.com/modularity-modules/python2/issues + community: https://www.python.org/ + documentation: https://docs.python.org/2/ + tracker: https://pkgs.fedoraproject.org/modules/python2 profiles: + minimal: + rpms: + - python2 + - python2-libs + - python2-pip + - python2-setuptools default: rpms: - 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: 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: rpms: - python2: - rationale: Python2 package. - ref: f26 + python-wheel: + rationale: Used for unbundling of pip and setuptools + ref: master buildorder: 10 -# autoconf: {rationale: Build dependency.} -# compat-openssl10: {rationale: Build dependency.} -# coreutils: {rationale: Runtime dependency.} -# expat: {rationale: Build dependency.} -# findutils: {rationale: Build dependency.} -# glibc: {rationale: Runtime dependency.} -# libX11: {rationale: Build dependency.} -# mesa: {rationale: Build dependency.} -# tcl: {rationale: Build dependency.} -# tix: {rationale: Build dependency.} -# tk: {rationale: Build dependency.} -# valgrind: {rationale: Build dependency.} - + python-setuptools: + rationale: Python Packaging ecosystem + ref: master + buildorder: 20 + python-pip: + rationale: Python Packaging ecosystem + ref: master + buildorder: 30 + python2: + rationale: Main Python language interpreter + ref: master + buildorder: 40