python310Packages.weakrefmethod: remove

This package is only needed by Python 2. Due to its low usage within
nixpkgs, I feel that it can be maintained out of tree if necessary.

As a benefit, this remove one more dependency on unittest2, which is
unmaintained by upstream, and which we would like to remove.
This commit is contained in:
Theodore Ni 2022-12-01 10:22:51 -08:00
parent 821c943d1b
commit c35afb9aeb
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
3 changed files with 1 additions and 26 deletions

View File

@ -1,24 +0,0 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, unittest2 }:
buildPythonPackage rec {
pname = "weakrefmethod";
version = "1.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-N7wfu1V1rPghctTre2/EQS131aHXDf8sH4pFdDAc2mY=";
};
checkInputs = [
unittest2
];
pythonImportsCheck = [ "weakrefmethod" ];
meta = with lib; {
description = "A WeakMethod class for storing bound methods using weak references";
homepage = "https://github.com/twang817/weakrefmethod";
license = licenses.psfl;
maintainers = with maintainers; [ myaats ];
};
}

View File

@ -216,6 +216,7 @@ mapAliases ({
types-paramiko = throw "types-paramiko has been removed because it was unused."; # added 2022-05-30
Wand = wand; # added 2022-11-13
WazeRouteCalculator = wazeroutecalculator; # added 2021-09-29
weakrefmethod = throw "weakrefmethod was removed since it's not needed in Python >= 3.4"; # added 2022-12-01
webapp2 = throw "webapp2 is unmaintained since 2012"; # added 2022-05-29
websocket_client = websocket-client; # added 2021-06-15
xenomapper = throw "xenomapper was moved to pkgs.xenomapper"; # added 2021-12-31

View File

@ -11893,8 +11893,6 @@ self: super: with self; {
wcwidth = callPackage ../development/python-modules/wcwidth { };
weakrefmethod = callPackage ../development/python-modules/weakrefmethod { };
weasyprint = callPackage ../development/python-modules/weasyprint { };
web3 = callPackage ../development/python-modules/web3 { };