From 18b1fb4a78cfa208f971d88d3fccab63f7feb5c3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 17 Jul 2019 10:28:33 +0300 Subject: [PATCH] python: Revert auto rebuilding osubpackages. --- extra/python/build | 21 --------------------- extra/python/post-install | 15 --------------- extra/python/version | 2 +- 3 files changed, 1 insertion(+), 37 deletions(-) delete mode 100755 extra/python/post-install diff --git a/extra/python/build b/extra/python/build index a70ce009..4ee4efed 100755 --- a/extra/python/build +++ b/extra/python/build @@ -8,24 +8,3 @@ make make DESTDIR="$1" install ln -s python3 "$1/usr/bin/python" - -# Rebuild all python subpackages if required. -{ - # Exit here if python is not installed. - command -v python3 >/dev/null || exit 0 - - # Figure out the system's python version. - python_sys=$(kiss l python) - python_sys=${python_sys#* } - python_sys=${python_sys#?.} - python_sys=${python_sys%.*} - - # Figure out this python version. - read -r python_repo _ < "${0%/*}/version" - python_repo=${python_repo#?.} - python_repo=${python_repo%.*} - - # If the two python versions differ, tell post-install to rebuild. - [ "$python_sys" = "$python_repo" ] || - :>/tmp/python-REBUILD -} diff --git a/extra/python/post-install b/extra/python/post-install deleted file mode 100755 index c3068122..00000000 --- a/extra/python/post-install +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -e - -[ -f /tmp/python-REBUILD ] || exit 0 - -rm -f /tmp/python-REBUILD - -# Rebuild all python subpackages if the above file existed. -kiss l | while read -r pkg _; do - case $pkg in - python-*) - kiss build "$pkg" - kiss install "$pkg" - ;; - esac -done diff --git a/extra/python/version b/extra/python/version index b58d2fb4..0ee01e5a 100644 --- a/extra/python/version +++ b/extra/python/version @@ -1 +1 @@ -3.6.8 2 +3.6.8 3