From patchwork Sat Apr 20 08:41:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Markku Korkeala X-Patchwork-Id: 63179 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 A1AED27BBE9; Sat, 20 Apr 2024 16:56:40 +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 E665927BBE2 for ; Sat, 20 Apr 2024 16:56:37 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryD4l-0003QN-GG; Sat, 20 Apr 2024 11:56:28 -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 1ryC0P-0004iT-H5 for guix-patches@gnu.org; Sat, 20 Apr 2024 10:47:54 -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 1ryC0P-0000vJ-8u; Sat, 20 Apr 2024 10:47:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryC0X-0007Rf-Vw; Sat, 20 Apr 2024 10:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70483] [PATCH 1/1] gnu: Add python-robotframework-requests. 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: Sat, 20 Apr 2024 14:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 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-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by submit@debbugs.gnu.org id=B.171362447628550 (code B ref -1); Sat, 20 Apr 2024 14:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Apr 2024 14:47:56 +0000 Received: from localhost ([127.0.0.1]:36662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryC0O-0007Q8-SQ for submit@debbugs.gnu.org; Sat, 20 Apr 2024 10:47:55 -0400 Received: from lists.gnu.org ([2001:470:142::17]:57464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ry6J3-00054o-1J for submit@debbugs.gnu.org; Sat, 20 Apr 2024 04:42:48 -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 1ry6Ii-0006es-Gp for guix-patches@gnu.org; Sat, 20 Apr 2024 04:42:24 -0400 Received: from mail.kapsi.fi ([2001:67c:1be8::25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ry6If-0004s0-Ve for guix-patches@gnu.org; Sat, 20 Apr 2024 04:42:24 -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=N+fMNMcohBEG3kyMz0XXIjM2ZnVYZnIADnMhIpDoBu4=; b=ZLn8IPwgCV6+CaHNAvroqpBHya L1eTn8/r4M0P8z8vkUM0hPGGodX+zMTG+9rWNlv6rdYFMoD0fKLil2qUXWMXRUImQftoKiE0vCDrF fDmOUxZ6xuTkShMdiaq7bBtSWZCSWTLCsPBLXZbCXRvTXrienU002fwag+ehXONG9n0HcxUW3FJnl 9xqZND2aOyUzEZVQOv3wk7OYMyckUumm7BFfRXaYA6rgkAqDhXHA5ho3kv7jL9utIcaBdGJjVYkDw lRwZa8O4v/hwb8nEmYQgg9dkd0y1nK4G0MwFk8+NYWOL8FZ6XUNcuqtUSwvMMkk3x8Ojbc1PGSBUv BEo6rrww==; 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 1ry6IO-00CS2I-2L; Sat, 20 Apr 2024 11:42:04 +0300 From: Markku Korkeala Date: Sat, 20 Apr 2024 11:41:15 +0300 Message-ID: <17b3a3b413725d7186ed7905c5c761f86b73d986.1713525337.git.markku.korkeala@iki.fi> 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 Received-SPF: pass client-ip=2001:67c:1be8::25; envelope-from=nightwatch@kapsi.fi; helo=mail.kapsi.fi X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 20 Apr 2024 10:47:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 20 Apr 2024 11:56:24 -0400 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-xyz.scm (python-robotframework-requests): New variable. Change-Id: I01d814d1a9e20d26e9bfa4a0a77ba91577da2bd8 --- gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) base-commit: ee9cf4f00bcb8966fa125787e8534580b270bb99 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bac90b1e07..ff85b3f2bf 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -152,6 +152,7 @@ ;;; Copyright © 2024 Adriel Dumas--Jondeau ;;; Copyright © 2024 Navid Afkhami ;;; Copyright © 2024 TakeV +;;; Copyright © 2024 Markku Korkeala ;;; ;;; This file is part of GNU Guix. ;;; @@ -7417,6 +7418,43 @@ (define-public python-robotframework-seleniumscreenshots or for visual regression testing purposes.") (license license:bsd-3))) +(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 python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (invoke "pytest" "-v" "utests/"))))))) + (propagated-inputs (list python-requests python-robotframework)) + (native-inputs (list python-flask + python-flask + python-coverage + python-flake8 + python-mock + python-flake8 + 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-rstr (package (name "python-rstr")