1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

pythonPackages.selectors34: drop

package is abandonded and supports only Python < 3.4
This commit is contained in:
Markus S. Wamser 2021-05-29 22:40:21 +02:00
parent 4c971831b7
commit 2d82a3e2ca
4 changed files with 4 additions and 33 deletions

View file

@ -7,7 +7,6 @@
, cloudpickle
, msgpack
, isPy27
, selectors34
, pytestCheckHook
}:
@ -15,6 +14,8 @@ buildPythonPackage rec {
pname = "Pyro4";
version = "4.80";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "46847ca703de3f483fbd0b2d22622f36eff03e6ef7ec7704d4ecaa3964cb2220";
@ -22,7 +23,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
serpent
] ++ lib.optionals isPy27 [ selectors34 ];
];
buildInputs = [
dill

View file

@ -1,29 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
, six
}:
buildPythonPackage rec {
pname = "selectors34";
version = "1.2";
src = fetchPypi {
inherit pname version;
sha256 = "09f5066337f8a76fb5233f267873f89a27a17c10bf79575954894bb71686451c";
};
propagatedBuildInputs = [ six ];
checkPhase = ''
${python.interpreter} setup.py test
'';
meta = with lib; {
description = "A backport of the selectors module from Python 3.4";
homepage = "https://github.com/berkerpeksag/selectors34";
license = licenses.psfl;
maintainers = with maintainers; [ prusnak ];
};
}

View file

@ -48,6 +48,7 @@ mapAliases ({
pytest-pep8 = pytestpep8; # added 2021-01-04
pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10
qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # Added 2021-06-10
setuptools_scm = setuptools-scm; # added 2021-06-03
smart_open = smart-open; # added 2021-03-14
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14

View file

@ -7666,8 +7666,6 @@ in {
selectors2 = callPackage ../development/python-modules/selectors2 { };
selectors34 = callPackage ../development/python-modules/selectors34 { };
selenium = callPackage ../development/python-modules/selenium { };
semantic-version = callPackage ../development/python-modules/semantic-version { };