diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-06-28 22:26:36 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-06-29 07:13:05 +0000 |
commit | e13f01d229eec16dc795016631f778e028679cf8 (patch) | |
tree | 300d493c06be300f9bf36d019bab3e65dd98e519 /app-admin/python-updater | |
parent | app-admin/packagekit-base: remove unused patches (diff) | |
download | gentoo-e13f01d229eec16dc795016631f778e028679cf8.tar.gz gentoo-e13f01d229eec16dc795016631f778e028679cf8.tar.bz2 gentoo-e13f01d229eec16dc795016631f778e028679cf8.zip |
app-admin/python-update: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/1789
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-admin/python-updater')
-rw-r--r-- | app-admin/python-updater/files/python-updater-0.10-expand-aliases.patch | 11 | ||||
-rw-r--r-- | app-admin/python-updater/files/python-updater-0.10-only-alias-sed-if-exists.patch | 23 |
2 files changed, 0 insertions, 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 d48e221f2d30..000000000000 --- 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 20051f51594d..000000000000 --- 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 |