mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
python.pkgs.asyncio: remove
> This version is only relevant for Python 3.3, > which does not include asyncio in its stdlib. We don't ship 3.3 anymore.
This commit is contained in:
parent
3172140c19
commit
a4a61777e8
@ -1,5 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy33, pythonOlder,
|
||||
asyncio
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -17,7 +16,5 @@ buildPythonPackage rec {
|
||||
sha256 = "17vrl6jajr81bql7kjgq0zkxy225px97z4g9wmbhbbnvzn1p92c0";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals isPy33 [ asyncio ];
|
||||
|
||||
disabled = pythonOlder "3.3";
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, isPy33, isPy27, isPyPy, python, pycares, typing, asyncio, trollius }:
|
||||
, isPy27, isPyPy, python, pycares, typing, trollius }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiodns";
|
||||
|
@ -3,7 +3,6 @@
|
||||
, fetchPypi
|
||||
, eventlet
|
||||
, trollius
|
||||
, asyncio
|
||||
, mock
|
||||
, python
|
||||
}:
|
||||
@ -17,7 +16,7 @@ buildPythonPackage rec {
|
||||
sha256 = "cecb51ea220209e33b53cfb95124d90e4fcbee3ff8ba8a179a57120b8624b16a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ eventlet trollius asyncio ];
|
||||
propagatedBuildInputs = [ eventlet trollius ];
|
||||
buildInputs = [ mock ];
|
||||
|
||||
# 2 tests error out
|
||||
|
@ -1,10 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy33
|
||||
, pythonOlder
|
||||
, asyncio
|
||||
, singledispatch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -18,8 +15,6 @@ buildPythonPackage rec {
|
||||
|
||||
disabled = pythonOlder "3.3";
|
||||
|
||||
propagatedBuildInputs = lib.optionals isPy33 [ asyncio singledispatch ];
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
|
||||
|
@ -1,18 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy34 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncio";
|
||||
version = "3.4.3";
|
||||
disabled = !isPy34;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0hfbqwk9y0bbfgxzg93s2wyk6gcjsdxlr5jwy97hx64ppkw0ydl3";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Reference implementation of PEP 3156";
|
||||
homepage = http://www.python.org/dev/peps/pep-3156;
|
||||
license = licenses.free;
|
||||
};
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k, isPy33,
|
||||
six, txaio, twisted, zope_interface, cffi, asyncio, trollius, futures,
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k,
|
||||
six, txaio, twisted, zope_interface, cffi, trollius, futures,
|
||||
mock, pytest
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
@ -12,7 +12,6 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six txaio twisted zope_interface cffi ] ++
|
||||
(lib.optional isPy33 asyncio) ++
|
||||
(lib.optionals (!isPy3k) [ trollius futures ]);
|
||||
|
||||
checkInputs = [ mock pytest ];
|
||||
|
@ -3,7 +3,6 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, withVoice ? true, libopus
|
||||
, asyncio
|
||||
, aiohttp
|
||||
, websockets
|
||||
, pynacl
|
||||
@ -18,7 +17,7 @@ buildPythonPackage rec {
|
||||
sha256 = "17fb8814100fbaf7a79468baa432184db6cef3bbea4ad194fe297c7407d50108";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ asyncio aiohttp websockets pynacl ];
|
||||
propagatedBuildInputs = [ aiohttp websockets pynacl ];
|
||||
patchPhase = ''
|
||||
substituteInPlace "requirements.txt" \
|
||||
--replace "aiohttp>=1.0.0,<1.1.0" "aiohttp"
|
||||
|
@ -997,8 +997,6 @@ in {
|
||||
|
||||
astor = callPackage ../development/python-modules/astor {};
|
||||
|
||||
asyncio = callPackage ../development/python-modules/asyncio {};
|
||||
|
||||
asyncssh = callPackage ../development/python-modules/asyncssh { };
|
||||
|
||||
python-fontconfig = callPackage ../development/python-modules/python-fontconfig { };
|
||||
|
Loading…
Reference in New Issue
Block a user