python3Packages.backports_abc: drop
Backport of collections.abc additions from one EOL version to another.
This commit is contained in:
parent
b566505079
commit
d6940e54e9
3 changed files with 2 additions and 26 deletions
|
@ -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";
|
||||
};
|
||||
}
|
|
@ -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" \
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue