From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id OOLYOeP9kmWBfgEAkFu2QA (envelope-from ) for ; Mon, 01 Jan 2024 19:01:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id SBDnM+P9kmUY+AAAqHPOHw (envelope-from ) for ; Mon, 01 Jan 2024 19:01:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=pH679Fii; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704132067; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=tjc8Okq38ORqGXCEp/v1OfIUzhi9JMqw/rllWViiImQ=; b=YGGUYqAG6KwxOtRqkqnLSKL+hm8tIAn2ljnb4uMoL5xiFkfzVarwMZ4nr2ZQ9PXzOiK1v2 p9yW9To8X2PsOeUU3/copwMyMiDty0sJcC6Sbd0O30WeZ/jD6Z3EgS6xHTrcvcBCqW5Kpv u4yOOhS+LDaErKa/T+34daXSVRQgy0U9K7aqDQrWXREtl02QnxYgd6qAAZXE9NsfvC7d74 sM2jxBFmTy0ZvdHEag67bC2fhBLh1APW4aNVy+Fb72NuU/28dEvhySXgjL+mL47qRU7B6W BjXFxjfa3jdozPrJ9YZLWSWIJeawiby92z8KuIFIWaEL/Nct8TcmsFBidaklZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704132067; a=rsa-sha256; cv=none; b=ojiO+LYy9Hph3i9C2DxyQQwQgxjG3s8S+g7L8v1FCMUvAag/sCT/VkVgP4g1oPDjLrG/K1 2MjQuUs3+85OjUBrwn6TMYQKv/Oma/2WeSupITDBN/PVx1S0rikgiMDb2JmwvJf20xc0xx 4aJENpmsSpii6QH5KiBqJPf55LX+VD/R1vfpiewz9Os8VbOJpKXGkJ4Bqyp+ktolHooxHX 4Luo27AYRMc0P1FYPYhhXQqHa1KecOgl9qo9TWfPIBu2WlmJA2ErwrjVr8846/gUE5BOMJ h1uV96qG7eeU5r0xw4RkcKbSuwGpX8ih98c86azK048PWeqp0Rn9c6lilUGIhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=pH679Fii; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) 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 79BFF11D0F for ; Mon, 1 Jan 2024 19:01:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKMaz-0001ai-Ux; Mon, 01 Jan 2024 13:01:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKMay-0001aX-It for guix-patches@gnu.org; Mon, 01 Jan 2024 13:01:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKMay-00071U-Ar for guix-patches@gnu.org; Mon, 01 Jan 2024 13:01:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKMb0-0007Ef-6j for guix-patches@gnu.org; Mon, 01 Jan 2024 13:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68191] [PATCH] gnu: Add python-portend. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 Jan 2024 18:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68191 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68191@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170413201321957 (code B ref -1); Mon, 01 Jan 2024 18:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jan 2024 18:00:13 +0000 Received: from localhost ([127.0.0.1]:48720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKMaC-0005gZ-R9 for submit@debbugs.gnu.org; Mon, 01 Jan 2024 13:00:13 -0500 Received: from lists.gnu.org ([2001:470:142::17]:52260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKMaA-0005Dx-P1 for submit@debbugs.gnu.org; Mon, 01 Jan 2024 13:00:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKMa3-0001RB-9j for guix-patches@gnu.org; Mon, 01 Jan 2024 13:00:03 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rKMZz-0006ga-5A for guix-patches@gnu.org; Mon, 01 Jan 2024 13:00:03 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4T3kK45GNnz9sWy for ; Mon, 1 Jan 2024 18:59:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1704131992; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tjc8Okq38ORqGXCEp/v1OfIUzhi9JMqw/rllWViiImQ=; b=pH679FiixJi2lH36o+Bzov+4mFdZHMI3QbztT4xjiX5cVEtV4ogooYjvMqPa1f2F8su8vp GoGNMRcrxw92+l6mO5JrfhlhiPZaDRTQHHjOSAd/SoCrXhsRWtBTfbOTn7dciSIBJOa+DP 2rk0GaJVUPCUnB8gdKVZ01X+aF/8K8EFoVCCipFl8NgN/EJD+mMh+RhS+Jz0XFefyEHAW+ O0jtqIQVcg8oNYyvuKKaHsPc87q62ruh0IUQUqBfVgLtXaKMLSURASSPXCp4LYsR69obzz QXSvuesEaMBjBs2u1J5A0hSZUkA8GaSkX84oo2bVqEZkFHmCPa4cN6RtS8Mdvw== From: Troy Figiel Date: Mon, 1 Jan 2024 18:53:47 +0100 Message-ID: <87zfxpdje3.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=80.241.56.152; envelope-from=troy@troyfigiel.com; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.25 X-Spam-Score: -5.25 X-Migadu-Queue-Id: 79BFF11D0F X-Migadu-Scanner: mx11.migadu.com X-TUID: IWHiVdAk5Ph2 * gnu/packages/python-web.scm (python-portend): New variable. --- gnu/packages/python-web.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 06b578dac7..8eed01c3e2 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -60,6 +60,7 @@ ;;; Copyright =C2=A9 2022 Baptiste Strazzulla ;;; Copyright =C2=A9 2023 John Kehayias ;;; Copyright =C2=A9 2023 Ivan Vilata-i-Balaguer +;;; Copyright =C2=A9 2024 Troy Figiel ;;; ;;; This file is part of GNU Guix. ;;; @@ -201,6 +202,38 @@ (define-public python-lazr-uri reusable library for parsing, manipulating, and generating URIs.") (license license:lgpl3))) =20 +(define-public python-portend + (package + (name "python-portend") + (version "3.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "portend" version)) + (sha256 + (base32 "0wpvixicc3d0lack65554mvdrrckkn18p1xcgiv9v5cwq59a6l2j")))) + (build-system pyproject-build-system) + ;; Do not test pyproject.toml with python-pytest-checkdocs as it tries= to + ;; download dependencies. + (arguments + '(#:test-flags '("-k" "not project"))) + (propagated-inputs (list python-tempora)) + ;; TODO: Add python-pytest-ruff to native-inputs once it has been pack= aged. + (native-inputs (list python-pytest + python-pytest-black + python-pytest-checkdocs + python-pytest-cov + python-pytest-enabler + python-pytest-mypy)) + (home-page "https://github.com/jaraco/portend") + (synopsis "Monitor TCP ports for bound or unbound states") + (description + "@code{python-portend} can be used to monitor TCP ports for bound or +unbound states. For example, waiting for a port to be occupied or freed +within a set timeout. @code{python-portend} can also be used directly from +the command line.") + (license license:expat))) + (define-public python-prawcore (package (name "python-prawcore") base-commit: ff586211aaf0e3b468ff3cedc5ede18e8ab529dd --=20 2.40.1