Merge pull request #103360 from jonringer/python39
[staging] python39Packages: recurseintoAttrs for package set
This commit is contained in:
commit
3eb6d01fa4
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, unittest2 }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, unittest2 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyflakes";
|
||||
@ -11,6 +11,9 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ unittest2 ];
|
||||
|
||||
# some tests are output dependent, which have changed slightly
|
||||
doCheck = pythonOlder "3.9";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://launchpad.net/pyflakes";
|
||||
description = "A simple program which checks Python source files for errors";
|
||||
|
@ -2,7 +2,7 @@
|
||||
, lib
|
||||
, fetchurl
|
||||
, buildPythonPackage
|
||||
, isPy3k, pythonOlder, isPy38
|
||||
, isPy3k, pythonOlder, pythonAtLeast
|
||||
, astor
|
||||
, gast
|
||||
, google-pasta
|
||||
@ -50,8 +50,7 @@ in buildPythonPackage {
|
||||
inherit pname;
|
||||
inherit (packages) version;
|
||||
format = "wheel";
|
||||
|
||||
disabled = isPy38;
|
||||
disabled = pythonAtLeast "3.8";
|
||||
|
||||
src = let
|
||||
pyVerNoDot = lib.strings.stringAsChars (x: if x == "." then "" else x) python.pythonVersion;
|
||||
|
@ -2,7 +2,7 @@
|
||||
, lib
|
||||
, fetchurl
|
||||
, buildPythonPackage
|
||||
, isPy3k, pythonOlder, isPy38
|
||||
, isPy3k, pythonOlder, pythonAtLeast, isPy38
|
||||
, astor
|
||||
, gast
|
||||
, google-pasta
|
||||
@ -54,7 +54,7 @@ in buildPythonPackage {
|
||||
inherit (packages) version;
|
||||
format = "wheel";
|
||||
|
||||
disabled = isPy38;
|
||||
disabled = pythonAtLeast "3.8";
|
||||
|
||||
src = let
|
||||
pyVerNoDot = lib.strings.stringAsChars (x: if x == "." then "" else x) python.pythonVersion;
|
||||
|
@ -10486,7 +10486,7 @@ in
|
||||
python36Packages = python36.pkgs;
|
||||
python37Packages = recurseIntoAttrs python37.pkgs;
|
||||
python38Packages = recurseIntoAttrs python38.pkgs;
|
||||
python39Packages = python39.pkgs;
|
||||
python39Packages = recurseIntoAttrs python39.pkgs;
|
||||
python310Packages = python310.pkgs;
|
||||
pypyPackages = pypy.pkgs;
|
||||
pypy2Packages = pypy2.pkgs;
|
||||
|
Loading…
Reference in New Issue
Block a user