python310Packages.backports_unittest-mock: remove

we no longer need to backport to python3.2
This commit is contained in:
natsukium 2023-07-28 23:59:56 +09:00
parent 1b8e164a06
commit 0e1093ec31
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53
4 changed files with 1 additions and 30 deletions

View file

@ -1,26 +0,0 @@
{ lib, buildPythonPackage, fetchPypi, setuptools-scm, mock }:
buildPythonPackage rec {
pname = "backports.unittest_mock";
version = "1.5";
src = fetchPypi {
inherit pname version;
sha256 = "eff58e53de8fdeb27a1c87a9d57e7b91d15d1bc3854e85344b1a2e69f31ecda7";
};
propagatedBuildInputs = [ mock ];
buildInputs = [ setuptools-scm ];
# does not contain tests
doCheck = false;
pythonImportsCheck = [ "backports.unittest_mock" ];
meta = with lib; {
description = "Provides a function install() which makes the mock module";
homepage = "https://github.com/jaraco/backports.unittest_mock";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}

View file

@ -1,5 +1,4 @@
{ lib
, backports_unittest-mock
, buildPythonPackage
, fetchPypi
, pytestCheckHook
@ -26,7 +25,6 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
backports_unittest-mock
pytestCheckHook
];

View file

@ -51,6 +51,7 @@ mapAliases ({
backports_csv = throw "backports_csv has been removed, since we no longer need to backport to python2"; # added 2023-07-28
backports_functools_lru_cache = throw "backports_functools_lru_cache has been removed, since we no longer need to backport to python3.2"; # added 2023-07-28
backports_tempfile = throw "backports_tempfile has been removed, since we no longer need to backport to python3.3"; # added 2023-07-28
backports_unittest-mock = throw "backports_unittest-mock has been removed, since we no longer need to backport to python3.2"; # added 2023-07-28
bedup = throw "bedup was removed because it was broken and abandoned upstream"; # added 2023-02-04
bitcoin-price-api = throw "bitcoin-price-api has been removed, it was using setuptools 2to3 translation feautre, which has been removed in setuptools 58"; # added 2022-02-15
BlinkStick = blinkstick; # added 2023-02-19

View file

@ -1207,8 +1207,6 @@ self: super: with self; {
backports-shutil-which = callPackage ../development/python-modules/backports-shutil-which { };
backports_unittest-mock = callPackage ../development/python-modules/backports_unittest-mock { };
backports_weakref = callPackage ../development/python-modules/backports_weakref { };
backports-zoneinfo = callPackage ../development/python-modules/backports-zoneinfo { };