From 1b4f6edf42b32ab0da020888aeba65283adef60d Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Wed, 18 Jul 2018 13:40:57 +0100 Subject: Remove all python2 libraries --- elements/bsp-generic/syslinux.bst | 2 +- elements/core/python2.bst | 20 ++++++++++++++++++++ elements/python2-core.bst | 15 --------------- elements/python2-core/cython2.bst | 11 ----------- elements/python2-core/jsonschema-python2.bst | 12 ------------ elements/python2-core/libxml2-python2.bst | 9 --------- elements/python2-core/mako-python2.bst | 12 ------------ elements/python2-core/pbr-python2.bst | 12 ------------ elements/python2-core/python2-lxml.bst | 12 ------------ elements/python2-core/python2-markdown.bst | 11 ----------- elements/python2-core/python2-requests.bst | 11 ----------- elements/python2-core/python2-setuptools.bst | 11 ----------- elements/python2-core/python2.bst | 20 -------------------- elements/python2-core/pyyaml-python2.bst | 15 --------------- elements/python2-core/six-python2.bst | 11 ----------- 15 files changed, 21 insertions(+), 163 deletions(-) create mode 100644 elements/core/python2.bst delete mode 100644 elements/python2-core.bst delete mode 100644 elements/python2-core/cython2.bst delete mode 100644 elements/python2-core/jsonschema-python2.bst delete mode 100644 elements/python2-core/libxml2-python2.bst delete mode 100644 elements/python2-core/mako-python2.bst delete mode 100644 elements/python2-core/pbr-python2.bst delete mode 100644 elements/python2-core/python2-lxml.bst delete mode 100644 elements/python2-core/python2-markdown.bst delete mode 100644 elements/python2-core/python2-requests.bst delete mode 100644 elements/python2-core/python2-setuptools.bst delete mode 100644 elements/python2-core/python2.bst delete mode 100644 elements/python2-core/pyyaml-python2.bst delete mode 100644 elements/python2-core/six-python2.bst diff --git a/elements/bsp-generic/syslinux.bst b/elements/bsp-generic/syslinux.bst index 4ac1f98a..5bcf718a 100644 --- a/elements/bsp-generic/syslinux.bst +++ b/elements/bsp-generic/syslinux.bst @@ -4,7 +4,7 @@ depends: - gnu-toolchain.bst - filename: core/perl.bst type: build -- filename: python2-core.bst +- filename: core/python2.bst type: build - filename: bsp-generic/nasm.bst type: build diff --git a/elements/core/python2.bst b/elements/core/python2.bst new file mode 100644 index 00000000..4f936478 --- /dev/null +++ b/elements/core/python2.bst @@ -0,0 +1,20 @@ +kind: autotools +depends: +- core.bst +sources: +- kind: git + url: upstream:cpython + track: v2.7.10 + ref: 57af3f22d11600ca98c0c9073d0b3b57d43f7c4b +config: + configure-commands: + - | + ./configure --prefix="%{prefix}" \ + --enable-shared \ + --with-ensurepip=upgrade \ + --with-system-expat \ + --with-system-ffi + install-commands: + (>): + - ln -sf python2.7 "%{install-root}"/"%{prefix}"/bin/python + - test -x "%{install-root}"/"%{prefix}"/bin/python2 || ln -s python2.7 "%{install-root}"/"%{prefix}"/bin/python2 diff --git a/elements/python2-core.bst b/elements/python2-core.bst deleted file mode 100644 index 6f857439..00000000 --- a/elements/python2-core.bst +++ /dev/null @@ -1,15 +0,0 @@ -kind: stack -description: Some "core" Python 2 packages, including the CPython interpreter itself. -depends: -- python2-core/python2.bst -- python2-core/python2-setuptools.bst -- python2-core/mako-python2.bst -- python2-core/pbr-python2.bst -- python2-core/python2-requests.bst -- python2-core/six-python2.bst -- python2-core/pyyaml-python2.bst -- python2-core/cython2.bst -- python2-core/python2-lxml.bst -- python2-core/python2-markdown.bst -- python2-core/libxml2-python2.bst -- python2-core/jsonschema-python2.bst diff --git a/elements/python2-core/cython2.bst b/elements/python2-core/cython2.bst deleted file mode 100644 index 78f9245f..00000000 --- a/elements/python2-core/cython2.bst +++ /dev/null @@ -1,11 +0,0 @@ -kind: distutils -depends: -- core.bst -- python2-core/python2.bst -sources: -- kind: git - url: upstream:cython - track: '0.22' - ref: 4dd8e762fa51d01775506fbbc102c45dbcea065d -variables: - python: python diff --git a/elements/python2-core/jsonschema-python2.bst b/elements/python2-core/jsonschema-python2.bst deleted file mode 100644 index 2d22435b..00000000 --- a/elements/python2-core/jsonschema-python2.bst +++ /dev/null @@ -1,12 +0,0 @@ -kind: distutils -depends: -- core.bst -- python2-core/python2.bst -- python2-core/python2-setuptools.bst -sources: -- kind: git - url: upstream:jsonschema - track: v2.3.0 - ref: 35b60f390098d3306c03eee27ceec8cf8a493579 -variables: - python: python diff --git a/elements/python2-core/libxml2-python2.bst b/elements/python2-core/libxml2-python2.bst deleted file mode 100644 index 474327ec..00000000 --- a/elements/python2-core/libxml2-python2.bst +++ /dev/null @@ -1,9 +0,0 @@ -kind: autotools -depends: -- core.bst -- python2-core/python2.bst -sources: -- kind: git - url: upstream:libxml2 - track: v2.9.3 - ref: 6657afe83a38278f124ace71dc85f60420beb2d5 diff --git a/elements/python2-core/mako-python2.bst b/elements/python2-core/mako-python2.bst deleted file mode 100644 index fca9bcf4..00000000 --- a/elements/python2-core/mako-python2.bst +++ /dev/null @@ -1,12 +0,0 @@ -kind: distutils -depends: -- core.bst -- python2-core/python2.bst -- python2-core/python2-setuptools.bst -sources: -- kind: git - url: upstream:python-packages/mako.git - track: rel_1_0_0 - ref: 285bc818a50ccc0f9549630f7c4f4c250585c3e7 -variables: - python: python diff --git a/elements/python2-core/pbr-python2.bst b/elements/python2-core/pbr-python2.bst deleted file mode 100644 index 77f3f12d..00000000 --- a/elements/python2-core/pbr-python2.bst +++ /dev/null @@ -1,12 +0,0 @@ -kind: distutils -depends: -- core.bst -- python2-core/python2.bst -- python2-core/python2-setuptools.bst -sources: -- kind: git - url: upstream:pbr - track: 0.11.1 - ref: 6e472b4905411a39e993c81c382a27ca9c771ef5 -variables: - python: python diff --git a/elements/python2-core/python2-lxml.bst b/elements/python2-core/python2-lxml.bst deleted file mode 100644 index ea7b93f4..00000000 --- a/elements/python2-core/python2-lxml.bst +++ /dev/null @@ -1,12 +0,0 @@ -kind: distutils -depends: -- core.bst -- python2-core/python2.bst -- python2-core/cython2.bst -sources: -- kind: git - url: upstream:python-lxml - track: lxml-3.4.0 - ref: 14505bc62f5f1fc9fb0ff007955f3e67ab4562bb -variables: - python: python diff --git a/elements/python2-core/python2-markdown.bst b/elements/python2-core/python2-markdown.bst deleted file mode 100644 index d26f7872..00000000 --- a/elements/python2-core/python2-markdown.bst +++ /dev/null @@ -1,11 +0,0 @@ -kind: distutils -depends: -- core.bst -- python2-core/python2.bst -sources: -- kind: git - url: upstream:python-markdown - track: 2.5.1-final - ref: f0c5b71acbc02af60a33d67c59558bb513b25e74 -variables: - python: python diff --git a/elements/python2-core/python2-requests.bst b/elements/python2-core/python2-requests.bst deleted file mode 100644 index 6f0c4700..00000000 --- a/elements/python2-core/python2-requests.bst +++ /dev/null @@ -1,11 +0,0 @@ -kind: distutils -depends: -- core.bst -- python2-core/python2.bst -sources: -- kind: git - url: upstream:python-requests - track: v2.5.1 - ref: b83131779c701720a9ae9efae78996277d416269 -variables: - python: python diff --git a/elements/python2-core/python2-setuptools.bst b/elements/python2-core/python2-setuptools.bst deleted file mode 100644 index 5ad9740a..00000000 --- a/elements/python2-core/python2-setuptools.bst +++ /dev/null @@ -1,11 +0,0 @@ -kind: distutils -depends: -- core.bst -- python2-core/python2.bst -sources: -- kind: git - url: upstream:python-setuptools-bitbucket - track: baserock/master - ref: 0aa6a4de5931d02876428388678802db2371fd37 -variables: - python: python diff --git a/elements/python2-core/python2.bst b/elements/python2-core/python2.bst deleted file mode 100644 index 4f936478..00000000 --- a/elements/python2-core/python2.bst +++ /dev/null @@ -1,20 +0,0 @@ -kind: autotools -depends: -- core.bst -sources: -- kind: git - url: upstream:cpython - track: v2.7.10 - ref: 57af3f22d11600ca98c0c9073d0b3b57d43f7c4b -config: - configure-commands: - - | - ./configure --prefix="%{prefix}" \ - --enable-shared \ - --with-ensurepip=upgrade \ - --with-system-expat \ - --with-system-ffi - install-commands: - (>): - - ln -sf python2.7 "%{install-root}"/"%{prefix}"/bin/python - - test -x "%{install-root}"/"%{prefix}"/bin/python2 || ln -s python2.7 "%{install-root}"/"%{prefix}"/bin/python2 diff --git a/elements/python2-core/pyyaml-python2.bst b/elements/python2-core/pyyaml-python2.bst deleted file mode 100644 index 1bac7aa7..00000000 --- a/elements/python2-core/pyyaml-python2.bst +++ /dev/null @@ -1,15 +0,0 @@ -kind: manual -depends: -- core.bst -- python2-core/python2.bst -- python2-core/python2-setuptools.bst -sources: -- kind: git - url: upstream:pyyaml - track: baserock/morph - ref: d9fbcceaed39d955f6871b07c61dc42f824285c1 -config: - build-commands: - - python2 setup.py --without-libyaml build - install-commands: - - python2 setup.py --without-libyaml install --prefix="%{prefix}" --root "%{install-root}" diff --git a/elements/python2-core/six-python2.bst b/elements/python2-core/six-python2.bst deleted file mode 100644 index dc4ec29e..00000000 --- a/elements/python2-core/six-python2.bst +++ /dev/null @@ -1,11 +0,0 @@ -kind: distutils -depends: -- core.bst -- python2-core/python2.bst -sources: -- kind: git - url: upstream:six - track: 1.9.0 - ref: 8cfbff6b764af86d825086fa1637aa009e90d75a -variables: - python: python -- cgit v1.2.1