From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 ADBFCBVDYGLdDgEAbAwnHQ (envelope-from ) for ; Wed, 20 Apr 2022 19:29:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QFwuCBVDYGJzjQAA9RJhRA (envelope-from ) for ; Wed, 20 Apr 2022 19:29:57 +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 E96B5D48B for ; Wed, 20 Apr 2022 19:29:56 +0200 (CEST) Received: from localhost ([::1]:37262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhE9M-0000aU-2V for larch@yhetil.org; Wed, 20 Apr 2022 13:29:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhE8W-0007Qm-T8 for guix-patches@gnu.org; Wed, 20 Apr 2022 13:29:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhE8W-0003Cv-Ky for guix-patches@gnu.org; Wed, 20 Apr 2022 13:29:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhE8W-0006Jl-IA for guix-patches@gnu.org; Wed, 20 Apr 2022 13:29:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55044] [PATCH 5/8] gnu: Add python-protego. 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.165047571724174 (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]:47347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhE84-0006Hk-QN for submit@debbugs.gnu.org; Wed, 20 Apr 2022 13:28:37 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhE7y-0006Gi-4t for 55044@debbugs.gnu.org; Wed, 20 Apr 2022 13:28:30 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 92308240026 for <55044@debbugs.gnu.org>; Wed, 20 Apr 2022 19:28:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1650475704; bh=ZLS20MMtillwfib84JN1o55ZqWi1W1yB1agl/OcUdhk=; h=From:To:Cc:Subject:Date:From; b=J8ktXdD5DjlQM/vpbljvRmgOoh6o+Wqgt8tMPJ6j2LNJR4SYl91AVp0iBv6aYzwJF RwDoBmiz2m+NfNY6u7cQbPx8JkLNJ6yFhkj5TZ17Y+b6495ivIALiMPaFgQ914GkiQ xDPIjDUHMHG6FnDHlQwg51vpRClZdP6lXgqGBJwdc4VcJ2xnXKK/PKb0i2Ol3h8mxQ qAj9LvNKosDMYD+1Kh3LJZwCUxWnpW+twmTl1UALakuF/x/TuiDmQGAna8KO11rKfu zbIe8/ODeME3nC8VUGyuhdpZt14RSdXIVo4NK156dyeZftVQ84XLNiPAOlXXj0H5CR jVy801tEwGH1Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kk71N0drWz6tmJ; Wed, 20 Apr 2022 19:28:24 +0200 (CEST) From: Felix Gruber Date: Wed, 20 Apr 2022 17:28:01 +0000 Message-Id: <20220420172804.8849-5-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=1650475797; 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=r4RXHZ25h4aez21/UfSGTn7lx5/xdpWNKKGTnrp8VME=; b=Es/27vd3E/FCYs/O1XShTjl5oNtgWev8UJRw9gptvmHLweHBqAm/SwuBi2RVxk13XKuNPU LW0UVFlublITNas5qKceFlE/dnZpjpV5B5BfIxSkU5ftSlt7FyVoYdXEzAeYxTP3GeO5ZW yGhLOXjrAkL1ABE2ZbJII9ltI5u6MZng1MeNL1gwAOD51CabunRlwoE2RaB8AuxJQtYhTm An8Jbv69KioPQsR1rMf5WYnsPpAyC5ligNjuTfRuznaknN9jD0zzB2ZEdqjsVYBvXS3FIv CEKp6Cw1ZRQmkexW2zaM7QRueDV9cKBvPEwke/Jd7PxmYQPS/94/FSBhtuBfZA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650475797; a=rsa-sha256; cv=none; b=Cbl1DsBjl+nGBUdSozN+TCx9U1+H/TYWzfkE/EmjeM6o1zOgevk0WqkX/mmK4XGTKcpaPf A1bTzGXM/3uJokv8XQFB4CjheomzHt2Xf9w9uOdoqt2fO1TU3UpTW4Zvf0NgA9mab5IGga pKeTtz4+GkDx9YYh/EpIbaNrq7qrqqTclPeAP9bfDjE7acqqUuey5R0HdFX6DPKgSDUJ8j hrZalerzxomUiM0ns+EEA+kYfvh37aOzyfXDy+br/cWMkmPqX+Czop+2+YIjhCwLUjgZeE xzmsKwHJFi18BPOc2kpCB0652Yimjhx4c4GDv9M/45IiJ0xditkXdF3OfR/s/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=J8ktXdD5; 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=J8ktXdD5; 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: E96B5D48B X-Spam-Score: 7.26 X-Migadu-Scanner: scn1.migadu.com X-TUID: WT+QcUQubFdh * gnu/packages/python-web.scm (python-protego): New variable. --- gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7e333916b6..05104f8fe2 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6466,3 +6466,30 @@ as Flask.") "This package provides a Python JSON-RPC 2.0 protocol and server powered by asyncio.") (license license:expat))) + +(define-public python-protego + (package + (name "python-protego") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Protego" version)) + (sha256 + (base32 "1wigcjyhz8zbk562zhgfbkm733dcn65j1swzvki79dys0i1nsrnz")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest"))))))) + (propagated-inputs (list python-six)) + (native-inputs (list python-pytest)) + (home-page "https://github.com/scrapy/protego") + (synopsis + "Pure-Python robots.txt parser with support for modern conventions") + (description + "Pure-Python robots.txt parser with support for modern conventions.") + (license license:bsd-3))) -- 2.30.2