Merge pull request #202146 from marsam/update-cssselect
python310Packages.cssselect: 1.1.0 -> 1.2.0
This commit is contained in:
commit
d78abeea25
1 changed files with 30 additions and 5 deletions
|
@ -1,17 +1,42 @@
|
|||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
, lxml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cssselect";
|
||||
version = "1.1.0";
|
||||
version = "1.2.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f95f8dedd925fd8f54edb3d2dfb44c190d9d18512377d3c1e2388d16126879bc";
|
||||
sha256 = "666b19839cfaddb9ce9d36bfe4c969132c647b92fc9088c4e23f786b30f1b3dc";
|
||||
};
|
||||
|
||||
# AttributeError: 'module' object has no attribute 'tests'
|
||||
doCheck = false;
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
lxml
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cssselect"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CSS Selectors for Python";
|
||||
homepage = "https://cssselect.readthedocs.io/";
|
||||
changelog = "https://github.com/scrapy/cssselect/v${version}//CHANGES";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue