python3Packages.backports_abc: drop

Backport of collections.abc additions from one EOL version to another.
This commit is contained in:
Martin Weinelt 2022-11-28 14:46:56 +01:00
parent b566505079
commit d6940e54e9
3 changed files with 2 additions and 26 deletions

View file

@ -1,23 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "backports_abc";
version = "0.5";
src = fetchPypi {
inherit pname version;
sha256 = "033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde";
};
checkInputs = [ unittestCheckHook ];
meta = {
homepage = "https://github.com/cython/backports_abc";
license = lib.licenses.psfl;
description = "A backport of recent additions to the 'collections.abc' module";
};
}

View file

@ -18,7 +18,6 @@ python3.pkgs.buildPythonApplication rec {
propagatedBuildInputs = with python3.pkgs; [
APScheduler
advocate
backports_abc
chardet
flask-babel
flask-login
@ -54,6 +53,8 @@ python3.pkgs.buildPythonApplication rec {
mv cps.py src/calibreweb/__init__.py
mv cps src/calibreweb
sed -i "/backports_abc/d" setup.cfg
substituteInPlace setup.cfg \
--replace "cps = calibreweb:main" "calibre-web = calibreweb:main" \
--replace "chardet>=3.0.0,<4.1.0" "chardet>=3.0.0,<6" \

View file

@ -1098,8 +1098,6 @@ self: super: with self; {
backports-cached-property = callPackage ../development/python-modules/backports-cached-property { };
backports_abc = callPackage ../development/python-modules/backports_abc { };
backports_csv = callPackage ../development/python-modules/backports_csv { };
backports-datetime-fromisoformat = callPackage ../development/python-modules/backports-datetime-fromisoformat { };