mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
pythonPackages.protobuf: disable tests for python2
setupwheels>=41.4 no longer collects the tests correctly
This commit is contained in:
parent
a1a8c96d8f
commit
cd517668c7
@ -1,12 +1,13 @@
|
||||
{ stdenv, fetchpatch, python, buildPythonPackage, isPy37
|
||||
, protobuf, google_apputils, pyext, libcxx
|
||||
, protobuf, google_apputils, pyext, libcxx, isPy27
|
||||
, disabled, doCheck ? true }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
buildPythonPackage {
|
||||
inherit (protobuf) name src version;
|
||||
inherit disabled doCheck;
|
||||
inherit disabled;
|
||||
doCheck = doCheck && !isPy27; # setuptools>=41.4 no longer collects correctly on python2
|
||||
|
||||
NIX_CFLAGS_COMPILE =
|
||||
# work around python distutils compiling C++ with $CC
|
||||
|
Loading…
Reference in New Issue
Block a user