From 50b12ebbedec8dbf823905d60712784b9a5cdb8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Fri, 4 Sep 2015 18:21:27 +0100 Subject: core: Use python3 instead python2 From [1]: "Python 2.x is legacy, Python 3.x is the present and future of the language" As a reference, python3 is already the default python version in Arch, and other distros like Ubuntu/Debian [2] or Fedora [3] are planning to switch soon [1] https://wiki.python.org/moin/Python2orPython3 [2] https://wiki.ubuntu.com/Python/3 [3] https://fedoraproject.org/wiki/Changes/Python_3_as_Default Change-Id: I6d4d11844d4424bfa49b37fe7d9a3639547c0139 --- strata/python-core.morph | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'strata/python-core.morph') diff --git a/strata/python-core.morph b/strata/python-core.morph index 630a8073..43acacd0 100644 --- a/strata/python-core.morph +++ b/strata/python-core.morph @@ -4,17 +4,25 @@ description: Core python packages build-depends: - morph: strata/core.morph chunks: +- name: cpython + morph: strata/python-core/cpython.morph + repo: upstream:cpython + ref: 57af3f22d11600ca98c0c9073d0b3b57d43f7c4b + unpetrify-ref: v2.7.10 - name: python-setuptools morph: strata/core/python-setuptools.morph repo: upstream:python-setuptools-bitbucket ref: 0aa6a4de5931d02876428388678802db2371fd37 unpetrify-ref: baserock/master + build-depends: + - cpython - name: mako repo: upstream:python-packages/mako.git ref: 285bc818a50ccc0f9549630f7c4f4c250585c3e7 unpetrify-ref: rel_1_0_0 build-system: python-distutils build-depends: + - cpython - python-setuptools - name: pbr repo: upstream:pbr @@ -22,31 +30,49 @@ chunks: unpetrify-ref: 0.10.7 build-system: python-distutils build-depends: + - cpython - python-setuptools - name: python-requests repo: upstream:python-requests ref: b83131779c701720a9ae9efae78996277d416269 unpetrify-ref: v2.5.1 build-system: python-distutils + build-depends: + - cpython - name: six repo: upstream:six ref: 8cfbff6b764af86d825086fa1637aa009e90d75a unpetrify-ref: 1.9.0 build-system: python-distutils + build-depends: + - cpython - name: pyyaml morph: strata/python-core/pyyaml.morph repo: upstream:pyyaml ref: d9fbcceaed39d955f6871b07c61dc42f824285c1 unpetrify-ref: baserock/morph build-depends: + - cpython - python-setuptools +- name: cython2 + repo: upstream:cython + ref: 4dd8e762fa51d01775506fbbc102c45dbcea065d + unpetrify-ref: 0.22 + build-system: python-distutils + build-depends: + - cpython - name: python-lxml repo: upstream:python-lxml ref: 14505bc62f5f1fc9fb0ff007955f3e67ab4562bb unpetrify-ref: lxml-3.4.0 build-system: python-distutils + build-depends: + - cpython + - cython2 - name: python-markdown repo: upstream:python-markdown ref: f0c5b71acbc02af60a33d67c59558bb513b25e74 unpetrify-ref: 2.5.1-final build-system: python-distutils + build-depends: + - cpython -- cgit v1.2.1