pythonPackages.scrapy-deltafetch: Disable tests

This commit is contained in:
Sandro Jäckel 2021-01-08 19:08:46 +01:00
parent 9a33d28fe2
commit f8c2f7583a
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchPypi, buildPythonPackage, pytest, scrapy, bsddb3 }:
{ stdenv, lib, fetchPypi, buildPythonPackage, scrapy, bsddb3 }:
buildPythonPackage rec {
pname = "scrapy-deltafetch";
@ -11,7 +11,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [ bsddb3 scrapy ];
checkInputs = [ pytest ];
# no tests
doCheck = false;
pythonImportsCheck = [ "scrapy_deltafetch" ];
meta = with lib; {
description = "Scrapy spider middleware to ignore requests to pages containing items seen in previous crawls";