summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-eselect/eselect-python/files/eselect-python-20140125-pythonX.Y-config.patch')
-rw-r--r--app-eselect/eselect-python/files/eselect-python-20140125-pythonX.Y-config.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/app-eselect/eselect-python/files/eselect-python-20140125-pythonX.Y-config.patch b/app-eselect/eselect-python/files/eselect-python-20140125-pythonX.Y-config.patch
deleted file mode 100644
index f35cd2c8f0df..000000000000
--- a/app-eselect/eselect-python/files/eselect-python-20140125-pythonX.Y-config.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 3a5909537315dbe624fbd242d8ab25f3926465fb Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Sun, 28 Feb 2016 17:04:40 +0100
-Subject: [PATCH] Use pythonX.Y-config instead of python-config-X.Y
-
----
- python.eselect.in | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/python.eselect.in b/python.eselect.in
-index 9a52791..c40483a 100644
---- a/python.eselect.in
-+++ b/python.eselect.in
-@@ -46,9 +46,9 @@ set_python_config() {
- #!/usr/bin/env bash
- # Gentoo python-config wrapper script
-
--[[ "\${EPYTHON}" =~ (/|^python\$) ]] && EPYTHON="${target/-config-/}"
--python_config="\${EPYTHON/python/python-config-}"
--"\${0%/*}/\${python_config:-${target}}" "\$@"
-+[[ "\${EPYTHON}" =~ (/|^python\$|^$) ]] && EPYTHON="${target%-config}"
-+python_config="\${EPYTHON}-config"
-+"\${0%/*}/\${python_config}" "\$@"
- EOF
- chmod a+rx "${script}"
- }
-@@ -121,7 +121,7 @@ set_scripts_and_symlinks() {
- ln -nfs "${target}" "${target%.*}"
- if [[ "${SET_MAIN_ACTIVE_PYTHON_INTERPRETER}" == "1" ]]; then
- set_python "${target}"
-- set_python_config "${target/python/python-config-}"
-+ set_python_config "${target}-config"
- ln -nfs "${target/python/pydoc}" pydoc
- # idle is optionally installed
- if [[ -f "${target/python/idle}" ]]; then
---
-2.7.2
-