Merge pull request from dotlambda/multidict-5.2.0

This commit is contained in:
Sandro 2021-10-15 15:18:41 +02:00 committed by GitHub
commit 57d7a7ac60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,14 +2,14 @@
, fetchPypi
, buildPythonPackage
, pytestCheckHook
, isPy3k
, pythonOlder
}:
buildPythonPackage rec {
pname = "multidict";
version = "5.2.0";
disabled = !isPy3k;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
@ -17,12 +17,13 @@ buildPythonPackage rec {
};
postPatch = ''
substituteInPlace setup.cfg \
--replace "--cov=multidict --cov-report term-missing:skip-covered --cov-report xml" ""
sed -i '/^addopts/d' setup.cfg
'';
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "multidict" ];
meta = with lib; {
description = "Multidict implementation";
homepage = "https://github.com/aio-libs/multidict/";