From patchwork Tue Apr 23 08:54:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Markku Korkeala X-Patchwork-Id: 63313 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 96AF127BBE2; Tue, 23 Apr 2024 14:10:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 303B227BBE9 for ; Tue, 23 Apr 2024 14:10:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzFuN-0003KG-KK; Tue, 23 Apr 2024 09:10:03 -0400 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 1rzFuH-00031M-Ht for guix-patches@gnu.org; Tue, 23 Apr 2024 09:09:58 -0400 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 1rzFuF-0000O3-9J; Tue, 23 Apr 2024 09:09:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rzFuS-0004WM-U2; Tue, 23 Apr 2024 09:10:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70483] [PATCH v2 1/1] gnu: Add python-robotframework-requests. References: <17b3a3b413725d7186ed7905c5c761f86b73d986.1713525337.git.markku.korkeala@iki.fi> In-Reply-To: <17b3a3b413725d7186ed7905c5c761f86b73d986.1713525337.git.markku.korkeala@iki.fi> Resent-From: Markku Korkeala Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 23 Apr 2024 13:10:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70483 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70483@debbugs.gnu.org Cc: Markku Korkeala , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 70483-submit@debbugs.gnu.org id=B70483.171387775816840 (code B ref 70483); Tue, 23 Apr 2024 13:10:08 +0000 Received: (at 70483) by debbugs.gnu.org; 23 Apr 2024 13:09:18 +0000 Received: from localhost ([127.0.0.1]:52084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rzFtY-0004MW-O2 for submit@debbugs.gnu.org; Tue, 23 Apr 2024 09:09:17 -0400 Received: from mail.kapsi.fi ([2001:67c:1be8::25]:39745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rzC0T-00011e-80 for 70483@debbugs.gnu.org; Tue, 23 Apr 2024 05:00:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=iF3RW7gie1IjY0pOQDaF9++e2V0jb8rSI/7TZu/5H/k=; b=ty9lepuUsRMfpJWWBUly+HQk3Z /tIJs/Y2gPY1hGDaUajOfdZlm8qRrpt1VMreYpw7jMuZjcjCKCzoND2zpnYCsEbYCq85c76wLth6x ZaiFk+hp9x5nUue4OgBzRnnVMq64JsP0wfnn8LfGx7J5PgAK/Dhhs8kmmEsPtYY9K4PUgtXAeUlLR kPPCsM9gKIIXv+fV/5ZL4q5T8jr/abSWFPawZ0rXF36oZaCXcWBr8Qe3BA3Eyr1fxfYH+1tZagpuH skq0PLkBKh8kKDO6YhOdlMcf1pR+Ft5juOyUHGG+LP87zoyqdBobJshOoqSlwgA6iuM82pwe01BK+ NFE/EUhA==; Received: from 91-154-84-40.elisa-laajakaista.fi ([91.154.84.40] helo=localhost.localdomain) by mail.kapsi.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rzC09-007L5C-0d; Tue, 23 Apr 2024 11:59:45 +0300 From: Markku Korkeala Date: Tue, 23 Apr 2024 11:54:17 +0300 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 91.154.84.40 X-SA-Exim-Mail-From: markku.korkeala@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-Mailman-Approved-At: Tue, 23 Apr 2024 09:09:10 -0400 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-robotframework-requests): New variable. Change-Id: I01d814d1a9e20d26e9bfa4a0a77ba91577da2bd8 --- Improved the patch according to feedback: Moved package to gnu/packages/python-web.scm Switched to pyproject-build-system Simplified the test phase Removed duplicate and unnecessary dependencies Fixed description identation gnu/packages/python-web.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) base-commit: ee9cf4f00bcb8966fa125787e8534580b270bb99 diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 5a532f8460..2d0695d5a4 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -64,6 +64,7 @@ ;;; Copyright © 2024 Troy Figiel ;;; Copyright © 2024 Sharlatan Hellseher ;;; Copyright © 2024 normally_js +;;; Copyright © 2024 Markku Korkeala ;;; ;;; This file is part of GNU Guix. ;;; @@ -3763,6 +3764,33 @@ (define-public python-requests-ftp adapter for use with the Requests library.") (license license:asl2.0))) +(define-public python-robotframework-requests + (package + (name "python-robotframework-requests") + (version "0.9.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/MarketSquare/robotframework-requests") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "077j8p5k41v53slyv8h32fcmqfi7m6z3r4gmyqqaawm5szfmy61m")))) + (build-system pyproject-build-system) + (arguments + '(#:test-flags '("-v" "utests/"))) + (propagated-inputs (list python-requests python-robotframework)) + (native-inputs (list python-flask python-mock python-pytest + python-pytest-cov)) + (home-page "https://github.com/MarketSquare/robotframework-requests") + (synopsis "Robot Framework keyword library wrapper around requests") + (description + "RequestsLibrary is a Robot Framework library aimed to provide HTTP +api testing functionalities by wrapping the well known Python Requests +Library.") + (license license:expat))) + (define-public python-aioftp (package (name "python-aioftp")