From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0PzfFhBDYGLgCAEAbAwnHQ (envelope-from ) for ; Wed, 20 Apr 2022 19:29:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eAewFhBDYGJZMwEAauVa8A (envelope-from ) for ; Wed, 20 Apr 2022 19:29:52 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3B868386DF for ; Wed, 20 Apr 2022 19:29:52 +0200 (CEST) Received: from localhost ([::1]:37208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhE9H-0000YA-EY for larch@yhetil.org; Wed, 20 Apr 2022 13:29:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhE8Y-0007Us-7b for guix-patches@gnu.org; Wed, 20 Apr 2022 13:29:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53470) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhE8X-0003DN-Tr for guix-patches@gnu.org; Wed, 20 Apr 2022 13:29:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhE8X-0006K7-R4 for guix-patches@gnu.org; Wed, 20 Apr 2022 13:29:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55044] [PATCH 8/8] gnu: Add python-scrapy. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Apr 2022 17:29:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55044 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55044@debbugs.gnu.org Cc: Felix Gruber Received: via spool by 55044-submit@debbugs.gnu.org id=B55044.165047572224203 (code B ref 55044); Wed, 20 Apr 2022 17:29:05 +0000 Received: (at 55044) by debbugs.gnu.org; 20 Apr 2022 17:28:42 +0000 Received: from localhost ([127.0.0.1]:47355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhE89-0006IJ-OY for submit@debbugs.gnu.org; Wed, 20 Apr 2022 13:28:42 -0400 Received: from mout01.posteo.de ([185.67.36.65]:41735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhE87-0006HY-W5 for 55044@debbugs.gnu.org; Wed, 20 Apr 2022 13:28:40 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6B30A240027 for <55044@debbugs.gnu.org>; Wed, 20 Apr 2022 19:28:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1650475714; bh=zjhysv4v/owNK54ZfGUBLigHSWAnWhyJZF6zanXhN78=; h=From:To:Cc:Subject:Date:From; b=GPA3lKHGz4/vphNIbjyhIpTNlLCsIbDWLcG+O7ENdPr+Bm//szgc/gpGlsFkFY40A eB8I3x5WKPJYGgvo5Uts1WiuFbPfxOTVVWm7v4ZV7Z5bgDG6HPihEcmJw7vQFd+vUe Smn/LsX8OFov7Wv6EpNPtaavjvw+RNfuNPR4WeLuyrKLj6sh0s7nodJnNeOZLbKnGm tlV45d87eif86TOsybE5rrSxGm70gn26vagZ6l9J11gFk/prZNm8ioXL44DqD8MOve SS6kOPJIgcHrV+hud7Hcp+n5S1yXLtm4pFQQ6TYe3PwYRwAZ7RXCcM1J/IfzLmhSRx 3HPZ+5QvSwKWA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kk71Y6sg3z6tnh; Wed, 20 Apr 2022 19:28:33 +0200 (CEST) From: Felix Gruber Date: Wed, 20 Apr 2022 17:28:04 +0000 Message-Id: <20220420172804.8849-8-felgru@posteo.net> In-Reply-To: <20220420172518.8609-1-felgru@posteo.net> References: <20220420172518.8609-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650475792; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Sk4Z0WYiERjk9Lw1BmWdvG1Vukx0eAo9+95zCqx0rok=; b=qBSEyZ6bUhQIEpTRMkgf1w2FUWMYb3PI1IYy9f1Q5KIH9m+ac7Wz3AYVXdaaIpfHC7BXxT 1pYKcxU99qF7GkIujWmDSLfOgurTcM0Fwz8F6IWYnp6Cy9ci347Peqn8OIOOFBjD/66b7X 5XWGdOR2jMyI1TJAVP/bdvQNS/X7vdMLJMw7DC1hgFmKuaJkYw5mwwMMz01KBEXSnPfD5Y dhDwv+Zl7Rjslr+WGD+ebbH/TcMOtUf7zYGxyQ+jxf4z6Af7lzAZWe6jYkdZRvNqV7C3Bb 58E9lLgTcLi2wx2hxMH7Qv4BlxxUiJpHWQfT9wHawl/wP9VBmtBfsy5tkhS5KQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650475792; a=rsa-sha256; cv=none; b=TyqBqoNWl60jDizeDYxF1V1KKwsBaC1lGAGmRaXoR8pMWIIbmaI9KT71GKtLIGUI742+DA 9ojL6t8WrYiiBPOlDfDQAv6+r8FiYkWJIcy2zPZc9AmH+yW5qimjm9G/b18apukN7VxoOg /l+bQS7MesC5Mx1L+L5FoJrFuO1I/aLusMcVWfYhqItMbnjlAYrsJC9f272ICs+TfkFxXj zkHxUDOA+fiQPSr4tjz+l/BcTqImPoNdFL/o2txxVX0420AoVhU5MhLNagbhGm5UkIaE/9 ZejTSLZeciFx29OtAYQP8SAQuEasjixi2cmlvRTu84ysiou6S+nYN/e9G3jHEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=GPA3lKHG; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=GPA3lKHG; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3B868386DF X-Spam-Score: 6.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2Kypvj2CxcyW * gnu/packages/python-web.scm (python-scrapy): New variable. --- gnu/packages/python-web.scm | 60 +++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index da3f9cf980..f4ff4f494c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6519,3 +6519,63 @@ by asyncio.") HTML and XML using XPath and CSS selectors, optionally combined with regular expressions.") (license license:bsd-3))) + +(define-public python-scrapy + (package + (name "python-scrapy") + (version "2.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Scrapy" version)) + (sha256 + (base32 "09rqalbwcz9ix8h0992mzjs50sssxsmmh8w9abkrqchgknjmbzan")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" + ;; requires network access + "--ignore" "tests/test_command_check.py" + "-k" + (string-append + ;; Failing for unknown reasons + "not test_server_set_cookie_domain_suffix_public_private" + " and not test_user_set_cookie_domain_suffix_public_private" + " and not test_pformat") + "tests"))))))) + (propagated-inputs + (list python-botocore ; Optional: For S3FeedStorage class. + python-cryptography + python-cssselect + python-itemadapter + python-itemloaders + python-lxml + python-parsel + python-protego + python-pydispatcher + python-pyopenssl + python-queuelib + python-service-identity + python-setuptools + python-tldextract + python-twisted + python-w3lib + python-zope-interface)) + (native-inputs + (list python-pytest + python-pyftpdlib + python-sybil + python-testfixtures + python-uvloop + )) + (home-page "https://scrapy.org") + (synopsis "A high-level Web Crawling and Web Scraping framework") + (description "Scrapy is a fast high-level web crawling and web +scraping framework, used to crawl websites and extract structured data +from their pages. It can be used for a wide range of purposes, from data +mining to monitoring and automated testing.") + (license license:bsd-3))) -- 2.30.2