Merge pull request #17339 from FRidh/rename

Python: move interpreters

authored by Frederik Rietdijk and committed by GitHub c74ad2ee 52b787b0

+26 -23
+2 -2
pkgs/development/interpreters/pypy/default.nix pkgs/development/interpreters/python/pypy/2.7/default.nix
··· 117 inherit zlibSupport libPrefix; 118 executable = "pypy"; 119 isPypy = true; 120 - buildEnv = callPackage ../python/wrapper.nix { python = self; }; 121 interpreter = "${self}/bin/${executable}"; 122 sitePackages = "site-packages"; 123 - withPackages = import ../python/with-packages.nix { inherit buildEnv; pythonPackages = pypyPackages; }; 124 }; 125 126 enableParallelBuilding = true; # almost no parallelization without STM
··· 117 inherit zlibSupport libPrefix; 118 executable = "pypy"; 119 isPypy = true; 120 + buildEnv = callPackage ../../wrapper.nix { python = self; }; 121 interpreter = "${self}/bin/${executable}"; 122 sitePackages = "site-packages"; 123 + withPackages = import ../../with-packages.nix { inherit buildEnv; pythonPackages = pypyPackages; }; 124 }; 125 126 enableParallelBuilding = true; # almost no parallelization without STM
pkgs/development/interpreters/pypy/setup-hook.sh pkgs/development/interpreters/python/pypy/2.7/setup-hook.sh
+2 -2
pkgs/development/interpreters/python/2.6/default.nix pkgs/development/interpreters/python/cpython/2.6/default.nix
··· 99 inherit zlibSupport; 100 isPy2 = true; 101 isPy26 = true; 102 - buildEnv = callPackage ../wrapper.nix { python = self; }; 103 - withPackages = import ../with-packages.nix { inherit buildEnv; pythonPackages = python26Packages; }; 104 libPrefix = "python${majorVersion}"; 105 executable = libPrefix; 106 sitePackages = "lib/${libPrefix}/site-packages";
··· 99 inherit zlibSupport; 100 isPy2 = true; 101 isPy26 = true; 102 + buildEnv = callPackage ../../wrapper.nix { python = self; }; 103 + withPackages = import ../../with-packages.nix { inherit buildEnv; pythonPackages = python26Packages; }; 104 libPrefix = "python${majorVersion}"; 105 executable = libPrefix; 106 sitePackages = "lib/${libPrefix}/site-packages";
pkgs/development/interpreters/python/2.6/nix-store-mtime.patch pkgs/development/interpreters/python/cpython/2.6/nix-store-mtime.patch
pkgs/development/interpreters/python/2.6/python2.6-fix-parallel-make.patch pkgs/development/interpreters/python/cpython/2.6/python2.6-fix-parallel-make.patch
pkgs/development/interpreters/python/2.6/search-path.patch pkgs/development/interpreters/python/cpython/2.6/search-path.patch
pkgs/development/interpreters/python/2.6/setup-hook.sh pkgs/development/interpreters/python/cpython/2.6/setup-hook.sh
pkgs/development/interpreters/python/2.7/2.5.2-ctypes-util-find_library.patch pkgs/development/interpreters/python/cpython/2.7/2.5.2-ctypes-util-find_library.patch
pkgs/development/interpreters/python/2.7/2.5.2-tkinter-x11.patch pkgs/development/interpreters/python/cpython/2.7/2.5.2-tkinter-x11.patch
pkgs/development/interpreters/python/2.7/2.6.2-ssl-threads.patch pkgs/development/interpreters/python/cpython/2.7/2.6.2-ssl-threads.patch
pkgs/development/interpreters/python/2.7/2.6.5-FD_SETSIZE.patch pkgs/development/interpreters/python/cpython/2.7/2.6.5-FD_SETSIZE.patch
pkgs/development/interpreters/python/2.7/2.6.5-export-PySignal_SetWakeupFd.patch pkgs/development/interpreters/python/cpython/2.7/2.6.5-export-PySignal_SetWakeupFd.patch
pkgs/development/interpreters/python/2.7/2.6.5-ncurses-abi6.patch pkgs/development/interpreters/python/cpython/2.7/2.6.5-ncurses-abi6.patch
pkgs/development/interpreters/python/2.7/2.7.3-dbm.patch pkgs/development/interpreters/python/cpython/2.7/2.7.3-dbm.patch
pkgs/development/interpreters/python/2.7/2.7.3-dylib.patch pkgs/development/interpreters/python/cpython/2.7/2.7.3-dylib.patch
pkgs/development/interpreters/python/2.7/2.7.3-getpath-exe-extension.patch pkgs/development/interpreters/python/cpython/2.7/2.7.3-getpath-exe-extension.patch
pkgs/development/interpreters/python/2.7/2.7.3-no-libm.patch pkgs/development/interpreters/python/cpython/2.7/2.7.3-no-libm.patch
+2 -2
pkgs/development/interpreters/python/2.7/default.nix pkgs/development/interpreters/python/cpython/2.7/default.nix
··· 160 inherit zlibSupport; 161 isPy2 = true; 162 isPy27 = true; 163 - buildEnv = callPackage ../wrapper.nix { python = self; }; 164 - withPackages = import ../with-packages.nix { inherit buildEnv; pythonPackages = python27Packages; }; 165 libPrefix = "python${majorVersion}"; 166 executable = libPrefix; 167 sitePackages = "lib/${libPrefix}/site-packages";
··· 160 inherit zlibSupport; 161 isPy2 = true; 162 isPy27 = true; 163 + buildEnv = callPackage ../../wrapper.nix { python = self; }; 164 + withPackages = import ../../with-packages.nix { inherit buildEnv; pythonPackages = python27Packages; }; 165 libPrefix = "python${majorVersion}"; 166 executable = libPrefix; 167 sitePackages = "lib/${libPrefix}/site-packages";
pkgs/development/interpreters/python/2.7/deterministic-build.patch pkgs/development/interpreters/python/cpython/2.7/deterministic-build.patch
pkgs/development/interpreters/python/2.7/nix-store-mtime.patch pkgs/development/interpreters/python/cpython/2.7/nix-store-mtime.patch
pkgs/development/interpreters/python/2.7/no-ldconfig.patch pkgs/development/interpreters/python/cpython/2.7/no-ldconfig.patch
pkgs/development/interpreters/python/2.7/properly-detect-curses.patch pkgs/development/interpreters/python/cpython/2.7/properly-detect-curses.patch
pkgs/development/interpreters/python/2.7/search-path.patch pkgs/development/interpreters/python/cpython/2.7/search-path.patch
pkgs/development/interpreters/python/2.7/setup-hook.sh pkgs/development/interpreters/python/cpython/2.7/setup-hook.sh
+2 -2
pkgs/development/interpreters/python/3.3/default.nix pkgs/development/interpreters/python/cpython/3.3/default.nix
··· 88 tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null); 89 libPrefix = "python${majorVersion}"; 90 executable = "python3.3m"; 91 - buildEnv = callPackage ../wrapper.nix { python = self; }; 92 - withPackages = import ../with-packages.nix { inherit buildEnv; pythonPackages = python33Packages; }; 93 isPy3 = true; 94 isPy33 = true; 95 is_py3k = true; # deprecated
··· 88 tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null); 89 libPrefix = "python${majorVersion}"; 90 executable = "python3.3m"; 91 + buildEnv = callPackage ../../wrapper.nix { python = self; }; 92 + withPackages = import ../../with-packages.nix { inherit buildEnv; pythonPackages = python33Packages; }; 93 isPy3 = true; 94 isPy33 = true; 95 is_py3k = true; # deprecated
pkgs/development/interpreters/python/3.3/setup-hook.sh pkgs/development/interpreters/python/cpython/3.3/setup-hook.sh
+2 -2
pkgs/development/interpreters/python/3.4/default.nix pkgs/development/interpreters/python/cpython/3.4/default.nix
··· 111 tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null); 112 libPrefix = "python${majorVersion}"; 113 executable = "python3.4m"; 114 - buildEnv = callPackage ../wrapper.nix { python = self; }; 115 - withPackages = import ../with-packages.nix { inherit buildEnv; pythonPackages = python34Packages; }; 116 isPy3 = true; 117 isPy34 = true; 118 is_py3k = true; # deprecated
··· 111 tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null); 112 libPrefix = "python${majorVersion}"; 113 executable = "python3.4m"; 114 + buildEnv = callPackage ../../wrapper.nix { python = self; }; 115 + withPackages = import ../../with-packages.nix { inherit buildEnv; pythonPackages = python34Packages; }; 116 isPy3 = true; 117 isPy34 = true; 118 is_py3k = true; # deprecated
pkgs/development/interpreters/python/3.4/setup-hook.sh pkgs/development/interpreters/python/cpython/3.4/setup-hook.sh
+2 -2
pkgs/development/interpreters/python/3.5/default.nix pkgs/development/interpreters/python/cpython/3.5/default.nix
··· 111 tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null); 112 libPrefix = "python${majorVersion}"; 113 executable = "python${majorVersion}m"; 114 - buildEnv = callPackage ../wrapper.nix { python = self; }; 115 - withPackages = import ../with-packages.nix { inherit buildEnv; pythonPackages = python35Packages; }; 116 isPy3 = true; 117 isPy35 = true; 118 is_py3k = true; # deprecated
··· 111 tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null); 112 libPrefix = "python${majorVersion}"; 113 executable = "python${majorVersion}m"; 114 + buildEnv = callPackage ../../wrapper.nix { python = self; }; 115 + withPackages = import ../../with-packages.nix { inherit buildEnv; pythonPackages = python35Packages; }; 116 isPy3 = true; 117 isPy35 = true; 118 is_py3k = true; # deprecated
pkgs/development/interpreters/python/3.5/setup-hook.sh pkgs/development/interpreters/python/cpython/3.5/setup-hook.sh
+2 -2
pkgs/development/interpreters/python/3.6/default.nix pkgs/development/interpreters/python/cpython/3.6/default.nix
··· 115 tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null); 116 libPrefix = "python${majorVersion}"; 117 executable = "python${majorVersion}m"; 118 - buildEnv = callPackage ../wrapper.nix { python = self; }; 119 - withPackages = import ../with-packages.nix { inherit buildEnv; pythonPackages = python36Packages; }; 120 isPy3 = true; 121 isPy35 = true; 122 is_py3k = true; # deprecated
··· 115 tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null); 116 libPrefix = "python${majorVersion}"; 117 executable = "python${majorVersion}m"; 118 + buildEnv = callPackage ../../wrapper.nix { python = self; }; 119 + withPackages = import ../../with-packages.nix { inherit buildEnv; pythonPackages = python36Packages; }; 120 isPy3 = true; 121 isPy35 = true; 122 is_py3k = true; # deprecated
pkgs/development/interpreters/python/3.6/setup-hook.sh pkgs/development/interpreters/python/cpython/3.6/setup-hook.sh
pkgs/development/interpreters/python/docs/2.6-html.nix pkgs/development/interpreters/python/cpython/docs/2.6-html.nix
pkgs/development/interpreters/python/docs/2.6-pdf-a4.nix pkgs/development/interpreters/python/cpython/docs/2.6-pdf-a4.nix
pkgs/development/interpreters/python/docs/2.6-pdf-letter.nix pkgs/development/interpreters/python/cpython/docs/2.6-pdf-letter.nix
pkgs/development/interpreters/python/docs/2.6-text.nix pkgs/development/interpreters/python/cpython/docs/2.6-text.nix
pkgs/development/interpreters/python/docs/2.7-html.nix pkgs/development/interpreters/python/cpython/docs/2.7-html.nix
pkgs/development/interpreters/python/docs/2.7-pdf-a4.nix pkgs/development/interpreters/python/cpython/docs/2.7-pdf-a4.nix
pkgs/development/interpreters/python/docs/2.7-pdf-letter.nix pkgs/development/interpreters/python/cpython/docs/2.7-pdf-letter.nix
pkgs/development/interpreters/python/docs/2.7-text.nix pkgs/development/interpreters/python/cpython/docs/2.7-text.nix
pkgs/development/interpreters/python/docs/3.3-html.nix pkgs/development/interpreters/python/cpython/docs/3.3-html.nix
pkgs/development/interpreters/python/docs/3.3-pdf-a4.nix pkgs/development/interpreters/python/cpython/docs/3.3-pdf-a4.nix
pkgs/development/interpreters/python/docs/3.3-pdf-letter.nix pkgs/development/interpreters/python/cpython/docs/3.3-pdf-letter.nix
pkgs/development/interpreters/python/docs/3.3-text.nix pkgs/development/interpreters/python/cpython/docs/3.3-text.nix
pkgs/development/interpreters/python/docs/default.nix pkgs/development/interpreters/python/cpython/docs/default.nix
pkgs/development/interpreters/python/docs/generate.sh pkgs/development/interpreters/python/cpython/docs/generate.sh
pkgs/development/interpreters/python/docs/template.nix pkgs/development/interpreters/python/cpython/docs/template.nix
+12 -9
pkgs/top-level/all-packages.nix
··· 5887 python2Packages = python27Packages; 5888 python3Packages = python35Packages; 5889 5890 - python26 = callPackage ../development/interpreters/python/2.6 { 5891 db = db47; 5892 self = python26; 5893 }; 5894 - python27 = callPackage ../development/interpreters/python/2.7 { 5895 self = python27; 5896 inherit (darwin) CF configd; 5897 }; 5898 - python33 = callPackage ../development/interpreters/python/3.3 { 5899 self = python33; 5900 }; 5901 - python34 = hiPrio (callPackage ../development/interpreters/python/3.4 { 5902 inherit (darwin) CF configd; 5903 self = python34; 5904 }); 5905 - python35 = hiPrio (callPackage ../development/interpreters/python/3.5 { 5906 inherit (darwin) CF configd; 5907 self = python35; 5908 }); 5909 - python36 = callPackage ../development/interpreters/python/3.6 { 5910 inherit (darwin) CF configd; 5911 self = python36; 5912 }; 5913 - pypy = callPackage ../development/interpreters/pypy { 5914 - self = pypy; 5915 }; 5916 5917 pythonFull = python2Full; ··· 5927 5928 python2nix = callPackage ../tools/package-management/python2nix { }; 5929 5930 - pythonDocs = recurseIntoAttrs (callPackage ../development/interpreters/python/docs {}); 5931 5932 pypi2nix = callPackage ../development/tools/pypi2nix { python = python35; }; 5933
··· 5887 python2Packages = python27Packages; 5888 python3Packages = python35Packages; 5889 5890 + python26 = callPackage ../development/interpreters/python/cpython/2.6 { 5891 db = db47; 5892 self = python26; 5893 }; 5894 + python27 = callPackage ../development/interpreters/python/cpython/2.7 { 5895 self = python27; 5896 inherit (darwin) CF configd; 5897 }; 5898 + python33 = callPackage ../development/interpreters/python/cpython/3.3 { 5899 self = python33; 5900 }; 5901 + python34 = hiPrio (callPackage ../development/interpreters/python/cpython/3.4 { 5902 inherit (darwin) CF configd; 5903 self = python34; 5904 }); 5905 + python35 = hiPrio (callPackage ../development/interpreters/python/cpython/3.5 { 5906 inherit (darwin) CF configd; 5907 self = python35; 5908 }); 5909 + python36 = callPackage ../development/interpreters/python/cpython/3.6 { 5910 inherit (darwin) CF configd; 5911 self = python36; 5912 }; 5913 + 5914 + pypy = pypy27; 5915 + 5916 + pypy27 = callPackage ../development/interpreters/python/pypy/2.7 { 5917 + self = pypy27; 5918 }; 5919 5920 pythonFull = python2Full; ··· 5930 5931 python2nix = callPackage ../tools/package-management/python2nix { }; 5932 5933 + pythonDocs = recurseIntoAttrs (callPackage ../development/interpreters/python/cpython/docs {}); 5934 5935 pypi2nix = callPackage ../development/tools/pypi2nix { python = python35; }; 5936