python313Packages.scrapy-splash: 0.9.0 -> 0.11.1 (#384438)

This commit is contained in:
Robert Schütz
2025-02-23 12:35:43 -08:00
committed by GitHub
2 changed files with 27 additions and 12 deletions
@@ -25,6 +25,8 @@ buildPythonPackage rec {
pythonImportsCheck = [ "scrapy_deltafetch" ];
meta = {
# https://github.com/scrapy-plugins/scrapy-deltafetch/pull/50
broken = lib.versionAtLeast scrapy.version "2.12";
description = "Scrapy spider middleware to ignore requests to pages containing items seen in previous crawls";
homepage = "https://github.com/scrapy-plugins/scrapy-deltafetch";
license = lib.licenses.bsd3;
@@ -1,34 +1,47 @@
{
lib,
fetchPypi,
buildPythonPackage,
fetchFromGitHub,
hypothesis,
pytest-twisted,
pytestCheckHook,
scrapy,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "scrapy-splash";
version = "0.9.0";
format = "setuptools";
version = "0.11.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-7PEwJk3AjgxGHIYH7K13dGimStAd7bJinA+BvV/NcpU=";
src = fetchFromGitHub {
owner = "scrapy-plugins";
repo = "scrapy-splash";
tag = version;
hash = "sha256-eOWqSCuuZtUtaEuAew4g0P67N0zClaguHn2u4ZMT3FU=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
scrapy
six
];
# no tests
doCheck = false;
pythonImportsCheck = [ "scrapy_splash" ];
meta = with lib; {
nativeCheckInputs = [
hypothesis
pytest-twisted
pytestCheckHook
];
meta = {
changelog = "https://github.com/scrapy-plugins/scrapy-splash/blob/${src.tag}/CHANGES.rst";
description = "Scrapy+Splash for JavaScript integration";
homepage = "https://github.com/scrapy-plugins/scrapy-splash";
license = licenses.bsd3;
maintainers = with maintainers; [ evanjs ];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ evanjs ];
};
}