pythonPackages: remove traces of Python 2.6

This commit is contained in:
Frederik Rietdijk
2018-06-25 10:50:44 +02:00
parent 6806fb5e48
commit 1dd0109c8c
7 changed files with 32 additions and 63 deletions

View File

@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, isPy33, isPy26, isPy27, isPyPy, python, pycares, asyncio, trollius }:
, isPy33, isPy27, isPyPy, python, pycares, asyncio, trollius }:
buildPythonPackage rec {
pname = "aiodns";
@@ -10,9 +10,9 @@ buildPythonPackage rec {
sha256 = "d8677adc679ce8d0ef706c14d9c3d2f27a0e0cc11d59730cdbaf218ad52dd9ea";
};
propagatedBuildInputs = with stdenv.lib; [ pycares ]
++ optional isPy33 asyncio
++ optional (isPy26 || isPy27 || isPyPy) trollius;
propagatedBuildInputs = with stdenv.lib; [ pycares ]
++ optional isPy33 asyncio
++ optional (isPy27 || isPyPy) trollius;
checkPhase = ''
${python.interpreter} tests.py