From 357da0a3b3b97f40ca94088d10c2bd45fabfe6be Mon Sep 17 00:00:00 2001 From: Matus Kocka Date: Mon, 10 Apr 2017 23:48:21 +0200 Subject: [PATCH 01/28] Adding README.md with deps --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a1d2c6d --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +python3 dependencies +==================== + +build dependencies calculated by brt_dep_solver +----------------------------------------------- +autoconf +bluez +expat +libdb4 +libX11 +mesa +systemtap +tcl +tix +tk +valgrind + + +runtime dependencies calculated by brt_dep_solver +------------------------------------------------- +python3 From 0d22cf6a35d7c8af090922c4ee91d2fd682b032f Mon Sep 17 00:00:00 2001 From: mkocka Date: Tue, 11 Apr 2017 11:15:36 +0200 Subject: [PATCH 02/28] adding yaml file and deps --- python3.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 python3.yaml diff --git a/python3.yaml b/python3.yaml new file mode 100644 index 0000000..3530484 --- /dev/null +++ b/python3.yaml @@ -0,0 +1,35 @@ +data: + api: + rpms: + - python3 + components: + rpms: + autoconf: {rationale: Build dependency.} + bluez: {rationale: Build dependency.} + expat: {rationale: Build dependency.} + libX11: {rationale: Build dependency.} + libdb4: {rationale: Build dependency.} + mesa: {rationale: Build dependency.} + python3: {rationale: Runtime dependency.} + systemtap: {rationale: Build dependency.} + tcl: {rationale: Build dependency.} + tix: {rationale: Build dependency.} + tk: {rationale: Build dependency.} + valgrind: {rationale: Build dependency.} + description: 'Python 3 is a new version of the language that is incompatible with + the 2.x + + line of releases. The language is mostly the same, but many details, especially + + how built-in objects like dictionaries and strings work, have changed + + considerably, and a lot of deprecated features have finally been removed.' + filter: {} + license: + module: [Python] + name: '' + stream: '' + summary: Version 3 of the Python programming language aka Python 3000 + version: 0 +document: modulemd +version: 1 From f945f9a27c9a0e07f9e2f426f88dd5120bc1374d Mon Sep 17 00:00:00 2001 From: mkocka Date: Thu, 11 May 2017 10:36:20 +0200 Subject: [PATCH 03/28] new version of modulemd file --- python3.yaml | 79 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 46 insertions(+), 33 deletions(-) diff --git a/python3.yaml b/python3.yaml index 3530484..a2701b0 100644 --- a/python3.yaml +++ b/python3.yaml @@ -1,35 +1,48 @@ -data: - api: - rpms: - - python3 - components: - rpms: - autoconf: {rationale: Build dependency.} - bluez: {rationale: Build dependency.} - expat: {rationale: Build dependency.} - libX11: {rationale: Build dependency.} - libdb4: {rationale: Build dependency.} - mesa: {rationale: Build dependency.} - python3: {rationale: Runtime dependency.} - systemtap: {rationale: Build dependency.} - tcl: {rationale: Build dependency.} - tix: {rationale: Build dependency.} - tk: {rationale: Build dependency.} - valgrind: {rationale: Build dependency.} - description: 'Python 3 is a new version of the language that is incompatible with - the 2.x - - line of releases. The language is mostly the same, but many details, especially - - how built-in objects like dictionaries and strings work, have changed - - considerably, and a lot of deprecated features have finally been removed.' - filter: {} - license: - module: [Python] - name: '' - stream: '' - summary: Version 3 of the Python programming language aka Python 3000 - version: 0 document: modulemd version: 1 +data: + summary: Version 3 of the Python programming language aka Python 3000. + description: Python3 is a new version of the language that is incompatible with + the 2.x line of releases. The language is mostly the same, but many + details, especially how built-in objects like dictionaries and strings + work, have changed considerably, and a lot of deprecated features + have finally been removed.' + license: + module: [Python] + dependencies: + buildrequires: + base-runtime: f26 + common-build-dependencies: f26 + shared-userspace: f26 + requires: + shared-userspace: f26 + base-runtime: f26 + references: + community: https://fedoraproject.org/wiki/Modularity + documentation: https://fedoraproject.org/wiki/Fedora_Packaging_Guidelines_for_Modules + tracker: https://taiga.fedorainfracloud.org/project/modularity + profiles: + default: + rpms: + - python3 + api: + rpms: + - python3 + components: + rpms: + python3: + rationale: Python3 package. + ref: f26 + buildorder: 10 +# autoconf: {rationale: Build dependency.} +# bluez: {rationale: Build dependency.} +# expat: {rationale: Build dependency.} +# libX11: {rationale: Build dependency.} +# libdb4: {rationale: Build dependency.} +# mesa: {rationale: Build dependency.} +# python3: {rationale: Runtime dependency.} +# systemtap: {rationale: Build dependency.} +# tcl: {rationale: Build dependency.} +# tix: {rationale: Build dependency.} +# tk: {rationale: Build dependency.} +# valgrind: {rationale: Build dependency.} From d25439d4ff260022f8810a6973c8574569aeddf1 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Tue, 1 Aug 2017 16:51:04 +0200 Subject: [PATCH 04/28] remove trailing whitespace --- python3.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python3.yaml b/python3.yaml index a2701b0..439d1c8 100644 --- a/python3.yaml +++ b/python3.yaml @@ -2,10 +2,10 @@ document: modulemd version: 1 data: summary: Version 3 of the Python programming language aka Python 3000. - description: Python3 is a new version of the language that is incompatible with - the 2.x line of releases. The language is mostly the same, but many - details, especially how built-in objects like dictionaries and strings - work, have changed considerably, and a lot of deprecated features + description: Python3 is a new version of the language that is incompatible with + the 2.x line of releases. The language is mostly the same, but many + details, especially how built-in objects like dictionaries and strings + work, have changed considerably, and a lot of deprecated features have finally been removed.' license: module: [Python] From 72a3089637b9714e089ee959bca1cac1484c3691 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Tue, 1 Aug 2017 16:51:45 +0200 Subject: [PATCH 05/28] remove stray single quote from the description --- python3.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python3.yaml b/python3.yaml index 439d1c8..0085517 100644 --- a/python3.yaml +++ b/python3.yaml @@ -6,7 +6,7 @@ data: the 2.x line of releases. The language is mostly the same, but many details, especially how built-in objects like dictionaries and strings work, have changed considerably, and a lot of deprecated features - have finally been removed.' + have finally been removed. license: module: [Python] dependencies: From 64213ed1d1209a9a558e11362eb737a45d971340 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Tue, 1 Aug 2017 16:52:15 +0200 Subject: [PATCH 06/28] wrap lines --- python3.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/python3.yaml b/python3.yaml index 0085517..bdff1da 100644 --- a/python3.yaml +++ b/python3.yaml @@ -2,11 +2,12 @@ document: modulemd version: 1 data: summary: Version 3 of the Python programming language aka Python 3000. - description: Python3 is a new version of the language that is incompatible with - the 2.x line of releases. The language is mostly the same, but many - details, especially how built-in objects like dictionaries and strings - work, have changed considerably, and a lot of deprecated features - have finally been removed. + description: > + Python3 is a new version of the language that is incompatible + with the 2.x line of releases. The language is mostly the + same, but many details, especially how built-in objects like + dictionaries and strings work, have changed considerably, and + a lot of deprecated features have finally been removed. license: module: [Python] dependencies: From 1071b8a7a22e23eb796571b4139421455f8a2cbb Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Tue, 1 Aug 2017 16:52:32 +0200 Subject: [PATCH 07/28] update references --- python3.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python3.yaml b/python3.yaml index bdff1da..455ad97 100644 --- a/python3.yaml +++ b/python3.yaml @@ -19,9 +19,9 @@ data: shared-userspace: f26 base-runtime: f26 references: - community: https://fedoraproject.org/wiki/Modularity - documentation: https://fedoraproject.org/wiki/Fedora_Packaging_Guidelines_for_Modules - tracker: https://taiga.fedorainfracloud.org/project/modularity + community: https://docs.pagure.org/modularity/ + documentation: https://github.com/container-images/python3/ + tracker: https://github.com/modularity-modules/python3/ profiles: default: rpms: From d90877d254bb032bcb08f157d6767d1f0188a454 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Mon, 31 Jul 2017 16:10:36 +0200 Subject: [PATCH 08/28] First version of a working modulemd --- python3.yaml | 116 ++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 83 insertions(+), 33 deletions(-) diff --git a/python3.yaml b/python3.yaml index 455ad97..095c32d 100644 --- a/python3.yaml +++ b/python3.yaml @@ -1,49 +1,99 @@ document: modulemd version: 1 data: - summary: Version 3 of the Python programming language aka Python 3000. - description: > - Python3 is a new version of the language that is incompatible - with the 2.x line of releases. The language is mostly the - same, but many details, especially how built-in objects like - dictionaries and strings work, have changed considerably, and - a lot of deprecated features have finally been removed. + 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: [Python] + module: + MIT dependencies: buildrequires: - base-runtime: f26 - common-build-dependencies: f26 - shared-userspace: f26 + bootstrap: master + + # Need an already built Python interpreter + python3-bootstrap: master + + # tk-devel buildrequires /usr/bin/perl + perl: master requires: - shared-userspace: f26 - base-runtime: f26 + platform: master + platform-placeholder: master references: - community: https://docs.pagure.org/modularity/ - documentation: https://github.com/container-images/python3/ - tracker: https://github.com/modularity-modules/python3/ + community: https://www.python.org/ + documentation: https://docs.python.org/3/ + tracker: https://pkgs.fedoraproject.org/modules/python3 profiles: + minimal: + rpms: + python3 + python3-libs + python3-pip + python3-setuptools default: 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: 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: rpms: - python3: - rationale: Python3 package. - ref: f26 + python-wheel: + rationale: Used for unbundling of pip and setuptools + ref: master buildorder: 10 -# autoconf: {rationale: Build dependency.} -# bluez: {rationale: Build dependency.} -# expat: {rationale: Build dependency.} -# libX11: {rationale: Build dependency.} -# libdb4: {rationale: Build dependency.} -# mesa: {rationale: Build dependency.} -# python3: {rationale: Runtime dependency.} -# systemtap: {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 + python3: + rationale: Main Python language interpreter + ref: master + buildorder: 40 From 8ac431a3ee3899060ee481eea96f9ff004dd069f Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Fri, 1 Sep 2017 14:30:22 +0200 Subject: [PATCH 09/28] Add dashes needed by the modulemd spec --- python3.yaml | 60 ++++++++++++++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/python3.yaml b/python3.yaml index 095c32d..5b219f3 100644 --- a/python3.yaml +++ b/python3.yaml @@ -15,7 +15,7 @@ data: need a programmable interface. license: module: - MIT + - MIT dependencies: buildrequires: bootstrap: master @@ -35,43 +35,43 @@ data: profiles: minimal: rpms: - python3 - python3-libs - python3-pip - python3-setuptools + - python3 + - python3-libs + - python3-pip + - python3-setuptools default: rpms: - python3 - python3-libs - python3-pip - python3-setuptools - python3-tools + - 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 + - python3 + - python3-debug + - python3-debuginfo + - python3-debugsource + - python3-devel + - python3-libs + - python3-pip + - python3-setuptools + - python3-tools + - python3-wheel filter: rpms: - python3-tkinter + - python3-tkinter api: rpms: - python3 - python3-debug - python3-devel - python3-libs - python3-pip - python3-setuptools - python3-tkinter - python3-tools - python3-wheel + - python3 + - python3-debug + - python3-devel + - python3-libs + - python3-pip + - python3-setuptools + - python3-tkinter + - python3-tools + - python3-wheel buildopts: rpms: macros: | From b0af89f7da00530d5ac75f67039c215640d1687e Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Mon, 4 Sep 2017 10:58:19 +0200 Subject: [PATCH 10/28] Remove tkinter from the api --- python3.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/python3.yaml b/python3.yaml index 5b219f3..e0d9d35 100644 --- a/python3.yaml +++ b/python3.yaml @@ -69,7 +69,6 @@ data: - python3-libs - python3-pip - python3-setuptools - - python3-tkinter - python3-tools - python3-wheel buildopts: From 6adc19e7783390e1b3a6c7845ab7aac7b75496d8 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Tue, 5 Sep 2017 15:18:25 +0200 Subject: [PATCH 11/28] Remove debuginfo and debugsource from the api --- python3.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/python3.yaml b/python3.yaml index e0d9d35..ba17f30 100644 --- a/python3.yaml +++ b/python3.yaml @@ -50,8 +50,6 @@ data: rpms: - python3 - python3-debug - - python3-debuginfo - - python3-debugsource - python3-devel - python3-libs - python3-pip From be50fc3965b6509afa2159f9da75f662fabe473a Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Tue, 5 Sep 2017 15:30:02 +0200 Subject: [PATCH 12/28] Update tracker url --- python3.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python3.yaml b/python3.yaml index ba17f30..9655a73 100644 --- a/python3.yaml +++ b/python3.yaml @@ -31,7 +31,7 @@ data: references: community: https://www.python.org/ documentation: https://docs.python.org/3/ - tracker: https://pkgs.fedoraproject.org/modules/python3 + tracker: https://src.fedoraproject.org/modules/python3 profiles: minimal: rpms: From aa29e840ea0fb4afa4cd6b028109e20838aeaaef Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Tue, 19 Sep 2017 16:37:32 +0200 Subject: [PATCH 13/28] Add python-rpm-macros component --- python3.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python3.yaml b/python3.yaml index 9655a73..3ee4af5 100644 --- a/python3.yaml +++ b/python3.yaml @@ -58,6 +58,7 @@ data: - python3-wheel filter: rpms: + - python2-rpm-macros - python3-tkinter api: rpms: @@ -78,6 +79,10 @@ data: %_without_platform_python 1 components: rpms: + python-rpm-macros: + rationale: Build and runtime dependency of python3-devel + ref: master + buildorder: 10 python-wheel: rationale: Used for unbundling of pip and setuptools ref: master From 17a5e587aa500b0a50b098cb5a795d74f95b6bfd Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Tue, 19 Sep 2017 18:00:10 +0200 Subject: [PATCH 14/28] Remove dependency on now deprecated platform-placeholder module --- python3.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/python3.yaml b/python3.yaml index 3ee4af5..ccaca85 100644 --- a/python3.yaml +++ b/python3.yaml @@ -27,7 +27,6 @@ data: perl: master requires: platform: master - platform-placeholder: master references: community: https://www.python.org/ documentation: https://docs.python.org/3/ From 4e9a7f4d810da484864f0ff9a2c7d77aca23799b Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Thu, 21 Sep 2017 14:56:25 +0200 Subject: [PATCH 15/28] Disable dependency on perl, bootstrap already contains it --- python3.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python3.yaml b/python3.yaml index ccaca85..958add7 100644 --- a/python3.yaml +++ b/python3.yaml @@ -24,7 +24,9 @@ data: python3-bootstrap: master # tk-devel buildrequires /usr/bin/perl - perl: master + # perl: master + # Disabled since perl requires platform, and bootstrap and + # platform modules conflict requires: platform: master references: From 178a8a50f327d1f2418ed2256501332ea04d0432 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Thu, 21 Sep 2017 15:17:56 +0200 Subject: [PATCH 16/28] Disabled dependency on python3-bootstrap until we builddep on platform instead of bootstrap --- python3.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python3.yaml b/python3.yaml index 958add7..0b19420 100644 --- a/python3.yaml +++ b/python3.yaml @@ -21,7 +21,9 @@ data: bootstrap: master # Need an already built Python interpreter - python3-bootstrap: master + # python3-bootstrap: master + # Disabled since python3-bootstrap requires platform, and + # bootstrap and platform modules conflict # tk-devel buildrequires /usr/bin/perl # perl: master From 805ced0e8ffc2495a1291592d560e513fcbc7b6d Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Thu, 21 Sep 2017 15:28:07 +0200 Subject: [PATCH 17/28] Add component python-rpm-generators --- python3.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python3.yaml b/python3.yaml index 0b19420..cd0f1d9 100644 --- a/python3.yaml +++ b/python3.yaml @@ -86,6 +86,10 @@ data: 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 From 734d22831cfcc7593867b51262e0d2e5a75b7d62 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Mon, 2 Oct 2017 18:31:49 +0200 Subject: [PATCH 18/28] Filter out tools, test and debug subpackages due to missing tkinter --- python3.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/python3.yaml b/python3.yaml index cd0f1d9..c25325e 100644 --- a/python3.yaml +++ b/python3.yaml @@ -48,30 +48,32 @@ data: - python3-libs - python3-pip - python3-setuptools - - python3-tools full: rpms: - python3 - - python3-debug - python3-devel - python3-libs - python3-pip - python3-setuptools - - python3-tools - 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-debug - python3-devel - python3-libs - python3-pip - python3-setuptools - - python3-tools - python3-wheel buildopts: rpms: From 333d9abb214ec6575c632e5e01409f753562fdb7 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Tue, 31 Oct 2017 14:40:33 +0100 Subject: [PATCH 19/28] Create an empty 3.6 branch for the F27 Modular server --- python3.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 python3.yaml diff --git a/python3.yaml b/python3.yaml new file mode 100644 index 0000000..5395a06 --- /dev/null +++ b/python3.yaml @@ -0,0 +1,34 @@ +# This module is left empty because python3 is contained in the +# Platform module of Fedora 27 Modular Server edition. + +# Other modules can depend on this empty one so that, when the +# implementation of python3 is moved out of the Platform module, +# other modules should not be affected. + +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 + requires: + platform: master + references: + community: https://www.python.org/ + documentation: https://docs.python.org/3/ + tracker: https://src.fedoraproject.org/modules/python3 From 78b836d487a8c889ae54e550791eff36ec4bad3b Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Tue, 31 Oct 2017 16:11:54 +0100 Subject: [PATCH 20/28] Build a small package and immediatelly filter out all binary RPMs Because mbs build system currently does not support building empty modules. --- python3.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/python3.yaml b/python3.yaml index 5395a06..5795194 100644 --- a/python3.yaml +++ b/python3.yaml @@ -32,3 +32,17 @@ data: community: https://www.python.org/ documentation: https://docs.python.org/3/ tracker: https://src.fedoraproject.org/modules/python3 + filter: + rpms: + - python-rpm-macros + - python-srpm-macros + - python2-rpm-macros + - python3-rpm-macros + - platform-python-rpm-macros + components: + rpms: + python-rpm-macros: + rationale: | + Build and filter all RPMs, since an empty module doesn't + build + ref: master From af0cfb9f5ecf6ba9f3121dfcf98ad5e56dcf8e06 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Mon, 13 Nov 2017 11:09:34 +0100 Subject: [PATCH 21/28] we need to require f27 as the base --- python3.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python3.yaml b/python3.yaml index 5795194..2629bca 100644 --- a/python3.yaml +++ b/python3.yaml @@ -25,9 +25,9 @@ data: - MIT dependencies: buildrequires: - bootstrap: master + bootstrap: f27 requires: - platform: master + platform: f27 references: community: https://www.python.org/ documentation: https://docs.python.org/3/ From f9c6ada7fdf17b7275616397a0369bca32aa0ad2 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Mon, 27 Nov 2017 11:44:21 +0100 Subject: [PATCH 22/28] Add sham profiles so DNF does not complain when installing the module Profiles are optional according to the modulemd specs, but DNF does not handle it properly and errors out. Therefore until it's fixed I'm adding sham profiles. --- python3.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/python3.yaml b/python3.yaml index 2629bca..fe870a6 100644 --- a/python3.yaml +++ b/python3.yaml @@ -32,6 +32,27 @@ data: 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: - python-rpm-macros From 8bede4f53f246726edaa4d2d7162dba56264bec3 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Thu, 8 Mar 2018 03:06:42 +0100 Subject: [PATCH 23/28] Update builddeps to platform: f28 --- python3.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python3.yaml b/python3.yaml index c25325e..d6863cd 100644 --- a/python3.yaml +++ b/python3.yaml @@ -18,7 +18,7 @@ data: - MIT dependencies: buildrequires: - bootstrap: master + platform: f28 # Need an already built Python interpreter # python3-bootstrap: master @@ -30,7 +30,7 @@ data: # Disabled since perl requires platform, and bootstrap and # platform modules conflict requires: - platform: master + platform: f28 references: community: https://www.python.org/ documentation: https://docs.python.org/3/ From 9af8aa9af3a28f4c0f08942f9469bb1de36e0035 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Tue, 13 Mar 2018 15:34:18 +0100 Subject: [PATCH 24/28] Build from the f28 branch of packages --- python3.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python3.yaml b/python3.yaml index d6863cd..2c6ddeb 100644 --- a/python3.yaml +++ b/python3.yaml @@ -86,25 +86,25 @@ data: rpms: python-rpm-macros: rationale: Build and runtime dependency of python3-devel - ref: master + ref: f28 buildorder: 10 python-rpm-generators: rationale: Runtime dependency of python3-devel - ref: master + ref: f28 buildorder: 10 python-wheel: rationale: Used for unbundling of pip and setuptools - ref: master + ref: f28 buildorder: 10 python-setuptools: rationale: Python Packaging ecosystem - ref: master + ref: f28 buildorder: 20 python-pip: rationale: Python Packaging ecosystem - ref: master + ref: f28 buildorder: 30 python3: rationale: Main Python language interpreter - ref: master + ref: f28 buildorder: 40 From 733cf7864459d8b805e7e15a18b3aebdf3097146 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Tue, 13 Mar 2018 15:35:41 +0100 Subject: [PATCH 25/28] Re-enable modular builddeps --- python3.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/python3.yaml b/python3.yaml index 2c6ddeb..96215f9 100644 --- a/python3.yaml +++ b/python3.yaml @@ -21,14 +21,10 @@ data: platform: f28 # Need an already built Python interpreter - # python3-bootstrap: master - # Disabled since python3-bootstrap requires platform, and - # bootstrap and platform modules conflict + python3-bootstrap: master # tk-devel buildrequires /usr/bin/perl - # perl: master - # Disabled since perl requires platform, and bootstrap and - # platform modules conflict + perl: 5.26 requires: platform: f28 references: From 44d0ad0e92c8a4ef995fee3a81b5e564e8c6584a Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Tue, 13 Mar 2018 15:53:27 +0100 Subject: [PATCH 26/28] Revert "Build from the f28 branch of packages" This reverts commit 9af8aa9af3a28f4c0f08942f9469bb1de36e0035. --- python3.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python3.yaml b/python3.yaml index 96215f9..3fb55de 100644 --- a/python3.yaml +++ b/python3.yaml @@ -82,25 +82,25 @@ data: rpms: python-rpm-macros: rationale: Build and runtime dependency of python3-devel - ref: f28 + ref: master buildorder: 10 python-rpm-generators: rationale: Runtime dependency of python3-devel - ref: f28 + ref: master buildorder: 10 python-wheel: rationale: Used for unbundling of pip and setuptools - ref: f28 + ref: master buildorder: 10 python-setuptools: rationale: Python Packaging ecosystem - ref: f28 + ref: master buildorder: 20 python-pip: rationale: Python Packaging ecosystem - ref: f28 + ref: master buildorder: 30 python3: rationale: Main Python language interpreter - ref: f28 + ref: master buildorder: 40 From b2696a41294523cc5f09694780856635c72a5647 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Wed, 14 Mar 2018 16:06:24 +0100 Subject: [PATCH 27/28] Rebuild From 0a56ce597f8fd6af7c61cba38e3e220ad57a6f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 29 Aug 2018 15:49:16 +0200 Subject: [PATCH 28/28] This module was just an attempt and is not compatible with the current modularity --- .gitignore | 0 README.md | 21 ---------- dead.package | 1 + python3.yaml | 106 --------------------------------------------------- sources | 0 5 files changed, 1 insertion(+), 127 deletions(-) delete mode 100644 .gitignore delete mode 100644 README.md create mode 100644 dead.package delete mode 100644 python3.yaml delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index e69de29..0000000 diff --git a/README.md b/README.md deleted file mode 100644 index a1d2c6d..0000000 --- a/README.md +++ /dev/null @@ -1,21 +0,0 @@ -python3 dependencies -==================== - -build dependencies calculated by brt_dep_solver ------------------------------------------------ -autoconf -bluez -expat -libdb4 -libX11 -mesa -systemtap -tcl -tix -tk -valgrind - - -runtime dependencies calculated by brt_dep_solver -------------------------------------------------- -python3 diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..a3ac9b8 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +This module was just an attempt and is not compatible with the current modularity diff --git a/python3.yaml b/python3.yaml deleted file mode 100644 index 3fb55de..0000000 --- a/python3.yaml +++ /dev/null @@ -1,106 +0,0 @@ -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: - platform: f28 - - # Need an already built Python interpreter - python3-bootstrap: master - - # tk-devel buildrequires /usr/bin/perl - perl: 5.26 - requires: - platform: f28 - 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 diff --git a/sources b/sources deleted file mode 100644 index e69de29..0000000