pythonPackages.gssapi: 1.6.2 -> 1.6.9
This commit is contained in:
parent
fb570ba1de
commit
9a472166af
@ -1,14 +1,13 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, six
|
, six
|
||||||
, enum34
|
|
||||||
, decorator
|
, decorator
|
||||||
, nose
|
, nose
|
||||||
, krb5Full
|
, krb5Full
|
||||||
, darwin
|
, darwin
|
||||||
, isPy27
|
|
||||||
, parameterized
|
, parameterized
|
||||||
, shouldbe
|
, shouldbe
|
||||||
, cython
|
, cython
|
||||||
@ -18,13 +17,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "gssapi";
|
pname = "gssapi";
|
||||||
version = "1.6.2";
|
version = "1.6.9";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pythongssapi";
|
owner = "pythongssapi";
|
||||||
repo = "python-${pname}";
|
repo = "python-${pname}";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "195x3zqzyv491i9hf7l4asmic5pb2w3l1r7bps89651wkb3mrz1l";
|
sha256 = "1shm3pc0l2r91qadkpq4bx45my0165nw3kdcp0gw4lk50z215hag";
|
||||||
};
|
};
|
||||||
|
|
||||||
# It's used to locate headers
|
# It's used to locate headers
|
||||||
@ -41,7 +41,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
decorator
|
decorator
|
||||||
six
|
six
|
||||||
] ++ lib.optional isPy27 enum34;
|
];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
darwin.apple_sdk.frameworks.GSS
|
darwin.apple_sdk.frameworks.GSS
|
||||||
@ -55,7 +55,8 @@ buildPythonPackage rec {
|
|||||||
six
|
six
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin; # many failures on darwin
|
doCheck = pythonOlder "3.8" # `shouldbe` not available
|
||||||
|
&& !stdenv.isDarwin; # many failures on darwin
|
||||||
|
|
||||||
# skip tests which fail possibly due to be an upstream issue (see
|
# skip tests which fail possibly due to be an upstream issue (see
|
||||||
# https://github.com/pythongssapi/python-gssapi/issues/220)
|
# https://github.com/pythongssapi/python-gssapi/issues/220)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user