diff --git a/etc/portage/patches/dev-python/urlgrabber/python2-shebang.patch b/etc/portage/patches/dev-python/urlgrabber/python2-shebang.patch new file mode 100644 index 0000000..7a760b9 --- /dev/null +++ b/etc/portage/patches/dev-python/urlgrabber/python2-shebang.patch @@ -0,0 +1,18 @@ +diff -ru a/scripts/urlgrabber b/scripts/urlgrabber +--- a/scripts/urlgrabber 2013-08-26 02:09:07.000000000 -0500 ++++ b/scripts/urlgrabber 2017-05-19 07:50:43.146566860 -0500 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python -t ++#!/usr/bin/python2 -t + + # This library is free software; you can redistribute it and/or + # modify it under the terms of the GNU Lesser General Public +diff -ru a/scripts/urlgrabber-ext-down b/scripts/urlgrabber-ext-down +--- a/scripts/urlgrabber-ext-down 2013-08-26 02:09:07.000000000 -0500 ++++ b/scripts/urlgrabber-ext-down 2017-05-19 07:50:49.098783105 -0500 +@@ -1,4 +1,4 @@ +-#! /usr/bin/python ++#! /usr/bin/python2 + # A very simple external downloader + # Copyright 2011-2012 Zdenek Pavlas + diff --git a/etc/portage/patches/sys-apps/yum/shebang-python2.patch b/etc/portage/patches/sys-apps/yum/shebang-python2.patch new file mode 100644 index 0000000..935d7e2 --- /dev/null +++ b/etc/portage/patches/sys-apps/yum/shebang-python2.patch @@ -0,0 +1,16 @@ +--- a/bin/yum.py 2017-05-19 07:46:21.720998112 -0500 ++++ b/bin/yum.py 2017-05-19 07:46:03.601283796 -0500 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + import sys + try: + import yum +--- a/bin/yum-updatesd.py 2017-05-19 07:46:31.034365265 -0500 ++++ b/bin/yum-updatesd.py 2017-05-19 07:46:03.601283796 -0500 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + import sys, os + import optparse +