diff --git a/README.md b/README.md new file mode 100644 index 0000000..33c1586 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# python2-bootstrap + +The python2-bootstrap package \ No newline at end of file diff --git a/dead.package b/dead.package deleted file mode 100644 index a3ac9b8..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -This module was just an attempt and is not compatible with the current modularity diff --git a/python2-bootstrap.yaml b/python2-bootstrap.yaml new file mode 100644 index 0000000..5c33c8a --- /dev/null +++ b/python2-bootstrap.yaml @@ -0,0 +1,106 @@ +document: modulemd +version: 1 +data: + summary: Bootstrapping module for the 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: + - MIT + dependencies: + buildrequires: + bootstrap: master + + # python2-devel buildrequires python3-rpm-generators which + # requires python3 and python3-setuptools + # 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/2/ + tracker: https://src.fedoraproject.org/modules/python2-bootstrap + 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-devel + - python2-libs + - python2-pip + - python2-setuptools + - python2-tools + filter: + rpms: + - python2-tkinter + - python3-setuptools + - python3-pip + - python3-rpm-generators + api: + rpms: + - python2 + - python2-debug + - python2-devel + - python2-libs + - python2-pip + - python2-setuptools + - python2-tools + buildopts: + rpms: + macros: | + # python2 + %_without_rewheel 1 + # setuptools & pip + %_with_bootstrap 1 + # setuptools + %_without_platform_python 1 + # tests for setuptools need pip, which is unavailable + # during bootstrapping + %_without_tests 1 + components: + rpms: + python-rpm-macros: + rationale: Build and runtime dependency of python2-devel + ref: master + buildorder: 0 + python2: + rationale: Main Python language interpreter + ref: master + buildorder: 10 + python-setuptools: + rationale: Python Packaging ecosystem + ref: master + buildorder: 20 + python-pip: + rationale: Python Packaging ecosystem + ref: master + buildorder: 30