python3Packages.protego: 0.3.1 -> 0.4.0
https://github.com/scrapy/protego/blob/0.4.0/CHANGELOG.rst
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
@@ -9,18 +9,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "protego";
|
||||
version = "0.3.1";
|
||||
version = "0.4.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "Protego";
|
||||
hash = "sha256-6UQw0NJcu/I5vISdhsXlRPveUx/Mz6BZlTx9o0ShcSw=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "scrapy";
|
||||
repo = "protego";
|
||||
tag = version;
|
||||
hash = "sha256-2vyETqRYeof5CzOCXCGUYb5vSyV/eT5+lm2GNWiuaF0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
@@ -29,7 +30,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
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";
|
||||
changelog = "https://github.com/scrapy/protego/blob/${src.tag}/CHANGELOG.rst";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user