Merge pull request #206871 from fabaff/w3lib-bump
python310Packages.w3lib: 2.0.1 -> 2.1.1
This commit is contained in:
@@ -95,6 +95,7 @@ buildPythonPackage rec {
|
||||
"test_nested_css"
|
||||
"test_nested_xpath"
|
||||
"test_flavor_detection"
|
||||
"test_follow_whitespace"
|
||||
# Requires network access
|
||||
"AnonymousFTPTestCase"
|
||||
"FTPFeedStorageTest"
|
||||
|
||||
@@ -1,31 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "w3lib";
|
||||
version = "2.0.1";
|
||||
version = "2.1.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-E98V+MF7Fj3g/V+qiSwa0UPhkN/L25hTS7l16zfGx9Y=";
|
||||
hash = "sha256-DhGY8bdFGVtrPdGkzWYBH7+C8wpNnauu4fnlyG8CAnQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
pythonImportsCheck = [ "w3lib" ];
|
||||
pythonImportsCheck = [
|
||||
"w3lib"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_add_or_replace_parameter"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library of web-related functions";
|
||||
description = "Library of web-related functions";
|
||||
homepage = "https://github.com/scrapy/w3lib";
|
||||
changelog = "https://github.com/scrapy/w3lib/blob/v${version}/NEWS";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user