dev-lang/python-3.6.5: Add 3.6 alongside 3.4

Add python-3.6 to the sdk, but do not replace python-3.4.

The primary motivation is that meson-0.45 dropped support for python-3.4
and requires at least python-3.5.

I dropped all the ChromeOS-specific cross-compile patches from
python-3.4.7-r2.ebuild; I did not forward-port them to
python-3.6.5.ebuild. Those patches did not work, even when
"cross-compiling" to an x86_64 sysroot, such as BOARD=eve. As evidence,
the following commands prove both fail, proving the patches do not work:

  $ emerge-eve =dev-lang/python-3.4.7-r2
  $ ebuild-eve python-3.4.7-r2.ebuild compile

The upgrade plan for Python is that sdk will continue to use python-3.4
as the default Python version until all dependencies of
virtual/target-sdk support USE=python_targets_python3_6. Until then, we
can selectively enable USE=python_targets_python3_6 in package.use for
the packages that do not support python-3.4.

BUG=chromium:884766
TEST=# Verify no conflicts pre-merge
     sudo emerge -p1UND @world dev-lang/python:3.6
     # Install
     sudo emerge dev-lang/python:3.6
     # Verify no surprise conflicts post-merge
     sudo emerge -p1UND @world
     # Confirm that 3.4 remains installed and that each wrapper points
     # to the same version as before.
     python --version # expect 2.7
     python2 -- version # expect 2.7
     python3 --version # expect 3.4
     python3.4 --version # expect 3.4
     python3.6 --version # expect 3.6

Change-Id: Ibaf383ffe5260ac64aed4f72e435ad927569e755
Reviewed-on: https://chromium-review.googlesource.com/1315771
Commit-Ready: Chad Versace <chadversary@chromium.org>
Tested-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Daniel Campello <campello@chromium.org>
diff --git a/dev-lang/python/files/python-3.6.5-ldshared.patch b/dev-lang/python/files/python-3.6.5-ldshared.patch
new file mode 100644
index 0000000..81c390e
--- /dev/null
+++ b/dev-lang/python/files/python-3.6.5-ldshared.patch
@@ -0,0 +1,19 @@
+This fixes the problem that when CC is set, the LDSHAREd is not
+set accordingly on linux.
+Upstream bug filed at https://bugs.python.org/issue24935
+
+--- a/Lib/distutils/sysconfig.py
++++ b/Lib/distutils/sysconfig.py
+@@ -207,10 +207,10 @@ def customize_compiler(compiler):
+ 
+         if 'CC' in os.environ:
+             newcc = os.environ['CC']
+-            if (sys.platform == 'darwin'
++            if ((sys.platform == 'darwin' or sys.platform.startswith('linux'))
+                     and 'LDSHARED' not in os.environ
+                     and ldshared.startswith(cc)):
+-                # On OS X, if CC is overridden, use that as the default
++                # On OS X and linux, if CC is overridden, use that as the default
+                 #       command for LDSHARED as well
+                 ldshared = newcc + ldshared[len(cc):]
+             cc = newcc