commit:     e13f01d229eec16dc795016631f778e028679cf8
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail 
<DOT> com>
AuthorDate: Tue Jun 28 20:26:36 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Jun 29 07:13:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e13f01d2

app-admin/python-update: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/1789

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 .../files/python-updater-0.10-expand-aliases.patch | 11 -----------
 ...hon-updater-0.10-only-alias-sed-if-exists.patch | 23 ----------------------
 2 files changed, 34 deletions(-)

diff --git 
a/app-admin/python-updater/files/python-updater-0.10-expand-aliases.patch 
b/app-admin/python-updater/files/python-updater-0.10-expand-aliases.patch
deleted file mode 100644
index d48e221..0000000
--- a/app-admin/python-updater/files/python-updater-0.10-expand-aliases.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- python-updater
-+++ python-updater
-@@ -67,6 +67,8 @@
- # Portage variables.
- PKG_DBDIR="/var/db/pkg"
- 
-+shopt -s expand_aliases
-+
- # usage()
- # display usage
- usage() {

diff --git 
a/app-admin/python-updater/files/python-updater-0.10-only-alias-sed-if-exists.patch
 
b/app-admin/python-updater/files/python-updater-0.10-only-alias-sed-if-exists.patch
deleted file mode 100644
index 20051f5..0000000
--- 
a/app-admin/python-updater/files/python-updater-0.10-only-alias-sed-if-exists.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Only alias sed to /usr/lib/portage/bin/ebuild-helpers/sed if the
-latter exists (which should be the case on prefix portages, but not on
-normal ones). Fixes fallout from bug #370935 on non-prefix portages.
-
---- python-updater
-+++ python-updater
-@@ -488,8 +488,15 @@
-       shift
- done
- 
-+# On a prefix portage we need to use sed from ebuild-helpers/ instead
-+# of $PATH. On non-prefix portages ebuild-helpers/sed does not exist.
-+# Prepending ebuild-helpers/ to $PATH uses too many tools from there.
-+# So alias sed to ebuild-helpers/sed if it exists:
- if [[ "${PMS_COMMAND[${PMS_INDEX}]}" == "emerge" ]]; then
--      alias sed="$(/usr/bin/python -c "import os; 
print(os.path.dirname(os.path.realpath('$(type -p 
emerge)')))")/ebuild-helpers/sed"
-+      sed="$(/usr/bin/python -c "import os; 
print(os.path.dirname(os.path.realpath('$(type -p 
emerge)')))")/ebuild-helpers/sed"
-+      if [[ -x "${sed}" ]]; then
-+              alias sed="${sed}"
-+      fi
- fi
- 
- if has_version "=dev-lang/python-2*"; then

Reply via email to