3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #141068 from marsam/update-scrapy

python39Packages.scrapy: 2.5.0 -> 2.5.1
This commit is contained in:
Mario Rodas 2021-10-09 08:43:27 -05:00 committed by GitHub
commit c52c3ab49e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
, buildPythonPackage
, cryptography
, cssselect
, fetchFromGitHub
, fetchPypi
, fetchpatch
, glibcLocales
, installShellFiles
@ -31,14 +31,13 @@
buildPythonPackage rec {
pname = "scrapy";
version = "2.5.0";
version = "2.5.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "09lxnjz1cw37i9bgk8sci2xxknj20gi2lq8l7i0b3xw7q8bxzp7h";
src = fetchPypi {
inherit version;
pname = "Scrapy";
sha256 = "13af6032476ab4256158220e530411290b3b934dd602bb6dacacbf6d16141f49";
};
nativeBuildInputs = [
@ -82,7 +81,8 @@ buildPythonPackage rec {
(fetchpatch {
name = "remove-h2.patch";
url = "https://github.com/scrapy/scrapy/commit/c5b1ee810167266fcd259f263dbfc0fe0204761a.patch";
sha256 = "1gw28wg8qcb0al59rz214hm17smspi6j5kg62nr1r850pykyrsqk";
sha256 = "0sa39yx9my4nqww8a12bk9zagx7b56vwy7xpxm4xgjapjl6mcc0k";
excludes = [ "tox.ini" ];
})
];
@ -140,6 +140,7 @@ buildPythonPackage rec {
range of purposes, from data mining to monitoring and automated testing.
'';
homepage = "https://scrapy.org/";
changelog = "https://github.com/scrapy/scrapy/raw/${version}/docs/news.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ drewkett marsam ];
platforms = platforms.unix;