Merge pull request #301862 from r-ryantm/auto-update/python312Packages.protego
python312Packages.protego: 0.3.0 -> 0.3.1
This commit is contained in:
@@ -1,32 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "protego";
|
||||
version = "0.3.0";
|
||||
format = "setuptools";
|
||||
version = "0.3.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "Protego";
|
||||
hash = "sha256-BCKL/95Ma8ujHPZSm6LP1uG3CAj9wdLLQwG+ayjWxWg=";
|
||||
hash = "sha256-6UQw0NJcu/I5vISdhsXlRPveUx/Mz6BZlTx9o0ShcSw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "protego" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A pure-Python robots.txt parser with support for modern conventions";
|
||||
description = "Module to parse robots.txt files with support for modern conventions";
|
||||
homepage = "https://github.com/scrapy/protego";
|
||||
changelog = "https://github.com/scrapy/protego/blob/${version}/CHANGELOG.rst";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
maintainers = with maintainers; [ marsam ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user