app-admin/python-update: remove unused patches
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Tue, 28 Jun 2016 20:26:36 +0000 (22:26 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 29 Jun 2016 07:13:05 +0000 (07:13 +0000)
Closes: https://github.com/gentoo/gentoo/pull/1789

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
app-admin/python-updater/files/python-updater-0.10-expand-aliases.patch [deleted file]
app-admin/python-updater/files/python-updater-0.10-only-alias-sed-if-exists.patch [deleted file]

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 (file)
index d48e221..0000000
+++ /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 (file)
index 20051f5..0000000
+++ /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