From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qAndKu1CYGLgCAEAbAwnHQ (envelope-from ) for ; Wed, 20 Apr 2022 19:29:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sJHaKe1CYGJ4SwAAG6o9tA (envelope-from ) for ; Wed, 20 Apr 2022 19:29:17 +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 68E39D817 for ; Wed, 20 Apr 2022 19:29:17 +0200 (CEST) Received: from localhost ([::1]:33776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhE8h-0007Wn-Um for larch@yhetil.org; Wed, 20 Apr 2022 13:29:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhE8X-0007Rv-Av for guix-patches@gnu.org; Wed, 20 Apr 2022 13:29:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhE8X-0003D2-1B 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 1nhE8W-0006Js-UV for guix-patches@gnu.org; Wed, 20 Apr 2022 13:29:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55044] [PATCH 6/8] gnu: Add python-parsel. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Apr 2022 17:29:04 +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.165047571724181 (code B ref 55044); Wed, 20 Apr 2022 17:29:04 +0000 Received: (at 55044) by debbugs.gnu.org; 20 Apr 2022 17:28:37 +0000 Received: from localhost ([127.0.0.1]:47349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhE85-0006Hr-3t for submit@debbugs.gnu.org; Wed, 20 Apr 2022 13:28:37 -0400 Received: from mout02.posteo.de ([185.67.36.66]:36813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhE7z-0006Gk-HP for 55044@debbugs.gnu.org; Wed, 20 Apr 2022 13:28:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id EBE08240108 for <55044@debbugs.gnu.org>; Wed, 20 Apr 2022 19:28:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1650475706; bh=ZlBst97AcLtUvEDF77Sz7jf66slJfpqvkEyqWFWIaoI=; h=From:To:Cc:Subject:Date:From; b=QMJwXlTv/5s2imch1cdjPFjyD1PNxIiGUf2PuW8kgkxIr6PuJB0KI73nnRCAEOGCB XFrMNOFPEbRNyJdxIVcySauUaW58A4keOgRYheFEjvHw8mNEQijQrWKlpz0fyZ15Aq 5HCloX7Fja4UwdZQNcj/G6x31/RFTf+2a4+Zs8rCPUqQvFJhjZN7/ZIP58t515jf6r CvZi2tHR/4jW80kINSeuyrpfdDcyh6UhKhiUJvYE0zJox0UEr89mt8McrRtlXJczCc NYUgPyYxLLUYgyl54oumZgUYr1W6x3yY1wuOSwULGEjDamgl7c5wOhCMcONKY/sF7H ivFPXK0aGVf+A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kk71P3jRcz9rxR; Wed, 20 Apr 2022 19:28:25 +0200 (CEST) From: Felix Gruber Date: Wed, 20 Apr 2022 17:28:02 +0000 Message-Id: <20220420172804.8849-6-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=1650475757; 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=c++htsc4vgVuB36k44njJj5k3Dt/+tyzoTXDetZ7QJ0=; b=T26CFywyIrNbUDAXd1utnatw4ZBj7KPYIRWYMlqd+NVSSsfIqxvHdKgRDVCEJNHRmpvbc3 OI25A/+9sdR8LSCni/d0DpL8oQD2MghpSbiFJuNxYqoWk6zeVmiV/ECyZyA2iEM3jsR62e DysLhnQ1WKG8a2a81KS5XLEoaBDynrnwl1Atp4JiFnIcc9tUwXbrB+DXw6p3/b+9UAMVWF SGVzrcHnY7yvP8H0cNL6iSRbmbDeKpnEY4pCmV/NuhmpwiGL/C8fqQpkbKJa9anA4nScfS lu8g1wMbkaS0xbHxE33mT6MpLaV22tKzEGvfhHE5bd8QuKDL5Ju5Vts0mqdSZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650475757; a=rsa-sha256; cv=none; b=m1E5JwBPJF/rpDujjp0rvvn6MVzi3G6G7El1qC+1dQ0XvBXlUIVoEOhfmsdROaEDRFhHTP xoKkHte1sYiYWdNz03+42Me/zDxb6fqvPGTzVMyhTxrmMttTCW2r3bf9qLBtpFS41q04Hr YYS9b56a+hGWEUqLfTTK/VDDJr5FFrX6kclT+WkpnAmUmOw2qBnEqaJbBC9mmoPPl4J/VE 3zfBUAhUOY3uu5U3UGCvEWc5LLDWkN/L9qRhkeL5Dk2RibCChJwNVVaZMXhs0Yiy90oB7V RGIzjPW9waFZvWJI6gAQMhVgK7FJQOHiE0AFRgsJtjU0OAF4eNxn4K0Ojw7tIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=QMJwXlTv; 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: 7.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=QMJwXlTv; 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: 68E39D817 X-Spam-Score: 7.26 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3gcfqi5H841y * gnu/packages/python-web.scm (python-parsel): New variable. --- gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 05104f8fe2..da3f9cf980 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6493,3 +6493,29 @@ by asyncio.") (description "Pure-Python robots.txt parser with support for modern conventions.") (license license:bsd-3))) + +(define-public python-parsel + (package + (name "python-parsel") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "parsel" version)) + (sha256 + (base32 "0yawf9r3r863lwxj0n89i7h3n8xjbsl5b7n6xg76r68scl5yzvvh")))) + (build-system python-build-system) + (propagated-inputs + (list python-cssselect + python-lxml + python-six + python-w3lib)) + (native-inputs + (list python-pytest python-pytest-runner)) + (home-page "https://github.com/scrapy/parsel") + (synopsis + "Parsel is a library to extract data from HTML and XML using XPath and CSS selectors") + (description "Parsel is a library to extract and remove data from +HTML and XML using XPath and CSS selectors, optionally combined with +regular expressions.") + (license license:bsd-3))) -- 2.30.2