Merge pull request #140724 from dotlambda/multidict-5.2.0
This commit is contained in:
commit
57d7a7ac60
1 changed files with 5 additions and 4 deletions
|
@ -2,14 +2,14 @@
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, isPy3k
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "multidict";
|
pname = "multidict";
|
||||||
version = "5.2.0";
|
version = "5.2.0";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
@ -17,12 +17,13 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.cfg \
|
sed -i '/^addopts/d' setup.cfg
|
||||||
--replace "--cov=multidict --cov-report term-missing:skip-covered --cov-report xml" ""
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "multidict" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Multidict implementation";
|
description = "Multidict implementation";
|
||||||
homepage = "https://github.com/aio-libs/multidict/";
|
homepage = "https://github.com/aio-libs/multidict/";
|
||||||
|
|
Loading…
Reference in a new issue